OSB_GUI::DlgRfSc Class Reference

Inheritance diagram for OSB_GUI::DlgRfSc:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Dialog to configure a OSB_LIB::RfStairCase.

Definition at line 69 of file dlgrfsc.h.

Public Member Functions

Private Member Functions

Private Attributes


Constructor & Destructor Documentation

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

Constructor with Qt arguments.


Member Function Documentation

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

Set the widgets for a staircase 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::DlgRfSc::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::DlgRfSc::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::DlgRfSc::languageChange (  )  [virtual]

Process a language change.

Reimplemented from OSB_GUI::DlgRfBase.

int OSB_GUI::DlgRfSc::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

RfScCharges* OSB_GUI::DlgRfSc::chargeTab_ [private]

Definition at line 111 of file dlgrfsc.h.

const OSB_LIB::RfStairCase* OSB_GUI::DlgRfSc::rfShown_ [private]

Rating function being shown.

Definition at line 109 of file dlgrfsc.h.


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