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

Create a Lyaout with radio buttons for selection of disk or DB selection. More...

#include "us_widgets.h"

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

Public Types

enum  type { Default, DB, Disk }
 Define a type of data access. More...
 

Signals

void changed (bool)
 A signal to indicate that the current selection has changed. More...
 

Public Member Functions

 US_Disk_DB_Controls (int=Default)
 Build a widget with radio buttons for selection of disk or database access. More...
 
bool db (void)
 A function to determine if the DB radio buttone is set. More...
 
void set_disk (void)
 A utility routine to set the disk radio button. More...
 
void set_db (void)
 A utility routine to set the DB radio button. More...
 

Private Slots

void rb_changed (bool)
 

Private Member Functions

QGridLayout * us_radiobutton (const QString &text, QRadioButton *&rb, bool state=false)
 

Private Attributes

QRadioButton * rb_disk
 
QRadioButton * rb_db
 

Detailed Description

Create a Lyaout with radio buttons for selection of disk or DB selection.

Definition at line 213 of file us_widgets.h.

Member Enumeration Documentation

Define a type of data access.

Enumerator
Default 
DB 
Disk 

Definition at line 219 of file us_widgets.h.

Constructor & Destructor Documentation

US_Disk_DB_Controls::US_Disk_DB_Controls ( int  state = Default)

Build a widget with radio buttons for selection of disk or database access.

Parameters
stateIndicates the button to be initially set. The

Definition at line 690 of file us_widgets.cpp.

Member Function Documentation

void US_Disk_DB_Controls::changed ( bool  )
signal

A signal to indicate that the current selection has changed.

bool US_Disk_DB_Controls::db ( void  )

A function to determine if the DB radio buttone is set.

Returns
True if the DB radio button is set

Definition at line 713 of file us_widgets.cpp.

void US_Disk_DB_Controls::rb_changed ( bool  )
privateslot

Definition at line 732 of file us_widgets.cpp.

void US_Disk_DB_Controls::set_db ( void  )

A utility routine to set the DB radio button.

Definition at line 718 of file us_widgets.cpp.

void US_Disk_DB_Controls::set_disk ( void  )

A utility routine to set the disk radio button.

Definition at line 725 of file us_widgets.cpp.

QGridLayout * US_Disk_DB_Controls::us_radiobutton ( const QString &  text,
QRadioButton *&  rb,
bool  state = false 
)
private

Definition at line 738 of file us_widgets.cpp.

Member Data Documentation

QRadioButton* US_Disk_DB_Controls::rb_db
private

Definition at line 243 of file us_widgets.h.

QRadioButton* US_Disk_DB_Controls::rb_disk
private

Definition at line 242 of file us_widgets.h.


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