[companion][logsDialog]Removed some old comented out code.

This commit is contained in:
Grieb
2015-04-21 22:50:48 -03:00
parent da62ac501f
commit a1d9e31bac
2 changed files with 0 additions and 23 deletions
-20
View File
@@ -78,7 +78,6 @@ logsDialog::logsDialog(QWidget *parent) :
connect(ui->customPlot, SIGNAL(titleDoubleClick(QMouseEvent*, QCPPlotTitle*)), this, SLOT(titleDoubleClick(QMouseEvent*, QCPPlotTitle*)));
connect(ui->customPlot, SIGNAL(axisDoubleClick(QCPAxis*,QCPAxis::SelectablePart,QMouseEvent*)), this, SLOT(axisLabelDoubleClick(QCPAxis*,QCPAxis::SelectablePart)));
connect(ui->customPlot, SIGNAL(legendDoubleClick(QCPLegend*,QCPAbstractLegendItem*,QMouseEvent*)), this, SLOT(legendDoubleClick(QCPLegend*,QCPAbstractLegendItem*)));
// connect(ui->customPlot, SIGNAL(plottableDoubleClick(QCPAbstractPlottable *, QMouseEvent *)), this, SLOT(plottableItemDoubleClick(QCPAbstractPlottable *, QMouseEvent *)));
connect(ui->FieldsTW, SIGNAL(itemSelectionChanged()), this, SLOT(plotLogs()));
connect(ui->logTable, SIGNAL(itemSelectionChanged()), this, SLOT(plotLogs()));
connect(ui->Reset_PB, SIGNAL(clicked()), this, SLOT(plotLogs()));
@@ -134,11 +133,6 @@ void logsDialog::legendDoubleClick(QCPLegend *legend, QCPAbstractLegendItem *ite
}
}
// void logsDialog::plottableItemDoubleClick(QCPAbstractPlottable * plottable, QMouseEvent * event)
// {
// qDebug() << plottable->
// }
void logsDialog::selectionChanged()
{
/*
@@ -407,20 +401,6 @@ void logsDialog::removeAllGraphs()
ui->customPlot->replot();
}
// void logsDialog::moveLegend()
// {
// if (QAction* contextAction = qobject_cast<QAction*>(sender())) // make sure this slot is really called by a context menu action, so it carries the data we need
// {
// bool ok;
// int dataInt = contextAction->data().toInt(&ok);
// if (ok)
// {
// ui->customPlot->legend->setPositionStyle((QCPLegend::PositionStyle)dataInt);
// ui->customPlot->replot();
// }
// }
// }
void logsDialog::on_fileOpen_BT_clicked()
{
QString fileName = QFileDialog::getOpenFileName(this,tr("Select your log file"), g.logDir());
-3
View File
@@ -46,10 +46,7 @@ private slots:
void mouseWheel();
void removeSelectedGraph();
void removeAllGraphs();
// void moveLegend();
void plotLogs();
// void plottableItemDoubleClick(QCPAbstractPlottable * plottable, QMouseEvent * event);
// void graphClicked(QCPAbstractPlottable *plottable);
void on_fileOpen_BT_clicked();
void on_sessions_CB_currentIndexChanged(int index);
void on_mapsButton_clicked();