|
QtiPlot
0.9.8.2
|
A wizard type dialog class to create new plots. More...
#include <PlotWizard.h>
Public Slots | |
| void | accept () |
| Accept settings, close the dialog. More... | |
| void | addCurve () |
| Add new curve. More... | |
| void | addXCol () |
| Add column as X. More... | |
| void | addXErrCol () |
| Add column as X error. More... | |
| void | addYCol () |
| Add column as Y. More... | |
| void | addYErrCol () |
| Add column as Y error. More... | |
| void | addZCol () |
| Add column as Z. More... | |
| void | changeColumnsList (const QString &table) |
| Update the columns list box to contain the columns of 'table'. More... | |
| void | insertTablesList (const QStringList &tables) |
| Insert a list of tables into the tables combo box. More... | |
| void | removeCurve () |
| Delete selected curve. More... | |
| void | setColumnsList (const QStringList &cols) |
| Set the internal columns list to 'cols'. More... | |
| void | setColumnsListBoxContents (const QStringList &cols) |
| Set the contents of the columns list box to the strings in 'cols'. More... | |
Public Member Functions | |
| PlotWizard (QWidget *parent=0, Qt::WFlags fl=0) | |
| Constructor. More... | |
Private Member Functions | |
| bool | noCurves () |
| Display a warning that a new curve must be added first before the selection of the columns. More... | |
| void | plot2D (const QStringList &) |
| void | plot3D (const QStringList &) |
| void | plot3DRibbon (const QStringList &) |
| QSize | sizeHint () const |
Private Attributes | |
| QComboBox * | boxTables |
| Combo box to select the table. More... | |
| QPushButton * | buttonCancel |
| Button "cancel". More... | |
| QPushButton * | buttonDelete |
| Button "Delete curve". More... | |
| QPushButton * | buttonNew |
| Button "New curve". More... | |
| QPushButton * | buttonOk |
| Button "Plot". More... | |
| QPushButton * | buttonX |
| Button "<->X". More... | |
| QPushButton * | buttonXErr |
| Button "<->xErr". More... | |
| QPushButton * | buttonY |
| Button "<->Y". More... | |
| QPushButton * | buttonYErr |
| Button "<->yErr". More... | |
| QPushButton * | buttonZ |
| Button "<->Z". More... | |
| QStringList | columns |
| Internal list of columns (contains all columns in all tables) More... | |
| QListWidget * | columnsList |
| List of the columns in the selected table. More... | |
| QGroupBox * | groupBox1 |
| Button group defining the layout. More... | |
| QGroupBox * | groupBox2 |
| Button group defining the layout. More... | |
| QGroupBox * | groupBox3 |
| Button group defining the layout. More... | |
| QListWidget * | plotAssociations |
| List of the plots to generate. More... | |
A wizard type dialog class to create new plots.
| PlotWizard::PlotWizard | ( | QWidget * | parent = 0, |
| Qt::WFlags | fl = 0 |
||
| ) |
Constructor.
| parent | parent widget |
| fl | Qt window flags |
References accept(), addCurve(), addXCol(), addXErrCol(), addYCol(), addYErrCol(), addZCol(), boxTables, buttonCancel, buttonDelete, buttonNew, buttonOk, buttonX, buttonXErr, buttonY, buttonYErr, buttonZ, changeColumnsList(), columnsList, groupBox1, plotAssociations, and removeCurve().
|
slot |
Accept settings, close the dialog.
References noCurves(), plot2D(), plot3D(), plot3DRibbon(), and plotAssociations.
Referenced by PlotWizard().
|
slot |
|
slot |
Add column as X.
References columnsList, noCurves(), and plotAssociations.
Referenced by PlotWizard().
|
slot |
Add column as X error.
References columnsList, noCurves(), and plotAssociations.
Referenced by PlotWizard().
|
slot |
Add column as Y.
References columnsList, noCurves(), and plotAssociations.
Referenced by PlotWizard().
|
slot |
Add column as Y error.
References columnsList, noCurves(), and plotAssociations.
Referenced by PlotWizard().
|
slot |
Add column as Z.
References columnsList, noCurves(), and plotAssociations.
Referenced by PlotWizard().
|
slot |
Update the columns list box to contain the columns of 'table'.
References columns, and setColumnsListBoxContents().
Referenced by PlotWizard(), and ApplicationWindow::showPlotWizard().
|
slot |
Insert a list of tables into the tables combo box.
References boxTables.
Referenced by ApplicationWindow::showPlotWizard().
|
private |
Display a warning that a new curve must be added first before the selection of the columns.
References plotAssociations.
Referenced by accept(), addXCol(), addXErrCol(), addYCol(), addYErrCol(), and addZCol().
|
private |
References MultiLayer::activeLayer(), Graph::addErrorBars(), MultiLayer::arrangeLayers(), ApplicationWindow::defaultCurveLineWidth, ApplicationWindow::defaultCurveStyle, ApplicationWindow::defaultSymbolSize, ErrorBarsCurve::Horizontal, Graph::initCurveLayout(), ApplicationWindow::initMultilayerPlot(), Graph::insertCurve(), CurveLayout::lWidth, Graph::newLegend(), ApplicationWindow::setPreferences(), CurveLayout::sSize, ApplicationWindow::table(), Graph::updateAxesTitles(), Graph::updateCurveLayout(), Graph::updatePlot(), and ErrorBarsCurve::Vertical.
Referenced by accept().
|
private |
References Graph3D::addData(), Table::colIndex(), ApplicationWindow::newPlot3D(), and ApplicationWindow::table().
Referenced by accept().
|
private |
References Graph3D::addRibbon(), ApplicationWindow::d_3D_color_map, ApplicationWindow::newPlot3D(), Graph3D::setDataColorMap(), ApplicationWindow::table(), and Graph3D::update().
Referenced by accept().
|
slot |
|
slot |
Set the internal columns list to 'cols'.
References columns.
Referenced by ApplicationWindow::showPlotWizard().
|
slot |
Set the contents of the columns list box to the strings in 'cols'.
References columnsList.
Referenced by changeColumnsList().
|
private |
|
private |
Combo box to select the table.
Referenced by addCurve(), insertTablesList(), and PlotWizard().
|
private |
Button "cancel".
Referenced by PlotWizard().
|
private |
Button "Delete curve".
Referenced by PlotWizard().
|
private |
Button "New curve".
Referenced by PlotWizard().
|
private |
Button "Plot".
Referenced by PlotWizard().
|
private |
Button "<->X".
Referenced by PlotWizard().
|
private |
Button "<->xErr".
Referenced by PlotWizard().
|
private |
Button "<->Y".
Referenced by PlotWizard().
|
private |
Button "<->yErr".
Referenced by PlotWizard().
|
private |
Button "<->Z".
Referenced by PlotWizard().
|
private |
Internal list of columns (contains all columns in all tables)
Referenced by changeColumnsList(), and setColumnsList().
|
private |
List of the columns in the selected table.
Referenced by addXCol(), addXErrCol(), addYCol(), addYErrCol(), addZCol(), PlotWizard(), and setColumnsListBoxContents().
|
private |
Button group defining the layout.
Referenced by PlotWizard().
|
private |
Button group defining the layout.
|
private |
Button group defining the layout.
|
private |
List of the plots to generate.
Referenced by accept(), addCurve(), addXCol(), addXErrCol(), addYCol(), addYErrCol(), addZCol(), noCurves(), PlotWizard(), and removeCurve().
1.8.6