MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
- //m_singleSignalView(false),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
QWidget* sender = qobject_cast<QWidget*>(QObject::sender());
for (int idx = 0; idx < m_dashboard->count(); idx++) {
- /*if (m_dashboard->widget(idx) != sender) {
- if (!m_singleSignalView)
- m_dashboard->widget(idx)->hide();
- else
- m_dashboard->widget(idx)->show();
- }*/
QWidget* w = m_dashboard->widget(idx);
if (w != sender) {
w->hide();
}
}
-
- //m_singleSignalView = !m_singleSignalView;
}
void MainWindow::onZoomSelected()
//std::vector<SignalView*> m_itemsOnDashboard;
QSplitter* m_dashboard;
QFileDialog* m_loadDataFileDialog;
- //bool m_singleSignalView;
Ui::MainWindow *ui;
public slots:
firstTickRel = valueToRel(firstTickAbs);
break;
}
- Logger::log(Logger::Level::DEBUG, ME_SENDER_STR, __QFUNC__ + QString(" ftA %1 ftR %2 aS %3 rS %4").arg(firstTickAbs).arg(firstTickRel).arg(step).arg(relStep));
+ //Logger::log(Logger::Level::DEBUG, ME_SENDER_STR, __QFUNC__ + QString(" ftA %1 ftR %2 aS %3 rS %4").arg(firstTickAbs).arg(firstTickRel).arg(step).arg(relStep));
return RulerDrawData(firstTickAbs, firstTickRel, step, relStep);
}