摘要:
open File dialog 方案一: QDialog,会根据输入自动匹配 #include <QFileDialog> #include <QFileSystemModel> #include <QKeyEvent> #include <QLineEdit> #include <QSortFi 阅读全文
posted @ 2025-05-14 21:09
卑以自牧lq
阅读(7)
评论(0)
推荐(0)
摘要:
make cell form 头文件: #include <QLineEdit> #include <QCheckBox> #include <QRegExpValidator> #include <QPushButton> #include <QDoubleSpinBox> #include <Q 阅读全文
posted @ 2025-05-14 17:52
卑以自牧lq
阅读(2)
评论(0)
推荐(0)
摘要:
qt 自定义控件 make cell 功能 toolButton 的样式: Qt::Alignment alignments[9] = { Qt::AlignTop | Qt::AlignLeft, Qt::AlignTop | Qt::AlignHCenter, Qt::AlignTop | Qt 阅读全文
posted @ 2025-05-14 15:16
卑以自牧lq
阅读(8)
评论(0)
推荐(0)
摘要:
qt gui 相关的类 QWidget QWidget 是 Qt 框架中所有用户界面组件的基类,用于创建 图形用户界面(GUI) 的窗口、对话框、按钮等可视化元素。它直接继承自 QObject 和 QPaintDevice,是 Qt GUI 模块的基石 QDialog 继承自 QWidget 何时使 阅读全文
posted @ 2025-05-14 15:05
卑以自牧lq
阅读(3)
评论(0)
推荐(0)