SciDAVis
1.D4
|
Add/remove curves dialog. More...
#include <CurvesDialog.h>
Public Member Functions | |
CurvesDialog (QWidget *parent=0, Qt::WFlags fl=0) | |
void | setGraph (Graph *graph) |
Private Slots | |
void | addCurves () |
int | curveStyle () |
void | enableAddBtn () |
void | enableRemoveBtn () |
void | removeCurves () |
void | showCurrentFolder (bool) |
void | showCurveBtn (int) |
void | showCurveRange (bool) |
void | showCurveRangeDialog () |
void | showFunctionDialog () |
void | showPlotAssociations () |
void | updateCurveRange () |
Private Member Functions | |
bool | addCurve (const QString &name) |
void | closeEvent (QCloseEvent *) |
void | contextMenuEvent (QContextMenuEvent *) |
void | init () |
QSize | sizeHint () const |
Private Attributes | |
QListWidget * | available |
QComboBox * | boxMatrixStyle |
QCheckBox * | boxShowCurrentFolder |
QCheckBox * | boxShowRange |
QComboBox * | boxStyle |
QPushButton * | btnAdd |
QPushButton * | btnAssociations |
QPushButton * | btnCancel |
QPushButton * | btnEditFunction |
QPushButton * | btnOK |
QPushButton * | btnRange |
QPushButton * | btnRemove |
QListWidget * | contents |
Graph * | d_graph |
int | defaultCurveLineWidth |
int | defaultSymbolSize |
Add/remove curves dialog.
CurvesDialog::CurvesDialog | ( | QWidget * | parent = 0 , |
Qt::WFlags | fl = 0 |
||
) |
References addCurves(), available, boxMatrixStyle, boxShowCurrentFolder, boxShowRange, boxStyle, btnAdd, btnAssociations, btnCancel, btnEditFunction, btnOK, btnRange, btnRemove, contents, enableAddBtn(), enableRemoveBtn(), init(), removeCurves(), showCurrentFolder(), showCurveBtn(), showCurveRange(), showCurveRangeDialog(), showFunctionDialog(), and showPlotAssociations().
|
private |
References CurveLayout::aCol, Graph::Area, boxMatrixStyle, Graph::ColorMap, CurveLayout::connectType, contents, Graph::ContourMap, Graph::curves(), curveStyle(), d_graph, ApplicationWindow::defaultCurveLineWidth, ApplicationWindow::defaultSymbolSize, CurveLayout::fillCol, CurveLayout::filledArea, Graph::GrayMap, Graph::guessUniqueCurveLayout(), Graph::HorizontalBars, Graph::HorizontalSteps, Graph::initCurveLayout(), Graph::insertCurve(), CurveLayout::lCol, Graph::Line, CurveLayout::lWidth, ApplicationWindow::matrix(), ApplicationWindow::matrixNames(), Graph::plotSpectrogram(), Graph::Spline, CurveLayout::sSize, CurveLayout::sType, CurveLayout::symCol, ApplicationWindow::table(), Graph::updateCurveLayout(), Graph::VerticalBars, Graph::VerticalDropLines, and Graph::VerticalSteps.
Referenced by addCurves().
|
privateslot |
References addCurve(), available, boxShowRange, contents, d_graph, showCurveRange(), Graph::showPlotErrorMessage(), and Graph::updatePlot().
Referenced by contextMenuEvent(), and CurvesDialog().
|
private |
References ApplicationWindow::d_add_curves_dialog_size.
|
private |
References addCurves(), available, contents, and removeCurves().
|
privateslot |
References Graph::Area, boxStyle, Graph::HorizontalBars, Graph::HorizontalSteps, Graph::Line, Graph::LineSymbols, Graph::Scatter, Graph::Spline, Graph::VerticalBars, Graph::VerticalDropLines, and Graph::VerticalSteps.
Referenced by addCurve().
|
privateslot |
References available, and btnAdd.
Referenced by CurvesDialog(), and setGraph().
|
privateslot |
References btnRemove, and contents.
Referenced by CurvesDialog(), setGraph(), and showCurveRange().
|
private |
References Graph::Area, available, boxMatrixStyle, boxShowCurrentFolder, boxStyle, btnAdd, ApplicationWindow::d_show_current_folder, ApplicationWindow::defaultCurveStyle, Graph::HorizontalBars, Graph::HorizontalSteps, Graph::Line, Graph::LineSymbols, ApplicationWindow::matrixNames(), Graph::Scatter, showCurrentFolder(), Graph::Spline, Graph::VerticalBars, Graph::VerticalDropLines, and Graph::VerticalSteps.
Referenced by CurvesDialog().
|
privateslot |
References boxShowRange, contents, d_graph, Graph::removeCurve(), showCurveRange(), and Graph::updatePlot().
Referenced by contextMenuEvent(), and CurvesDialog().
void CurvesDialog::setGraph | ( | Graph * | graph | ) |
References contents, d_graph, enableAddBtn(), enableRemoveBtn(), and Graph::plotItemsList().
Referenced by ApplicationWindow::showCurvesDialog().
|
privateslot |
|
privateslot |
Enables ("yes")/disables ("no") the following buttons, which are on the right besides the graph contents list, depending on the selected item in this list:
Selected Item | btnEditFunction | btnAssociations | btnRange |
Spectrogram | no | no | no |
Function | yes | no | no |
ErrorBars | no | yes | no |
all others | no | yes | yes |
References btnAssociations, btnEditFunction, btnRange, contents, d_graph, Graph::ErrorBars, Graph::Function, Graph::plotItem(), and PlotCurve::type().
Referenced by CurvesDialog().
|
privateslot |
References contents, Graph::curves(), d_graph, enableRemoveBtn(), DataCurve::endRow(), Graph::Function, Graph::plotItem(), Graph::plotItemsList(), and DataCurve::startRow().
Referenced by addCurves(), CurvesDialog(), removeCurves(), and updateCurveRange().
|
privateslot |
References contents, d_graph, ApplicationWindow::showCurveRangeDialog(), and updateCurveRange().
Referenced by CurvesDialog().
|
privateslot |
References contents, d_graph, and ApplicationWindow::showFunctionDialog().
Referenced by CurvesDialog().
|
privateslot |
References contents, and ApplicationWindow::showPlotAssociations().
Referenced by CurvesDialog().
|
private |
|
privateslot |
References boxShowRange, and showCurveRange().
Referenced by showCurveRangeDialog().
|
private |
Referenced by addCurves(), contextMenuEvent(), CurvesDialog(), enableAddBtn(), init(), and showCurrentFolder().
|
private |
Referenced by addCurve(), CurvesDialog(), and init().
|
private |
Referenced by CurvesDialog(), and init().
|
private |
Referenced by addCurves(), CurvesDialog(), removeCurves(), and updateCurveRange().
|
private |
Referenced by CurvesDialog(), curveStyle(), and init().
|
private |
Referenced by CurvesDialog(), enableAddBtn(), and init().
|
private |
Referenced by CurvesDialog(), and showCurveBtn().
|
private |
Referenced by CurvesDialog().
|
private |
Referenced by CurvesDialog(), and showCurveBtn().
|
private |
Referenced by CurvesDialog().
|
private |
Referenced by CurvesDialog(), and showCurveBtn().
|
private |
Referenced by CurvesDialog(), and enableRemoveBtn().
|
private |
|
private |
Referenced by addCurve(), addCurves(), removeCurves(), setGraph(), showCurveBtn(), showCurveRange(), showCurveRangeDialog(), and showFunctionDialog().
|
private |
|
private |