palette.h
来自「Linux窗口程序设计__Qt4精彩实例分析上面的源代码第二部分.以循序渐进的方」· C头文件 代码 · 共 42 行
H
42 行
#ifndef PALETTE_H#define PALETTE_H#include <QDialog>#include <QLabel>#include <QTextEdit>#include <QPushButton>#include <QComboBox>#include <QFrame>class Palette : public QDialog{ Q_OBJECTpublic: Palette(QWidget *parent = 0); void createCtrlFrame(); void createContentFrame(); void fillColorList(QComboBox *); public slots: void slotWindow(); void slotWindowText(); void slotButton(); void slotButtonText(); void slotBase(); private: QFrame *ctrlFrame; QFrame *contentFrame; QComboBox * windowComboBox; QComboBox * windowTextComboBox; QComboBox * buttonComboBox; QComboBox * buttonTextComboBox; QComboBox * baseComboBox;};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?