Changeset 5091 in ntrip for trunk/GnssCenter/inpedit/keyword.cpp
- Timestamp:
- Apr 12, 2013, 2:38:03 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/inpedit/keyword.cpp
r5000 r5091 66 66 QString descKey = rx.cap(1).trimmed(); 67 67 QString descVal = rx.cap(2).trimmed(); 68 _desc[descKey] = descVal; 68 69 if (descKey == "widget") { 69 70 if (descVal == "checkbox") { … … 113 114 114 115 if (_type == checkbox) { 115 _widget = new QCheckBox(); 116 QCheckBox* chBox = new QCheckBox(); 117 if (_values.size() && _values[0] == "1") { 118 chBox->setChecked(true); 119 } 120 _widget = chBox; 116 121 } 117 122 else if (_type == combobox) { 118 _widget = new QComboBox(); 123 QComboBox* cmbBox = new QComboBox(); 124 _widget = cmbBox; 119 125 } 120 126 else if (_type == lineedit) {
Note:
See TracChangeset
for help on using the changeset viewer.