QtiPlot
0.9.8.2
|
Add/remove curves dialog. More...
#include <CurvesDialog.h>
Public Types | |
enum | TreeItemType { FolderItem, ColumnItem, TableItem, MatrixItem } |
Public Member Functions | |
CurvesDialog (QWidget *parent=0, Qt::WFlags fl=0) | |
void | setGraph (Graph *graph) |
Private Slots | |
void | addCurves () |
int | curveStyle () |
void | enableAddBtn () |
void | enableContentsBtns () |
void | raiseCurve () |
void | removeCurves () |
void | shiftCurveBy (int offset=1) |
void | showCurrentFolder (bool) |
void | showCurveBtn (int) |
void | showCurveRange (bool) |
void | showCurveRangeDialog () |
void | showFunctionDialog () |
void | showPlotAssociations () |
void | updateCurveRange () |
Private Member Functions | |
bool | addCurveFromMatrix (Matrix *m) |
bool | addCurveFromTable (ApplicationWindow *app, Table *t, const QString &name) |
void | addFolderItems (Folder *f, QTreeWidgetItem *parent=0) |
void | closeEvent (QCloseEvent *) |
void | contextMenuEvent (QContextMenuEvent *) |
void | init () |
QSize | sizeHint () const |
Private Attributes | |
QTreeWidget * | available |
QComboBox * | boxMatrixStyle |
QCheckBox * | boxShowCurrentFolder |
QCheckBox * | boxShowRange |
QComboBox * | boxStyle |
QComboBox * | boxXAxis |
QComboBox * | boxYAxis |
QPushButton * | btnAdd |
QPushButton * | btnAssociations |
QPushButton * | btnCancel |
QPushButton * | btnDown |
QPushButton * | btnEditFunction |
QPushButton * | btnOK |
QPushButton * | btnRange |
QPushButton * | btnRemove |
QPushButton * | btnUp |
QListWidget * | contents |
Graph * | d_graph |
Add/remove curves dialog.
CurvesDialog::CurvesDialog | ( | QWidget * | parent = 0 , |
Qt::WFlags | fl = 0 |
||
) |
References addCurves(), available, boxMatrixStyle, boxShowCurrentFolder, boxShowRange, boxStyle, boxXAxis, boxYAxis, btnAdd, btnAssociations, btnCancel, btnDown, btnEditFunction, btnOK, btnRange, btnRemove, btnUp, contents, enableAddBtn(), enableContentsBtns(), init(), raiseCurve(), removeCurves(), shiftCurveBy(), showCurrentFolder(), showCurveBtn(), showCurveRange(), showCurveRangeDialog(), showFunctionDialog(), and showPlotAssociations().
|
private |
References Graph::addHistogram(), boxMatrixStyle, boxXAxis, boxYAxis, Graph::ColorMap, Graph::Contour, d_graph, Graph::GrayScale, and Graph::plotSpectrogram().
Referenced by addCurves().
|
private |
References CurveLayout::aCol, Graph::addLegendItem(), Graph::Area, CurveLayout::aStyle, boxXAxis, boxYAxis, CurveLayout::connectType, Graph::curveCount(), curveStyle(), ApplicationWindow::d_curve_line_style, ApplicationWindow::d_fill_symbols, d_graph, ApplicationWindow::d_indexed_symbols, ApplicationWindow::d_symbol_style, ApplicationWindow::defaultCurveAlpha, ApplicationWindow::defaultCurveBrush, ApplicationWindow::defaultCurveLineWidth, ApplicationWindow::defaultSymbolEdge, ApplicationWindow::defaultSymbolSize, CurveLayout::fillCol, CurveLayout::filledArea, Graph::guessUniqueCurveLayout(), Graph::Histogram, Graph::HorizontalBars, Graph::HorizontalSteps, ApplicationWindow::indexedColors(), ApplicationWindow::indexedSymbols(), Graph::initCurveLayout(), Graph::insertCurve(), CurveLayout::lCol, Graph::Line, DataCurve::loadData(), CurveLayout::lStyle, CurveLayout::lWidth, CurveLayout::penWidth, Graph::Spline, CurveLayout::sSize, Graph::StackBar, Graph::StackColumn, CurveLayout::sType, CurveLayout::symCol, Graph::updateCurveLayout(), Graph::VerticalBars, Graph::VerticalDropLines, and Graph::VerticalSteps.
Referenced by addCurves().
|
privateslot |
References addCurveFromMatrix(), addCurveFromTable(), available, boxShowRange, ColumnItem, contents, Graph::curveCount(), d_graph, FolderItem, LegendWidget::isAutoUpdateEnabled(), Graph::legend(), Graph::legendText(), ApplicationWindow::matrix(), MatrixItem, LegendWidget::setAutoUpdate(), LegendWidget::setText(), showCurveRange(), Graph::showPlotErrorMessage(), ApplicationWindow::table(), TableItem, LegendWidget::text(), Graph::updateAxesTitles(), Graph::updatePlot(), and Table::YColumns().
Referenced by contextMenuEvent(), and CurvesDialog().
|
private |
References available, Table::colLabel(), Table::colPlotDesignation(), ColumnItem, MatrixItem, Table::numCols(), TableItem, Folder::windowsList(), and Table::Y.
Referenced by showCurrentFolder().
|
private |
References ApplicationWindow::d_add_curves_dialog_size.
|
private |
References addCurves(), available, contents, FolderItem, and removeCurves().
|
privateslot |
References Graph::Area, boxStyle, Graph::Histogram, Graph::HorizontalBars, Graph::HorizontalSteps, Graph::Line, Graph::LineSymbols, Graph::Scatter, Graph::Spline, Graph::VerticalBars, Graph::VerticalDropLines, and Graph::VerticalSteps.
Referenced by addCurveFromTable().
|
privateslot |
References available, and btnAdd.
Referenced by CurvesDialog(), and setGraph().
|
privateslot |
References btnDown, btnRemove, btnUp, and contents.
Referenced by CurvesDialog(), setGraph(), and showCurveRange().
|
private |
References Graph::Area, available, boxShowCurrentFolder, boxStyle, btnAdd, ApplicationWindow::d_show_current_folder, ApplicationWindow::defaultCurveStyle, Graph::HorizontalBars, Graph::HorizontalSteps, Graph::Line, Graph::LineSymbols, Graph::Scatter, showCurrentFolder(), Graph::Spline, Graph::VerticalBars, Graph::VerticalDropLines, and Graph::VerticalSteps.
Referenced by CurvesDialog().
|
privateslot |
References shiftCurveBy().
Referenced by CurvesDialog().
|
privateslot |
References boxShowRange, contents, Graph::curve(), d_graph, Graph::removeCurve(), showCurveRange(), and Graph::updatePlot().
Referenced by contextMenuEvent(), and CurvesDialog().
void CurvesDialog::setGraph | ( | Graph * | graph) |
References contents, d_graph, enableAddBtn(), enableContentsBtns(), and Graph::plotItemsList().
Referenced by ApplicationWindow::showCurvesDialog().
|
privateslot |
References Graph::changeCurveIndex(), contents, d_graph, and Graph::plotItemsList().
Referenced by CurvesDialog(), and raiseCurve().
|
privateslot |
|
privateslot |
References btnAssociations, btnEditFunction, btnRange, contents, d_graph, Graph::ErrorBars, Graph::Function, Graph::plotItem(), and PlotCurve::type().
Referenced by CurvesDialog().
|
privateslot |
References contents, Graph::curveCount(), d_graph, enableContentsBtns(), DataCurve::endRow(), Graph::Function, Graph::plotItem(), Graph::plotItemsList(), and DataCurve::startRow().
Referenced by addCurves(), CurvesDialog(), removeCurves(), and updateCurveRange().
|
privateslot |
References contents, d_graph, CurveRangeDialog::setCurvesToModify(), 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(), addFolderItems(), contextMenuEvent(), CurvesDialog(), enableAddBtn(), init(), and showCurrentFolder().
|
private |
Referenced by addCurveFromMatrix(), and CurvesDialog().
|
private |
Referenced by CurvesDialog(), and init().
|
private |
Referenced by addCurves(), CurvesDialog(), removeCurves(), and updateCurveRange().
|
private |
Referenced by CurvesDialog(), curveStyle(), and init().
|
private |
Referenced by addCurveFromMatrix(), addCurveFromTable(), and CurvesDialog().
|
private |
Referenced by addCurveFromMatrix(), addCurveFromTable(), and CurvesDialog().
|
private |
Referenced by CurvesDialog(), enableAddBtn(), and init().
|
private |
Referenced by CurvesDialog(), and showCurveBtn().
|
private |
Referenced by CurvesDialog().
|
private |
Referenced by CurvesDialog(), and enableContentsBtns().
|
private |
Referenced by CurvesDialog(), and showCurveBtn().
|
private |
Referenced by CurvesDialog().
|
private |
Referenced by CurvesDialog(), and showCurveBtn().
|
private |
Referenced by CurvesDialog(), and enableContentsBtns().
|
private |
Referenced by CurvesDialog(), and enableContentsBtns().
|
private |
|
private |