Changeset 5097 in ntrip for trunk/GnssCenter/inpedit/panel.cpp
- Timestamp:
- Apr 12, 2013, 4:01:55 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/inpedit/panel.cpp
r5000 r5097 26 26 //////////////////////////////////////////////////////////////////////////// 27 27 t_panel::t_panel(const QString& line, QTextStream& inStream, 28 QMap<QString, t_keyword*>* keywords) : QScrollArea(0) { 28 QMap<QString, t_keyword*>* keywords, 29 QStringList& staticLines) : QScrollArea(0) { 29 30 30 31 _keywords = keywords; … … 44 45 this->setWidget(_page); 45 46 46 read(line, inStream );47 read(line, inStream, staticLines); 47 48 48 49 setWidgetResizable(true); … … 56 57 // Read Panel 57 58 //////////////////////////////////////////////////////////////////////////// 58 void t_panel::read(QString line, QTextStream& inStream) { 59 void t_panel::read(QString line, QTextStream& inStream, QStringList& staticLines) { 60 staticLines << line; 59 61 int iRow = -1; 60 62 while (inStream.status() == QTextStream::Ok && !inStream.atEnd()) { 61 63 line = inStream.readLine().trimmed(); 64 staticLines << line; 62 65 if (line.isEmpty() || line.indexOf("END_PANEL") != -1) { 63 66 break;
Note:
See TracChangeset
for help on using the changeset viewer.