Qt Note
xiaohai13147
这个作者很懒,什么都没留下…
展开
-
Qt Study Note(5-2)
Event() : 事件处理器,每一个都对应一种类型的事件 When invoking paintEvent() In widget first displaying , system will generate a paint event In adjusting widget size, system will also generate a paint event In widget ...转载 2018-10-22 21:20:44 · 134 阅读 · 0 评论 -
Qt Study Note(5-1)
Launch User-define Widget 1. User-define Qt Widget If we need more properties or member functions, a good method is subclass corresponded Widget Class // 十六进制微调框的设计 #ifndef HEXSPINBOX_H_ #define HEX...转载 2018-10-20 21:52:13 · 121 阅读 · 0 评论 -
Qt Study Note(1)
Introduce Qt Hello Qt #include <QApplication> #include <QLabel> int main(int argc, char *argv[]) { QApplication app(argc, argv); /* create an QApplication object, manage all sour...转载 2018-10-25 17:32:38 · 162 阅读 · 0 评论 -
Qt Study Note(5-3)
Integrate User-define Widget in Qt Designer Two Methods promotion(改进法) plugin(插件法) promotion : Select an existed widget in Qt Designer (has similar interfaces with our own widget), then write co...转载 2018-10-23 20:39:18 · 158 阅读 · 0 评论 -
Qt Study Note(2-1)
Launch a Dialog Subclass QDialog(设计一个查找对话框) #ifndef FINDDIALOG_H #define FINDDIALOG_H #include &lt;QDialog&gt;// In Qt's dialog, QDialog is the base class, // you first put it in headfile /* f...转载 2018-10-26 09:36:27 · 109 阅读 · 0 评论 -
Qt Study Note(5-4)
Double Buffering(双缓冲) 双缓冲是一种GUI编程技术,转载 2018-10-24 21:13:27 · 143 阅读 · 0 评论