propertiesdialog.h

来自「《C++ GUI QT 3编程》 ISBN/ISSN:7-81077-731」· C头文件 代码 · 共 89 行

H
89
字号
/****************************************************************************** Form interface generated from reading ui file 'propertiesdialog.ui'**** Created: 星期四 七月 19 15:06:11 2007**      by: The User Interface Compiler ($Id: qt/main.cpp   3.3.4   edited Nov 24 2003 $)**** WARNING! All changes made in this file will be lost!****************************************************************************/#ifndef PROPERTIESDIALOG_H#define PROPERTIESDIALOG_H#include <qvariant.h>#include <qdialog.h>#include <qcanvas.h>class QVBoxLayout;class QHBoxLayout;class QGridLayout;class QSpacerItem;class QGroupBox;class QSpinBox;class QLabel;class QFrame;class QPushButton;class QLineEdit;class PropertiesDialog : public QDialog{    Q_OBJECTpublic:    PropertiesDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );    ~PropertiesDialog();    QGroupBox* rectGeometryGroupBox;    QSpinBox* xSpinBox;    QLabel* widthLabel;    QLabel* xLabel;    QSpinBox* widthSpinBox;    QSpinBox* heightSpinBox;    QLabel* heightLabel;    QSpinBox* ySpinBox;    QLabel* yLabel;    QGroupBox* lineGeometryGroupBox;    QSpinBox* x1SpinBox;    QSpinBox* y1SpinBox;    QSpinBox* x2SpinBox;    QLabel* x1Label;    QSpinBox* y2SpinBox;    QLabel* y2Label;    QLabel* y1Label;    QLabel* x2Label;    QGroupBox* attributesGroupBox;    QLabel* lineColorLabel;    QLabel* textLabel;    QLabel* fillColorLabel;    QFrame* lineColorSample;    QPushButton* lineColorButton;    QFrame* fillColorSample;    QPushButton* fillColorButton;    QLineEdit* textLineEdit;    QPushButton* okButton;    QPushButton* cancelButton;public slots:    virtual void chooseLineColor();    virtual void chooseFillColor();    virtual void exec(QCanvasItem *item);protected:    QVBoxLayout* PropertiesDialogLayout;    QGridLayout* rectGeometryGroupBoxLayout;    QSpacerItem* rectSpacer;    QGridLayout* lineGeometryGroupBoxLayout;    QSpacerItem* lineSpacer;    QGridLayout* attributesGroupBoxLayout;    QHBoxLayout* lineColorLayout;    QHBoxLayout* fillColorLayout;    QHBoxLayout* buttonLayout;    QSpacerItem* buttonSpacer;protected slots:    virtual void languageChange();};#endif // PROPERTIESDIALOG_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?