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

#include "us_table.h"

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

Public Member Functions

 US_Table (QMap< double, double > &, const QString &, bool &, QWidget *=0, Qt::WindowFlags=0)
 
- 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)
 
void edited (void)
 
void new_row (void)
 
void delete_row (QListWidgetItem *)
 

Private Member Functions

void update (void)
 

Private Attributes

QMap< double, double > & values
 
bool changed
 
QMap< double, double > local
 
QListWidget * lw_table
 
QLineEdit * le_wl
 
QLineEdit * le_value
 

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 input and update of a QMap structure. It is generally used for updating spectrum values in US_Buffer and US_Analyte.

Definition at line 13 of file us_table.h.

Constructor & Destructor Documentation

US_Table::US_Table ( QMap< double, double > &  map,
const QString &  type,
bool &  change,
QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)
Parameters
map- The QMap to be updated
type- The type of spectrum. One of Extinction, Refraction, or Fluorescence.
change- A boolean to indicate if a change was made.
parent- The parent widget of this class. This value is normally not specified.
f- The Qt window flags of this class. This value is normally not specified.

Definition at line 5 of file us_table.cpp.

Member Function Documentation

void US_Table::delete_row ( QListWidgetItem *  item)
privateslot

Definition at line 133 of file us_table.cpp.

void US_Table::done ( void  )
privateslot

Definition at line 66 of file us_table.cpp.

void US_Table::edited ( void  )
privateslot

Definition at line 77 of file us_table.cpp.

void US_Table::new_row ( void  )
privateslot

Definition at line 126 of file us_table.cpp.

void US_Table::update ( void  )
private

Definition at line 110 of file us_table.cpp.

Member Data Documentation

bool US_Table::changed
private

Definition at line 33 of file us_table.h.

QLineEdit* US_Table::le_value
private

Definition at line 38 of file us_table.h.

QLineEdit* US_Table::le_wl
private

Definition at line 37 of file us_table.h.

QMap< double, double > US_Table::local
private

Definition at line 34 of file us_table.h.

QListWidget* US_Table::lw_table
private

Definition at line 35 of file us_table.h.

QMap< double, double >& US_Table::values
private

Definition at line 32 of file us_table.h.


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