connect(this, SIGNAL(controlModeChanged(GraphControlModes)), sw, SLOT(onControlModeChanged(GraphControlModes)));
connect(sw, SIGNAL(fullSizeToggle()), this, SLOT(onSWFullSizeToggle()));
m_dashboard->addWidget(sw);
+
+ /* Fix for invisible Splitter handle on Windows */
+#ifdef Q_OS_WIN
+ QSplitterHandle *handle = m_dashboard->handle(m_dashboard->count()-1);
+ QVBoxLayout *layout = new QVBoxLayout(handle);
+ layout->setSpacing(0);
+ layout->setMargin(0);
+
+ QFrame *line = new QFrame(handle);
+ line->setFrameShape(QFrame::HLine);
+ line->setFrameShadow(QFrame::Sunken);
+ layout->addWidget(line);
+#endif
}
void MainWindow::onCleanDashboard()
if (role == Qt::DisplayRole && orientation == Qt::Horizontal) {
switch (section) {
case 0:
- return QString("Time ") + m_signal->xunitToString() + QString("]");
+ return QString("Time [") + m_signal->xunitToString() + QString("]");
case 1:
return QString("Value [") + m_signal->yunitToString() + QString("]");
default: