⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 palette.h

📁 Linux窗口程序设计__Qt4精彩实例分析上面的源代码第二部分.以循序渐进的方式进行源代码,包括Qt4下面的图形与图画对话框QMainWindow的源代码.
💻 H
字号:
#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -