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

📄 expensedialog.h

📁 QT4 gui programming的随书光盘
💻 H
字号:
#ifndef EXPENSEDIALOG_H#define EXPENSEDIALOG_H#include <QDialog>#include "expense.h"class QAction;class QComboBox;class QDateEdit;class QDoubleSpinBox;class QLabel;class ExpenseDialog : public QDialog{    Q_OBJECTpublic:    ExpenseDialog(const Expense &expense, QWidget *parent = 0);    Expense expense() const { return currentExpense; }public slots:    void accept();private:    void createActions();    void createMenuOrToolBar();    Expense currentExpense;    QLabel *dateLabel;    QLabel *descLabel;    QLabel *amountLabel;    QDateEdit *dateEdit;    QComboBox *descComboBox;    QDoubleSpinBox *amountSpinBox;    QAction *okAction;    QAction *cancelAction;};#endif

⌨️ 快捷键说明

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