UltraScan III
List of all members | Signals | Public Member Functions | Private Slots | Private Attributes
US_Choice Class Reference

#include "us_choice.h"

Inheritance diagram for US_Choice:
Inheritance graph
[legend]
Collaboration diagram for US_Choice:
Collaboration graph
[legend]

Signals

void choice (int value)
 Return the user's choice. More...
 

Public Member Functions

 US_Choice (const US_Solution &)
 Constructor of a Choice dialog to act on a solution. More...
 
- Public Member Functions inherited from US_WidgetsDialog
 US_WidgetsDialog (QWidget *, Qt::WindowFlags)
 
QLabel * us_label (const QString &, int=0, int=QFont::Bold)
 
QLabel * us_textlabel (const QString &, int=-1, int=QFont::Bold)
 
QLabel * us_banner (const QString &, int=0, int=QFont::Bold)
 
QPushButton * us_pushbutton (const QString &, bool=true, int=0)
 
QTextEdit * us_textedit (void)
 
QLineEdit * us_lineedit (const QString &=0, int=0, bool=false)
 
void us_setReadOnly (QLineEdit *, bool=true)
 
void us_setReadOnly (QTextEdit *, bool=true)
 
QListWidget * us_listwidget (int=0)
 
QGridLayout * us_checkbox (const QString &, QCheckBox *&, bool=false)
 
QGridLayout * us_radiobutton (const QString &text, QRadioButton *&rb, bool state=false)
 
QProgressBar * us_progressBar (int, int, int=0)
 
QComboBox * us_comboBox (void)
 
QLCDNumber * us_lcd (int, int=0)
 
QwtCounter * us_counter (int, double, double, double=0.0)
 
QwtPlot * us_plot (const QString &, const QString &=QString(), const QString &=QString())
 
QwtPlotGrid * us_grid (QwtPlot *)
 
QwtPlotCurve * us_curve (QwtPlot *, const QString &)
 
QwtPlotPicker * us_picker (QwtPlot *)
 
QTabWidget * us_tabwidget (int=0, int=QFont::Bold)
 

Private Slots

void done (void)
 

Private Attributes

QList< QRadioButton * > radios
 

Additional Inherited Members

- Public Attributes inherited from US_WidgetsDialog
US_Global g
 Connect to global memory and make the values accessible. More...
 
QPalette vlgray
 Very light gray palette for read-only line edits. More...
 

Detailed Description

A class to provide a choice of values. It is generally used for selecting one analyte out of a solution with multiple analytes.

Definition at line 14 of file us_choice.h.

Constructor & Destructor Documentation

US_Choice::US_Choice ( const US_Solution solution)

Constructor of a Choice dialog to act on a solution.

Parameters
solutionThe solution for which an analyte choice is made.

Definition at line 6 of file us_choice.cpp.

Member Function Documentation

void US_Choice::choice ( int  value)
signal

Return the user's choice.

void US_Choice::done ( void  )
privateslot

Definition at line 53 of file us_choice.cpp.

Member Data Documentation

QList< QRadioButton* > US_Choice::radios
private

Definition at line 28 of file us_choice.h.


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