|
qse
0.5.4
|
#include <qsegraphcontroller.h>

Public Slots | |
| void | printGraph () |
| void | setAutoScale () |
| void | showLegend () |
| void | hideLegend () |
| void | legendChecked (const QVariant &v, bool checked, int n) |
| void | addContextMenuAction (QAction *action) |
| void | setTitle (const QString &title) |
| void | columnsCellClicked (const QModelIndex &index) |
| void | saveSelectedScans () |
| void | removeSelectedScans () |
| void | zoomGraphIn () |
| void | zoomGraphOut () |
| void | zoomGraphAll () |
Public Member Functions | |
| QseGraphController (QseDataSet *ds, QWidget *parent=0) | |
| ~QseGraphController () | |
| QseDataSet * | dataSet () const |
| int | selectedColumnCount () const |
| QString | selectedColumn (int i) const |
| QList< int > | selectedScans () |
| int | scanCount () |
| bool | selectedPlotX (int i) const |
| bool | selectedPlotY (int i) const |
| bool | selectedPlotY2 (int i) const |
| bool | selectedPlotNorm (int i) const |
Private Slots | |
| void | dataCleared () |
| void | dataChanged () |
| void | operationCompleted () |
| void | scanAdded (int s) |
| void | scansSelectionChanged (const QItemSelection &selected, const QItemSelection &deselected) |
| void | columnsSelectionChanged (const QItemSelection &selected, const QItemSelection &deselected) |
| void | updateGraph () |
| void | scansListContextMenu (const QPoint &pos) |
| void | columnsTableContextMenu (const QPoint &pos) |
| void | graphContextMenu (const QPoint &pos) |
Private Member Functions | |
| bool | scanSelected (int i) |
| void | toggleGraphSelection (int n, QSet< QString > &set) |
| void | enableAxes (bool y1, bool y2) |
| void | setAxisTitle (int axisId, const QSet< QString > &names) |
| QwtSymbol * | newSymbol (int n) |
Private Attributes | |
| QPen | m_Pens [NPENS] |
| QList< QString > | m_SelectedScanColumns |
| QHash< QString, int > | m_SelectedScanColumnCounts |
| QSet< QString > | m_PlotXColumns |
| QSet< QString > | m_PlotYColumns |
| QSet< QString > | m_PlotY2Columns |
| QSet< QString > | m_PlotNormColumns |
| QseDataSet * | m_DataSet |
| QseGraphScansModel * | m_ScansModel |
| QItemSelectionModel * | m_ScansSelection |
| QseGraphColumnsModel * | m_ColumnsModel |
| QItemSelectionModel * | m_ColumnsSelection |
| QwtPlotZoomer * | m_Zoomer |
| QwtPlotZoomer * | m_Zoomer2 |
| QwtPlotPanner * | m_Panner |
| QwtPlotMagnifier * | m_Magnifier |
| QwtLegend * | m_Legend |
| bool | m_LegendShown |
| QList< QAction * > | m_Actions |
| int | m_ScanPenStep |
| int | m_ScanSymbolStep |
| int | m_CurvePenStep |
| int | m_CurveSymbolStep |
Static Private Attributes | |
| static const int | MAX_CURVES = 500 |
| static const int | NPENS = 12 |
| static const int | NSYMBOLS = 12 |
Definition at line 29 of file qsegraphcontroller.h.
| QseGraphController::QseGraphController | ( | QseDataSet * | ds, |
| QWidget * | parent = 0 |
||
| ) |
Definition at line 29 of file qsegraphcontroller.cpp.
References columnsCellClicked(), columnsTableContextMenu(), dataChanged(), dataCleared(), enableAxes(), graphContextMenu(), legendChecked(), m_ColumnsModel, m_ColumnsSelection, m_DataSet, m_Legend, m_Magnifier, m_Panner, m_Pens, m_ScansModel, m_ScansSelection, m_Zoomer, m_Zoomer2, operationCompleted(), printGraph(), saveSelectedScans(), scansListContextMenu(), scansSelectionChanged(), zoomGraphAll(), zoomGraphIn(), and zoomGraphOut().
| QseGraphController::~QseGraphController | ( | ) |
Definition at line 146 of file qsegraphcontroller.cpp.
|
slot |
|
slot |
Definition at line 334 of file qsegraphcontroller.cpp.
References m_ColumnsModel, m_PlotNormColumns, m_PlotXColumns, m_PlotY2Columns, m_PlotYColumns, QseGraphColumnsModel::rowCount(), toggleGraphSelection(), and updateGraph().
Referenced by QseGraphController().
|
privateslot |
Definition at line 285 of file qsegraphcontroller.cpp.
|
privateslot |
|
privateslot |
Definition at line 197 of file qsegraphcontroller.cpp.
Referenced by QseGraphController().
|
privateslot |
Definition at line 189 of file qsegraphcontroller.cpp.
References m_ColumnsModel, m_SelectedScanColumnCounts, and m_SelectedScanColumns.
Referenced by QseGraphController().
| QseDataSet * QseGraphController::dataSet | ( | ) | const |
|
private |
Definition at line 598 of file qsegraphcontroller.cpp.
References m_Zoomer, and m_Zoomer2.
Referenced by QseGraphController(), and updateGraph().
|
privateslot |
Definition at line 725 of file qsegraphcontroller.cpp.
References hideLegend(), m_Actions, m_LegendShown, printGraph(), removeSelectedScans(), saveSelectedScans(), setAutoScale(), and showLegend().
Referenced by QseGraphController().
|
slot |
Definition at line 641 of file qsegraphcontroller.cpp.
References m_LegendShown.
Referenced by graphContextMenu().
|
slot |
Definition at line 675 of file qsegraphcontroller.cpp.
Referenced by QseGraphController().
|
private |
Definition at line 818 of file qsegraphcontroller.cpp.
References m_Pens.
Referenced by updateGraph().
|
privateslot |
Definition at line 179 of file qsegraphcontroller.cpp.
References updateGraph().
Referenced by QseGraphController().
|
slot |
Definition at line 655 of file qsegraphcontroller.cpp.
Referenced by graphContextMenu(), and QseGraphController().
|
slot |
Definition at line 797 of file qsegraphcontroller.cpp.
Referenced by graphContextMenu().
|
slot |
Definition at line 792 of file qsegraphcontroller.cpp.
References QseDataExport::exportSelectedData(), m_DataSet, and selectedScans().
Referenced by graphContextMenu(), and QseGraphController().
|
privateslot |
Definition at line 175 of file qsegraphcontroller.cpp.
| int QseGraphController::scanCount | ( | ) |
Definition at line 773 of file qsegraphcontroller.cpp.
References m_DataSet.
Referenced by selectedScans(), and updateGraph().
|
private |
Definition at line 201 of file qsegraphcontroller.cpp.
References m_ScansSelection.
Referenced by selectedScans(), and updateGraph().
|
privateslot |
Definition at line 713 of file qsegraphcontroller.cpp.
Referenced by QseGraphController().
|
privateslot |
Definition at line 235 of file qsegraphcontroller.cpp.
References QseScan::column(), QseScan::columnCount(), and QseColumn::name().
Referenced by QseGraphController().
| QString QseGraphController::selectedColumn | ( | int | i | ) | const |
Definition at line 160 of file qsegraphcontroller.cpp.
References m_SelectedScanColumns.
Referenced by QseGraphColumnsModel::data(), selectedPlotNorm(), selectedPlotX(), selectedPlotY(), and selectedPlotY2().
| int QseGraphController::selectedColumnCount | ( | ) | const |
Definition at line 155 of file qsegraphcontroller.cpp.
References m_SelectedScanColumns.
Referenced by QseGraphColumnsModel::rowCount().
| bool QseGraphController::selectedPlotNorm | ( | int | i | ) | const |
Definition at line 227 of file qsegraphcontroller.cpp.
References m_PlotNormColumns, and selectedColumn().
| bool QseGraphController::selectedPlotX | ( | int | i | ) | const |
Definition at line 206 of file qsegraphcontroller.cpp.
References m_PlotXColumns, and selectedColumn().
Referenced by QseGraphColumnsModel::data().
| bool QseGraphController::selectedPlotY | ( | int | i | ) | const |
Definition at line 213 of file qsegraphcontroller.cpp.
References m_PlotYColumns, and selectedColumn().
Referenced by QseGraphColumnsModel::data().
| bool QseGraphController::selectedPlotY2 | ( | int | i | ) | const |
Definition at line 220 of file qsegraphcontroller.cpp.
References m_PlotY2Columns, and selectedColumn().
Referenced by QseGraphColumnsModel::data().
| QList< int > QseGraphController::selectedScans | ( | ) |
Definition at line 778 of file qsegraphcontroller.cpp.
References scanCount(), and scanSelected().
Referenced by saveSelectedScans().
|
slot |
Definition at line 616 of file qsegraphcontroller.cpp.
References m_Zoomer, and m_Zoomer2.
Referenced by graphContextMenu(), and zoomGraphAll().
|
private |
Definition at line 567 of file qsegraphcontroller.cpp.
Referenced by updateGraph().
|
slot |
Definition at line 165 of file qsegraphcontroller.cpp.
Referenced by updateGraph().
|
slot |
Definition at line 627 of file qsegraphcontroller.cpp.
References m_LegendShown.
Referenced by graphContextMenu().
|
private |
Definition at line 273 of file qsegraphcontroller.cpp.
Referenced by columnsCellClicked().
|
privateslot |
Definition at line 363 of file qsegraphcontroller.cpp.
References QseScan::column(), QseScan::columnCount(), enableAxes(), m_CurvePenStep, m_CurveSymbolStep, m_DataSet, m_LegendShown, m_Pens, m_PlotXColumns, m_PlotY2Columns, m_PlotYColumns, m_ScanPenStep, m_ScanSymbolStep, m_Zoomer, m_Zoomer2, MAX_CURVES, QseColumn::name(), newSymbol(), NPENS, NSYMBOLS, QseScan::scanCommand(), scanCount(), QseScan::scanNumber(), scanSelected(), setAxisTitle(), and setTitle().
Referenced by columnsCellClicked(), and operationCompleted().
|
slot |
Definition at line 801 of file qsegraphcontroller.cpp.
References setAutoScale().
Referenced by QseGraphController().
|
slot |
Definition at line 812 of file qsegraphcontroller.cpp.
References m_Zoomer, and m_Zoomer2.
Referenced by QseGraphController().
|
slot |
Definition at line 806 of file qsegraphcontroller.cpp.
References m_Zoomer, and m_Zoomer2.
Referenced by QseGraphController().
|
private |
Definition at line 122 of file qsegraphcontroller.h.
Referenced by addContextMenuAction(), and graphContextMenu().
|
private |
Definition at line 113 of file qsegraphcontroller.h.
Referenced by columnsCellClicked(), dataCleared(), and QseGraphController().
|
private |
Definition at line 114 of file qsegraphcontroller.h.
Referenced by QseGraphController().
|
private |
Definition at line 126 of file qsegraphcontroller.h.
Referenced by updateGraph().
|
private |
Definition at line 127 of file qsegraphcontroller.h.
Referenced by updateGraph().
|
private |
Definition at line 110 of file qsegraphcontroller.h.
Referenced by dataSet(), QseGraphController(), saveSelectedScans(), scanCount(), and updateGraph().
|
private |
Definition at line 120 of file qsegraphcontroller.h.
Referenced by QseGraphController().
|
private |
Definition at line 121 of file qsegraphcontroller.h.
Referenced by graphContextMenu(), hideLegend(), showLegend(), and updateGraph().
|
private |
Definition at line 119 of file qsegraphcontroller.h.
Referenced by QseGraphController().
|
private |
Definition at line 118 of file qsegraphcontroller.h.
Referenced by QseGraphController().
|
private |
Definition at line 97 of file qsegraphcontroller.h.
Referenced by newSymbol(), QseGraphController(), and updateGraph().
|
private |
Definition at line 108 of file qsegraphcontroller.h.
Referenced by columnsCellClicked(), and selectedPlotNorm().
|
private |
Definition at line 105 of file qsegraphcontroller.h.
Referenced by columnsCellClicked(), selectedPlotX(), and updateGraph().
|
private |
Definition at line 107 of file qsegraphcontroller.h.
Referenced by columnsCellClicked(), selectedPlotY2(), and updateGraph().
|
private |
Definition at line 106 of file qsegraphcontroller.h.
Referenced by columnsCellClicked(), selectedPlotY(), and updateGraph().
|
private |
Definition at line 124 of file qsegraphcontroller.h.
Referenced by updateGraph().
|
private |
Definition at line 111 of file qsegraphcontroller.h.
Referenced by QseGraphController().
|
private |
Definition at line 112 of file qsegraphcontroller.h.
Referenced by QseGraphController(), and scanSelected().
|
private |
Definition at line 125 of file qsegraphcontroller.h.
Referenced by updateGraph().
|
private |
Definition at line 103 of file qsegraphcontroller.h.
Referenced by dataCleared().
|
private |
Definition at line 102 of file qsegraphcontroller.h.
Referenced by dataCleared(), selectedColumn(), and selectedColumnCount().
|
private |
Definition at line 116 of file qsegraphcontroller.h.
Referenced by enableAxes(), QseGraphController(), setAutoScale(), updateGraph(), zoomGraphIn(), and zoomGraphOut().
|
private |
Definition at line 117 of file qsegraphcontroller.h.
Referenced by enableAxes(), QseGraphController(), setAutoScale(), updateGraph(), zoomGraphIn(), and zoomGraphOut().
|
staticprivate |
Definition at line 94 of file qsegraphcontroller.h.
Referenced by updateGraph().
|
staticprivate |
Definition at line 96 of file qsegraphcontroller.h.
Referenced by updateGraph().
|
staticprivate |
Definition at line 99 of file qsegraphcontroller.h.
Referenced by updateGraph().
1.8.6