Definition at line 69 of file dlgrfsc.h.
OSB_GUI::DlgRfSc::DlgRfSc | ( | QWidget * | parent, | |
const char * | name = "DlgRfSc" , |
|||
bool | modal = false , |
|||
WFlags | fl = 0 | |||
) |
Constructor with Qt arguments.
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.
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.
rf | Rating function to edit and populate. | |
ct | Charge traits of the rating function. See showRf() for details. |
OSB_LIB::OsbException | by derived classes if rf does not have the correct type. |
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.
Implements OSB_GUI::DlgRfBase.
void OSB_GUI::DlgRfSc::languageChange | ( | ) | [virtual] |
int OSB_GUI::DlgRfSc::showRf | ( | const OSB_LIB::RatingFn & | rf, | |
const OSB_LIB::ChargeTraits & | ct | |||
) | [virtual] |
Show a rating function.
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. |
OSB_LIB::OsbException | by derived classes if rf does not have the correct type. |
Implements OSB_GUI::DlgRfBase.
RfScCharges* OSB_GUI::DlgRfSc::chargeTab_ [private] |
const OSB_LIB::RfStairCase* OSB_GUI::DlgRfSc::rfShown_ [private] |