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