1 #ifndef QDIALOGS_H
2 #define QDIALOGS_H
3 
4 #include <QDialog>
5 #include <QDialogButtonBox>
6 #include <QLabel>
7 #include <QLineEdit>
8 #include <QVBoxLayout>
9 
10 class QWidget;
11 
12 
13 //////////////////////////////////////////////////////////////////////
14 
15 
16 class QInputOctalDialog : public QDialog
17 {
18     Q_OBJECT
19 
20 public:
21     QInputOctalDialog(QWidget * parent, const QString & title, const QString & prompt, quint16 * value);
22 
23 public slots:
24     virtual void accept();
25 
26 private:
27     quint16 * m_result;
28     QVBoxLayout m_layout;
29     QLabel m_label;
30     QLineEdit m_edit;
31     QWidget m_spacer;
32     QDialogButtonBox m_buttons;
33 };
34 
35 
36 //////////////////////////////////////////////////////////////////////
37 
38 
39 class QAboutDialog : public QDialog
40 {
41     Q_OBJECT
42 
43 public:
44     QAboutDialog(QWidget * parent);
45 };
46 
47 
48 //////////////////////////////////////////////////////////////////////
49 #endif // QDIALOGS_H
50