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

A window to edit a model's associations. More...

#include "us_associations_gui.h"

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

Signals

void done (void)
 A signal that the dialog is complete. More...
 

Public Member Functions

 US_AssociationsGui (US_Model &)
 
- 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 changed (int, int)
 
void del (int)
 
void complete (void)
 
void help (void)
 

Private Member Functions

void new_row (void)
 
void populate (void)
 
void set_component (int, int, int)
 
bool combine_reactants (US_Model::Association *)
 

Private Attributes

US_Modelmodel
 
US_Help showhelp
 
US_ListWidgetlw_analytes
 
QTableWidget * tw
 
QFontMetrics * fm
 
QList< QwtCounter * > keq
 
QList< QwtCounter * > koff
 

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 window to edit a model's associations.

Definition at line 15 of file us_associations_gui.h.

Constructor & Destructor Documentation

US_AssociationsGui::US_AssociationsGui ( US_Model current_model)
Parameters
current_model- Location of model structure for editing

Definition at line 24 of file us_associations_gui.cpp.

Member Function Documentation

void US_AssociationsGui::changed ( int  row,
int  col 
)
privateslot

Definition at line 178 of file us_associations_gui.cpp.

bool US_AssociationsGui::combine_reactants ( US_Model::Association as)
private

Definition at line 380 of file us_associations_gui.cpp.

void US_AssociationsGui::complete ( void  )
privateslot

Definition at line 257 of file us_associations_gui.cpp.

void US_AssociationsGui::del ( int  index)
privateslot

Definition at line 243 of file us_associations_gui.cpp.

void US_AssociationsGui::done ( void  )
signal

A signal that the dialog is complete.

void US_AssociationsGui::help ( void  )
inlineprivateslot

Definition at line 49 of file us_associations_gui.h.

void US_AssociationsGui::new_row ( void  )
private

Definition at line 229 of file us_associations_gui.cpp.

void US_AssociationsGui::populate ( void  )
private

Definition at line 131 of file us_associations_gui.cpp.

void US_AssociationsGui::set_component ( int  index,
int  row,
int  col 
)
private

Definition at line 156 of file us_associations_gui.cpp.

Member Data Documentation

QFontMetrics* US_AssociationsGui::fm
private

Definition at line 34 of file us_associations_gui.h.

QList< QwtCounter* > US_AssociationsGui::keq
private

Definition at line 36 of file us_associations_gui.h.

QList< QwtCounter* > US_AssociationsGui::koff
private

Definition at line 37 of file us_associations_gui.h.

US_ListWidget* US_AssociationsGui::lw_analytes
private

Definition at line 31 of file us_associations_gui.h.

US_Model& US_AssociationsGui::model
private

Definition at line 29 of file us_associations_gui.h.

US_Help US_AssociationsGui::showhelp
private

Definition at line 30 of file us_associations_gui.h.

QTableWidget* US_AssociationsGui::tw
private

Definition at line 32 of file us_associations_gui.h.


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