Changeset 5105 in ntrip
- Timestamp:
- Apr 12, 2013, 4:56:38 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/inpedit/keyword.cpp
r5104 r5105 163 163 if (widgetType == "checkbox") { 164 164 QCheckBox* chBox = static_cast<QCheckBox*>(_widget); 165 if (chBox->isChecked()) { 166 values << "1"; 167 } 168 else { 169 values << "0"; 170 } 165 171 } 166 172 else if (widgetType == "combobox") { 167 173 QComboBox* cmbBox = static_cast<QComboBox*>(_widget); 174 values << cmbBox->currentText(); 168 175 } 169 176 else if (widgetType == "lineedit") { 170 177 t_lineEdit* lineEdit = static_cast<t_lineEdit*>(_widget); 178 values << lineEdit->text(); 171 179 } 172 180 else if (widgetType == "radiobutton") { 173 181 QRadioButton* radButt = static_cast<QRadioButton*>(_widget); 182 if (radButt->isChecked()) { 183 values << "1"; 184 } 185 else { 186 values << "0"; 187 } 174 188 } 175 189 else if (widgetType == "selwin") {
Note:
See TracChangeset
for help on using the changeset viewer.