source: ntrip/trunk/GnssCenter/inpedit/panel.h

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