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

An Interface for investigator information. More...

#include "us_investigator.h"

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

Classes

class  US_InvestigatorData
 A class for storing investigator data in the DB. More...
 

Signals

void investigator_accepted (int investigatorID)
 A signal that returns data to the invoking program. More...
 

Public Member Functions

 US_Investigator (bool=false, int=-1)
 
- 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 queryDB (void)
 
void update (void)
 
void reset (void)
 
void close (void)
 
void limit_names (const QString &)
 
void get_inv_data (QListWidgetItem *)
 
void help (void)
 

Private Member Functions

bool check_fields (void)
 
bool changed (void)
 

Private Attributes

bool signal_wanted
 
US_InvestigatorData info
 
QList< US_InvestigatorDatainvestigators
 
QLineEdit * le_search
 
QLineEdit * le_invID
 
QLineEdit * le_invGuid
 
QLineEdit * le_fname
 
QLineEdit * le_lname
 
QLineEdit * le_address
 
QLineEdit * le_city
 
QLineEdit * le_state
 
QLineEdit * le_zip
 
QLineEdit * le_phone
 
QLineEdit * le_email
 
QLineEdit * le_org
 
QListWidget * lw_names
 
QPushButton * pb_update
 
US_Help showHelp
 

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

An Interface for investigator information.

An interface for personal information. This interface can be found in "Database->Commit Data to DB->Investigator" and other places. The program will save investigator information to database table 'people'.

Definition at line 19 of file us_investigator.h.

Constructor & Destructor Documentation

US_Investigator::US_Investigator ( bool  signal = false,
int  inv = -1 
)

Construct a new US_Investigator interface.

Definition at line 13 of file us_investigator.cpp.

Member Function Documentation

bool US_Investigator::changed ( void  )
private

Definition at line 498 of file us_investigator.cpp.

bool US_Investigator::check_fields ( void  )
private

Definition at line 452 of file us_investigator.cpp.

void US_Investigator::close ( void  )
privateslot

Definition at line 391 of file us_investigator.cpp.

void US_Investigator::get_inv_data ( QListWidgetItem *  item)
privateslot

Definition at line 332 of file us_investigator.cpp.

void US_Investigator::help ( void  )
inlineprivateslot

Definition at line 87 of file us_investigator.h.

void US_Investigator::investigator_accepted ( int  investigatorID)
signal

A signal that returns data to the invoking program.

Parameters
investigatorIDThe index in the database for this person
void US_Investigator::limit_names ( const QString &  s)
privateslot

Definition at line 315 of file us_investigator.cpp.

void US_Investigator::queryDB ( void  )
privateslot

Definition at line 201 of file us_investigator.cpp.

void US_Investigator::reset ( void  )
privateslot

Definition at line 420 of file us_investigator.cpp.

void US_Investigator::update ( void  )
privateslot

Definition at line 240 of file us_investigator.cpp.

Member Data Documentation

US_InvestigatorData US_Investigator::info
private

Definition at line 54 of file us_investigator.h.

QList< US_InvestigatorData > US_Investigator::investigators
private

Definition at line 55 of file us_investigator.h.

QLineEdit* US_Investigator::le_address
private

Definition at line 62 of file us_investigator.h.

QLineEdit* US_Investigator::le_city
private

Definition at line 63 of file us_investigator.h.

QLineEdit* US_Investigator::le_email
private

Definition at line 67 of file us_investigator.h.

QLineEdit* US_Investigator::le_fname
private

Definition at line 60 of file us_investigator.h.

QLineEdit* US_Investigator::le_invGuid
private

Definition at line 59 of file us_investigator.h.

QLineEdit* US_Investigator::le_invID
private

Definition at line 58 of file us_investigator.h.

QLineEdit* US_Investigator::le_lname
private

Definition at line 61 of file us_investigator.h.

QLineEdit* US_Investigator::le_org
private

Definition at line 68 of file us_investigator.h.

QLineEdit* US_Investigator::le_phone
private

Definition at line 66 of file us_investigator.h.

QLineEdit* US_Investigator::le_search
private

Definition at line 57 of file us_investigator.h.

QLineEdit* US_Investigator::le_state
private

Definition at line 64 of file us_investigator.h.

QLineEdit* US_Investigator::le_zip
private

Definition at line 65 of file us_investigator.h.

QListWidget* US_Investigator::lw_names
private

Definition at line 70 of file us_investigator.h.

QPushButton* US_Investigator::pb_update
private

Definition at line 72 of file us_investigator.h.

US_Help US_Investigator::showHelp
private

Definition at line 74 of file us_investigator.h.

bool US_Investigator::signal_wanted
private

Definition at line 53 of file us_investigator.h.


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