Changeset 5107 in ntrip
- Timestamp:
- Apr 12, 2013, 5:08:36 PM (12 years ago)
- Location:
- trunk/GnssCenter/inpedit
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/inpedit/keyword.cpp
r5106 r5107 143 143 } 144 144 else if (widgetType == "uniline") { 145 _widget = new t_uniLine(fldMask, this);145 _widget = new t_uniLine(fldMask, _origValues); 146 146 } 147 147 -
trunk/GnssCenter/inpedit/uniline.cpp
r5000 r5107 66 66 // Constructor 67 67 //////////////////////////////////////////////////////////////////////////////// 68 t_uniLine::t_uniLine(const QString& fldMask, const t_keyword* keyword,68 t_uniLine::t_uniLine(const QString& fldMask, const QStringList& values, 69 69 QWidget* parent) : QTableWidget(parent) { 70 70 … … 73 73 static const QIcon plusIcon(plusXPM); 74 74 static const QIcon minusIcon(minusXPM); 75 76 _keyword = keyword;77 const QStringList& values = _keyword->values();78 75 79 76 setRowCount(values.size()); -
trunk/GnssCenter/inpedit/uniline.h
r5000 r5107 12 12 13 13 public: 14 t_uniLine(const QString& fldMask, const t_keyword* keyword,14 t_uniLine(const QString& fldMask, const QStringList& values, 15 15 QWidget* parent = 0); 16 16 ~t_uniLine(); … … 20 20 21 21 private: 22 const t_keyword* _keyword;23 22 }; 24 23
Note:
See TracChangeset
for help on using the changeset viewer.