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,
|
---|
[5097] | 13 | QMap<QString, t_keyword*>* keywords,
|
---|
| 14 | QStringList& staticLines);
|
---|
[4857] | 15 | ~t_panel();
|
---|
[4823] | 16 | bool ok() const {return _ok;}
|
---|
| 17 |
|
---|
| 18 | private:
|
---|
[5097] | 19 | void read(QString line, QTextStream& inStream,
|
---|
| 20 | QStringList& staticLines);
|
---|
[4832] | 21 | void addWidget(QWidget* widget, int row, int col,
|
---|
| 22 | int rSpan, int cSpan, const QString& toolTip = "");
|
---|
[4825] | 23 |
|
---|
[4872] | 24 | bool _ok;
|
---|
| 25 | QGridLayout* _layout;
|
---|
| 26 | QWidget* _page;
|
---|
| 27 | QMap<QString, t_keyword*>* _keywords;
|
---|
[4823] | 28 | };
|
---|
| 29 |
|
---|
[5000] | 30 | } // namespace GnssCenter
|
---|
[4823] | 31 |
|
---|
| 32 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.