Line | |
---|
1 | #ifndef GnssCenter_PANEL_H
|
---|
2 | #define GnssCenter_PANEL_H
|
---|
3 |
|
---|
4 | #include <QtGui>
|
---|
5 |
|
---|
6 | namespace GnssCenter {
|
---|
7 |
|
---|
8 | class t_keyword;
|
---|
9 |
|
---|
10 | class t_panel : public QScrollArea {
|
---|
11 | public:
|
---|
12 | t_panel(const QString& line, QTextStream& inStream,
|
---|
13 | QMap<QString, t_keyword*>* keywords);
|
---|
14 | ~t_panel();
|
---|
15 | bool ok() const {return _ok;}
|
---|
16 |
|
---|
17 | private:
|
---|
18 | void read(QString line, QTextStream& inStream);
|
---|
19 | void addWidget(QWidget* widget, int row, int col,
|
---|
20 | int rSpan, int cSpan, const QString& toolTip = "");
|
---|
21 |
|
---|
22 | bool _ok;
|
---|
23 | QGridLayout* _layout;
|
---|
24 | QWidget* _page;
|
---|
25 | QMap<QString, t_keyword*>* _keywords;
|
---|
26 | };
|
---|
27 |
|
---|
28 | } // namespace GnssCenter
|
---|
29 |
|
---|
30 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.