摘要: QT += core gui greaterThan(QT_MAJOR_VERSION, 4): QT += widgets CONFIG += c++17 # You can make your code fail to compile if it uses deprecated APIs. # 阅读全文
posted @ 2024-07-23 17:34 雾枫 阅读(6) 评论(0) 推荐(0) 编辑
摘要: // 添加一个垂直方向的分割线 QFrame *line = new QFrame(); line->setFrameShape(QFrame::HLine); line->setFrameShadow(QFrame::Sunken); m_mainLayout->addWidget(line); 阅读全文
posted @ 2024-07-23 13:49 雾枫 阅读(24) 评论(0) 推荐(0) 编辑