SciDAVis  1.D4
Public Slots | Signals | Public Member Functions | Protected Slots | Private Attributes
ErrDialog Class Reference

Add error bars dialog. More...

#include <ErrDialog.h>

List of all members.

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 (QWidgetList *tables)
 Supply the dialog with a tables list.

Signals

void options (const QString &curveName, int type, const QString &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.
 ~ErrDialog ()
 Destructor.

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< QWidget * > * srcTables
QRadioButton * standardBox
QComboBox * tableNamesBox
QLabel * textLabel1
QLineEdit * valueBox
QRadioButton * xErrBox
QRadioButton * yErrBox

Detailed Description

Add error bars dialog.


Constructor & Destructor Documentation

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

Destructor.


Member Function Documentation

void ErrDialog::add ( )
slot

Add a plot definition.

References colNamesBox, columnBox, nameLabel, options(), percentBox, tableNamesBox, valueBox, and xErrBox.

Referenced by ErrDialog().

void ErrDialog::languageChange ( )
protectedvirtualslot

Set all string in the current language.

References buttonAdd, buttonCancel, columnBox, groupBox1, percentBox, standardBox, textLabel1, valueBox, xErrBox, and yErrBox.

Referenced by ErrDialog().

void ErrDialog::options ( const QString &  curveName,
int  type,
const QString &  percent,
int  direction 
)
signal

This is usually connected to the main window's defineErrorBars() slot.

Referenced by add().

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::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 ( QWidgetList *  tables)
slot

Supply the dialog with a tables list.

References nameLabel, selectSrcTable(), srcTables, and tableNamesBox.

Referenced by ApplicationWindow::addErrorBars().


Member Data Documentation

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
QRadioButton* ErrDialog::percentBox
private

Referenced by add(), ErrDialog(), and languageChange().

QList<QWidget*>* 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().

QLineEdit* ErrDialog::valueBox
private

Referenced by add(), ErrDialog(), and languageChange().

QRadioButton* ErrDialog::xErrBox
private

Referenced by add(), ErrDialog(), and languageChange().

QRadioButton* ErrDialog::yErrBox
private

Referenced by ErrDialog(), and languageChange().


The documentation for this class was generated from the following files: