Definition at line 65 of file cputils.h.
OSB_GUI::LvCpSelect::LvCpSelect | ( | QWidget * | parent, | |
const char * | name = "lvCpSelect_" , |
|||
WFlags | f = 0 | |||
) | [explicit] |
Constructor with Qt arguments.
OSB_LIB::Id<OSB_LIB::ConnectionPt> OSB_GUI::LvCpSelect::cpId | ( | ) | const |
Object id of selected CP, it might not be set.
const std::string OSB_GUI::LvCpSelect::cpName | ( | ) | const |
Get name of connection point.
Item* OSB_GUI::LvCpSelect::findItem | ( | const OSB_LIB::Id< OSB_LIB::ConnectionPt > & | cpId, | |
QListViewItem * | fristChild | |||
) | [private] |
Find a connection point in the items.
void OSB_GUI::LvCpSelect::populate | ( | ) |
Populate the listview from the tariff catalogue.
void OSB_GUI::LvCpSelect::setCpId | ( | const OSB_LIB::Id< OSB_LIB::ConnectionPt > & | cpId | ) |
Set the selected CP.
cpId | Connection point to select. If not set, the selection is cleared. |