- Timestamp:
- Apr 11, 2012, 11:48:47 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/teqcdlg.cpp
r3830 r3831 46 46 using namespace std; 47 47 48 const QString timeFmtString = "yyyy-MM-dd hh:mm:ss"; 49 48 50 // Constructor 49 51 //////////////////////////////////////////////////////////////////////////// … … 57 59 _teqcSampling = new QSpinBox(this); 58 60 _teqcStartDateTime = new QDateTimeEdit(this); 61 _teqcStartDateTime->setDisplayFormat(timeFmtString); 59 62 _teqcEndDateTime = new QDateTimeEdit(this); 63 _teqcEndDateTime->setDisplayFormat(timeFmtString); 60 64 _teqcOldMarkerName = new QLineEdit(this); 61 65 _teqcNewMarkerName = new QLineEdit(this); … … 171 175 settings.setValue("teqcRnxVersion" , _teqcRnxVersion->currentText()); 172 176 settings.setValue("teqcSampling" , _teqcSampling->value()); 173 settings.setValue("teqcStartDateTime" , _teqcStartDateTime->dateTime().toString( ));174 settings.setValue("teqcEndDateTime" , _teqcEndDateTime->dateTime().toString( ));177 settings.setValue("teqcStartDateTime" , _teqcStartDateTime->dateTime().toString(timeFmtString)); 178 settings.setValue("teqcEndDateTime" , _teqcEndDateTime->dateTime().toString(timeFmtString)); 175 179 settings.setValue("teqcOldMarkerName" , _teqcOldMarkerName->text()); 176 180 settings.setValue("teqcNewMarkerName" , _teqcNewMarkerName->text());
Note:
See TracChangeset
for help on using the changeset viewer.