##// END OF EJS Templates
temp commit
Alexandre Leroux -
r970:63eae7d6c90b
parent child
Show More
@@ -51,6 +51,7 DataSourceWidget::DataSourceWidget(QWidget *parent) : QWidget{parent}, ui{new Ui
51
51
52 // Connection to filter tree
52 // Connection to filter tree
53 connect(ui->filterLineEdit, &QLineEdit::textChanged, this, &DataSourceWidget::filterChanged);
53 connect(ui->filterLineEdit, &QLineEdit::textChanged, this, &DataSourceWidget::filterChanged);
54 ui->filterLineEdit->setText("tha_ion_s");
54 }
55 }
55
56
56 DataSourceWidget::~DataSourceWidget() noexcept
57 DataSourceWidget::~DataSourceWidget() noexcept
@@ -42,8 +42,8 TimeWidget::TimeWidget(QWidget *parent)
42 &TimeController::onTimeNotify);
42 &TimeController::onTimeNotify);
43
43
44 // Initialisation
44 // Initialisation
45 auto endDateTime = QDateTime::currentDateTimeUtc();
45 auto endDateTime = QDateTime{QDate{2012, 12, 11}, QTime{0, 0}, Qt::UTC};
46 auto startDateTime = endDateTime.addSecs(-3600); // one hour before
46 auto startDateTime = QDateTime{QDate{2012, 12, 10}, QTime{0, 0}, Qt::UTC}; // one hour before
47
47
48 ui->startDateTimeEdit->setDateTime(startDateTime);
48 ui->startDateTimeEdit->setDateTime(startDateTime);
49 ui->endDateTimeEdit->setDateTime(endDateTime);
49 ui->endDateTimeEdit->setDateTime(endDateTime);
General Comments 0
You need to be logged in to leave comments. Login now