It provides functionality the edit the members of a rating function.
Definition at line 97 of file dlgrf.h.
OSB_GUI::DlgRfBase::DlgRfBase | ( | QWidget * | parent, | |
const char * | name, | |||
bool | modal = false , |
|||
WFlags | fl = 0 | |||
) |
Constructor with Qt arguments.
void OSB_GUI::DlgRfBase::display | ( | const OSB_LIB::RatingFn & | rf, | |
const OSB_LIB::ChargeTraits & | ct, | |||
bool | showOnly | |||
) | [protected] |
Set the widgets for a 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. |
virtual int OSB_GUI::DlgRfBase::editRf | ( | OSB_LIB::RatingFn * | rf, | |
OSB_LIB::ChargeTraits * | ct | |||
) | [pure 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. |
Implemented in OSB_GUI::DlgRfSc, and OSB_GUI::DlgRfSlot.
virtual const OSB_LIB::RatingFn* OSB_GUI::DlgRfBase::getRf | ( | ) | const [private, pure virtual] |
Get the rating function.
This member is called from testRf(). This functionality is available only if the rating function is shown.
Implemented in OSB_GUI::DlgRfSc, and OSB_GUI::DlgRfSlot.
virtual void OSB_GUI::DlgRfBase::languageChange | ( | ) | [protected, virtual] |
virtual int OSB_GUI::DlgRfBase::showRf | ( | const OSB_LIB::RatingFn & | rf, | |
const OSB_LIB::ChargeTraits & | ct | |||
) | [pure 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. |
Implemented in OSB_GUI::DlgRfSc, and OSB_GUI::DlgRfSlot.
void OSB_GUI::DlgRfBase::testRf | ( | ) | [private, slot] |
Test the rating function.
void OSB_GUI::DlgRfBase::updateRf | ( | OSB_LIB::RatingFn * | rf, | |
OSB_LIB::ChargeTraits * | ct | |||
) | [protected] |
Write widgets content to rating function.
rf | Rating function to populate. | |
ct | Gets the charge traits of the rating function. |