PlotWizard Class Reference

#include <PlotWizard.h>

List of all members.


Detailed Description

A wizard type dialog class to create new plots.

Public Slots

void accept ()
 Accept settings, close the dialog.
void addCurve ()
 Add new curve.
void addXCol ()
 Add column as X.
void addXErrCol ()
 Add column as X error.
void addYCol ()
 Add column as Y.
void addYErrCol ()
 Add column as Y error.
void addZCol ()
 Add column as Z.
void changeColumnsList (const QString &table)
 Update the columns list box to contain the columns of 'table'.
void insertTablesList (const QStringList &tables)
 Insert a list of tables into the tables combo box.
void removeCurve ()
 Delete selected curve.
void setColumnsList (const QStringList &cols)
 Set the internal columns list to 'cols'.
void setColumnsListBoxContents (const QStringList &cols)
 Set the contents of the columns list box to the strings in 'cols'.

Signals

void plot (const QStringList &)
 Emitted when new plots need to be created.

Public Member Functions

 PlotWizard (QWidget *parent=0, Qt::WFlags fl=0)
 Constructor.
 ~PlotWizard ()
 Destructor.

Private Member Functions

bool noCurves ()
 Display a warning that a new curve must be added first before the selection of the columns.
void plot3D (const QStringList &lst)
void plot3DRibbon (const QStringList &lst)
QSize sizeHint () const

Private Attributes

QComboBox * boxTables
 Combo box to select the table.
QPushButton * buttonCancel
 Button "cancel".
QPushButton * buttonDelete
 Button "Delete curve".
QPushButton * buttonNew
 Button "New curve".
QPushButton * buttonOk
 Button "Plot".
QPushButton * buttonX
 Button "<->X".
QPushButton * buttonXErr
 Button "<->xErr".
QPushButton * buttonY
 Button "<->Y".
QPushButton * buttonYErr
 Button "<->yErr".
QPushButton * buttonZ
 Button "<->Z".
QStringList columns
 Internal list of columns (contains all columns in all tables).
QListWidget * columnsList
 List of the columns in the selected table.
QGroupBox * groupBox1
 Button group defining the layout.
QGroupBox * groupBox2
 Button group defining the layout.
QGroupBox * groupBox3
 Button group defining the layout.
QListWidget * plotAssociations
 List of the plots to generate.

Constructor & Destructor Documentation

PlotWizard::PlotWizard ( QWidget *  parent = 0,
Qt::WFlags  fl = 0 
)

Constructor.

Parameters:
parent parent widget
fl Qt window flags

PlotWizard::~PlotWizard (  ) 

Destructor.


Member Function Documentation

void PlotWizard::accept (  )  [slot]

Accept settings, close the dialog.

void PlotWizard::addCurve (  )  [slot]

Add new curve.

void PlotWizard::addXCol (  )  [slot]

Add column as X.

void PlotWizard::addXErrCol (  )  [slot]

Add column as X error.

void PlotWizard::addYCol (  )  [slot]

Add column as Y.

void PlotWizard::addYErrCol (  )  [slot]

Add column as Y error.

void PlotWizard::addZCol (  )  [slot]

Add column as Z.

void PlotWizard::changeColumnsList ( const QString &  table  )  [slot]

Update the columns list box to contain the columns of 'table'.

void PlotWizard::insertTablesList ( const QStringList &  tables  )  [slot]

Insert a list of tables into the tables combo box.

bool PlotWizard::noCurves (  )  [private]

Display a warning that a new curve must be added first before the selection of the columns.

void PlotWizard::plot ( const QStringList &   )  [signal]

Emitted when new plots need to be created.

void PlotWizard::plot3D ( const QStringList &  lst  )  [private]

void PlotWizard::plot3DRibbon ( const QStringList &  lst  )  [private]

void PlotWizard::removeCurve (  )  [slot]

Delete selected curve.

void PlotWizard::setColumnsList ( const QStringList &  cols  )  [slot]

Set the internal columns list to 'cols'.

void PlotWizard::setColumnsListBoxContents ( const QStringList &  cols  )  [slot]

Set the contents of the columns list box to the strings in 'cols'.

QSize PlotWizard::sizeHint (  )  const [private]


Member Data Documentation

QComboBox* PlotWizard::boxTables [private]

Combo box to select the table.

QPushButton* PlotWizard::buttonCancel [private]

Button "cancel".

QPushButton * PlotWizard::buttonDelete [private]

Button "Delete curve".

QPushButton * PlotWizard::buttonNew [private]

Button "New curve".

QPushButton* PlotWizard::buttonOk [private]

Button "Plot".

QPushButton * PlotWizard::buttonX [private]

Button "<->X".

QPushButton * PlotWizard::buttonXErr [private]

Button "<->xErr".

QPushButton * PlotWizard::buttonY [private]

Button "<->Y".

QPushButton * PlotWizard::buttonYErr [private]

Button "<->yErr".

QPushButton * PlotWizard::buttonZ [private]

Button "<->Z".

QStringList PlotWizard::columns [private]

Internal list of columns (contains all columns in all tables).

QListWidget* PlotWizard::columnsList [private]

List of the columns in the selected table.

QGroupBox* PlotWizard::groupBox1 [private]

Button group defining the layout.

QGroupBox * PlotWizard::groupBox2 [private]

Button group defining the layout.

QGroupBox * PlotWizard::groupBox3 [private]

Button group defining the layout.

QListWidget * PlotWizard::plotAssociations [private]

List of the plots to generate.


The documentation for this class was generated from the following files:
Generated on Mon Oct 15 06:11:43 2007 for QtiPlot by  doxygen 1.5.3