OSB_GUI::DlgRfSlot Class Reference

Inheritance diagram for OSB_GUI::DlgRfSlot:

Inheritance graph
[legend]
Collaboration diagram for OSB_GUI::DlgRfSlot:

Collaboration graph
[legend]
List of all members.

Detailed Description

Dialog to configure a OSB_LIB::RfSlot.

Definition at line 71 of file dlgrfslot.h.

Public Member Functions

Private Member Functions

Private Attributes


Constructor & Destructor Documentation

OSB_GUI::DlgRfSlot::DlgRfSlot ( QWidget parent,
const char *  name = "DlgRfSlot",
bool  modal = false,
WFlags  fl = 0 
)

Constructor with Qt arguments.


Member Function Documentation

void OSB_GUI::DlgRfSlot::display ( const OSB_LIB::RfSlot rf,
const OSB_LIB::ChargeTraits ct,
bool  showOnly 
) [private]

Set the widgets for a slot rating function.

Parameters:
rf Rating function display.
ct Charge traits of the rating function.
See showRf() for details.
showOnly Flag if the rating function is only displayed.

int OSB_GUI::DlgRfSlot::editRf ( OSB_LIB::RatingFn rf,
OSB_LIB::ChargeTraits ct 
) [virtual]

Edit a rating function.

Parameters:
rf Rating function to edit and populate.
ct Charge traits of the rating function.
See showRf() for details.
Exceptions:
OSB_LIB::OsbException by derived classes if rf does not have the correct type.
Returns:
The QDialog execution code. rf is populated only if it is QDialog::Accepted.

Implements OSB_GUI::DlgRfBase.

const OSB_LIB::RatingFn* OSB_GUI::DlgRfSlot::getRf (  )  const [private, virtual]

Get the rating function.

This member is called from testRf(). This functionality is available only if the rating function is shown.

Returns:
Reference to the rating function that is currently being shown.
The pointer may be 0 if the rating function currently being edited or is otherwise not available.

Implements OSB_GUI::DlgRfBase.

void OSB_GUI::DlgRfSlot::languageChange (  )  [virtual]

Process a language change.

Reimplemented from OSB_GUI::DlgRfBase.

int OSB_GUI::DlgRfSlot::showRf ( const OSB_LIB::RatingFn rf,
const OSB_LIB::ChargeTraits ct 
) [virtual]

Show a rating function.

Parameters:
rf Rating function to show.
ct Charge traits of the rating function.
They should be default constructed if the rating function's charge trait are not defined yet.
Exceptions:
OSB_LIB::OsbException by derived classes if rf does not have the correct type.
Returns:
The QDialog execution code.

Implements OSB_GUI::DlgRfBase.


Member Data Documentation

RfSlotCharges* OSB_GUI::DlgRfSlot::chargeTab_ [private]

Definition at line 114 of file dlgrfslot.h.

const OSB_LIB::RfSlot* OSB_GUI::DlgRfSlot::rfShown_ [private]

Rating function being shown.

Definition at line 112 of file dlgrfslot.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:20:30 2006 for OSB Library by  doxygen 1.4.7