QtiPlot 0.9.7.3
|
Add error bars dialog. More...
#include <ErrDialog.h>
Public Slots | |
void | add () |
Add a plot definition. | |
void | selectSrcTable (int tabnr) |
Select a table. | |
void | setCurveNames (const QStringList &names) |
Supply the dialog with a curves list. | |
void | setSrcTables (QList< MdiSubWindow * > tables) |
Supply the dialog with a tables list. | |
Signals | |
void | options (const QString &curveName, int type, double percent, int direction) |
This is usually connected to the main window's defineErrorBars() slot. | |
void | options (const QString &curveName, const QString &errColumnName, int direction) |
This is usually connected to the main window's defineErrorBars() slot. | |
Public Member Functions | |
ErrDialog (QWidget *parent=0, Qt::WFlags fl=0) | |
Constructor. | |
Protected Slots | |
virtual void | languageChange () |
Set all string in the current language. | |
Private Attributes | |
QPushButton * | buttonAdd |
QPushButton * | buttonCancel |
QButtonGroup * | buttonGroup1 |
QButtonGroup * | buttonGroup2 |
QComboBox * | colNamesBox |
QRadioButton * | columnBox |
QGroupBox * | groupBox1 |
QGroupBox * | groupBox2 |
QGroupBox * | groupBox3 |
QComboBox * | nameLabel |
QRadioButton * | percentBox |
QList< MdiSubWindow * > | srcTables |
QRadioButton * | standardBox |
QComboBox * | tableNamesBox |
QLabel * | textLabel1 |
DoubleSpinBox * | valueBox |
QRadioButton * | xErrBox |
QRadioButton * | yErrBox |
Add error bars dialog.
ErrDialog::ErrDialog | ( | QWidget * | parent = 0 , |
Qt::WFlags | fl = 0 |
||
) |
Constructor.
parent | parent widget |
fl | window flags |
References add(), buttonAdd, buttonCancel, buttonGroup1, buttonGroup2, colNamesBox, columnBox, groupBox1, groupBox3, languageChange(), nameLabel, percentBox, selectSrcTable(), DoubleSpinBox::setMinimum(), DoubleSpinBox::setValue(), standardBox, tableNamesBox, textLabel1, valueBox, xErrBox, and yErrBox.
void ErrDialog::add | ( | ) | [slot] |
Add a plot definition.
References colNamesBox, columnBox, nameLabel, options(), percentBox, tableNamesBox, DoubleSpinBox::value(), valueBox, and xErrBox.
Referenced by ErrDialog().
void ErrDialog::languageChange | ( | ) | [protected, virtual, slot] |
Set all string in the current language.
References buttonAdd, buttonCancel, columnBox, groupBox1, percentBox, standardBox, textLabel1, xErrBox, and yErrBox.
Referenced by ErrDialog().
void ErrDialog::options | ( | const QString & | curveName, |
const QString & | errColumnName, | ||
int | direction | ||
) | [signal] |
This is usually connected to the main window's defineErrorBars() slot.
void ErrDialog::options | ( | const QString & | curveName, |
int | type, | ||
double | percent, | ||
int | direction | ||
) | [signal] |
This is usually connected to the main window's defineErrorBars() slot.
Referenced by add().
void ErrDialog::selectSrcTable | ( | int | tabnr | ) | [slot] |
Select a table.
References colNamesBox, and srcTables.
Referenced by ErrDialog(), and setSrcTables().
void ErrDialog::setCurveNames | ( | const QStringList & | names | ) | [slot] |
Supply the dialog with a curves list.
References nameLabel.
Referenced by ApplicationWindow::addErrorBars().
void ErrDialog::setSrcTables | ( | QList< MdiSubWindow * > | tables | ) | [slot] |
Supply the dialog with a tables list.
References selectSrcTable(), srcTables, and tableNamesBox.
Referenced by ApplicationWindow::addErrorBars().
QPushButton* ErrDialog::buttonAdd [private] |
Referenced by ErrDialog(), and languageChange().
QPushButton* ErrDialog::buttonCancel [private] |
Referenced by ErrDialog(), and languageChange().
QButtonGroup* ErrDialog::buttonGroup1 [private] |
Referenced by ErrDialog().
QButtonGroup * ErrDialog::buttonGroup2 [private] |
Referenced by ErrDialog().
QComboBox * ErrDialog::colNamesBox [private] |
Referenced by add(), ErrDialog(), and selectSrcTable().
QRadioButton * ErrDialog::columnBox [private] |
Referenced by add(), ErrDialog(), and languageChange().
QGroupBox* ErrDialog::groupBox1 [private] |
Referenced by ErrDialog(), and languageChange().
QGroupBox* ErrDialog::groupBox2 [private] |
QGroupBox * ErrDialog::groupBox3 [private] |
Referenced by ErrDialog().
QComboBox* ErrDialog::nameLabel [private] |
Referenced by add(), ErrDialog(), and setCurveNames().
QRadioButton* ErrDialog::percentBox [private] |
Referenced by add(), ErrDialog(), and languageChange().
QList<MdiSubWindow*> ErrDialog::srcTables [private] |
Referenced by selectSrcTable(), and setSrcTables().
QRadioButton* ErrDialog::standardBox [private] |
Referenced by ErrDialog(), and languageChange().
QComboBox * ErrDialog::tableNamesBox [private] |
Referenced by add(), ErrDialog(), and setSrcTables().
QLabel* ErrDialog::textLabel1 [private] |
Referenced by ErrDialog(), and languageChange().
DoubleSpinBox* ErrDialog::valueBox [private] |
Referenced by add(), and ErrDialog().
QRadioButton* ErrDialog::xErrBox [private] |
Referenced by add(), ErrDialog(), and languageChange().
QRadioButton* ErrDialog::yErrBox [private] |
Referenced by ErrDialog(), and languageChange().