Changeset 3831 in ntrip


Ignore:
Timestamp:
Apr 11, 2012, 11:48:47 AM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/teqcdlg.cpp

    r3830 r3831  
    4646using namespace std;
    4747
     48const QString timeFmtString = "yyyy-MM-dd hh:mm:ss";
     49
    4850// Constructor
    4951////////////////////////////////////////////////////////////////////////////
     
    5759  _teqcSampling        = new QSpinBox(this);
    5860  _teqcStartDateTime   = new QDateTimeEdit(this);
     61  _teqcStartDateTime->setDisplayFormat(timeFmtString);
    5962  _teqcEndDateTime     = new QDateTimeEdit(this);
     63  _teqcEndDateTime->setDisplayFormat(timeFmtString);
    6064  _teqcOldMarkerName   = new QLineEdit(this);
    6165  _teqcNewMarkerName   = new QLineEdit(this);
     
    171175  settings.setValue("teqcRnxVersion"     , _teqcRnxVersion->currentText());   
    172176  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));   
    175179  settings.setValue("teqcOldMarkerName"  , _teqcOldMarkerName->text());
    176180  settings.setValue("teqcNewMarkerName"  , _teqcNewMarkerName->text());
Note: See TracChangeset for help on using the changeset viewer.