Ilya Moiseenko | 18c8a13 | 2013-10-24 01:52:52 -0700 | [diff] [blame] | 1 | /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil -*- */ |
| 2 | /* |
| 3 | * @copyright See LICENCE for copyright and license information. |
| 4 | * |
| 5 | * @author Ilya Moiseenko <iliamo@ucla.edu> |
| 6 | */ |
| 7 | |
| 8 | #include <QDialog> |
| 9 | #include <QLabel> |
| 10 | #include <QDialogButtonBox> |
| 11 | #include <QPushButton> |
| 12 | |
| 13 | #ifndef QUITDIALOG_H |
| 14 | #define QUITDIALOG_H |
| 15 | |
| 16 | class QuitDialog : public QDialog |
| 17 | { |
| 18 | Q_OBJECT |
| 19 | |
| 20 | public: |
| 21 | QuitDialog(QWidget *parent = 0); |
| 22 | |
| 23 | private: |
| 24 | QLabel *question; |
| 25 | QLabel *information; |
| 26 | QDialogButtonBox *buttonBox; |
| 27 | QPushButton *confirmButton; |
| 28 | QPushButton *noButton; |
| 29 | QPushButton *cancelButton; |
| 30 | }; |
| 31 | |
| 32 | #endif // QUITDIALOG_H |