The position of a group with a list view is stable, i.e. it does not change when the sorting of the list view changes.
Definition at line 164 of file tolists.h.
OSB_GUI::ToGroup::ToGroup | ( | QListView * | parent, | |
int | key, | |||
const QString & | label | |||
) |
Constructor with parent, sort key and label.
OSB_GUI::ToGroup::ToGroup | ( | QListViewItem * | parent, | |
int | key, | |||
const QString & | label | |||
) |
Constructor with parent, sort key and label.
OSB_GUI::ToGroup::ToGroup | ( | QListViewItem * | parent | ) | [explicit] |
Constructor with parent.
virtual bool OSB_GUI::ToGroup::commandEvent | ( | ToMenuCmd | cmd | ) | [virtual] |
Execute command from tariff object menu.
cmd | Command to execute. |
Implements OSB_GUI::ToListItem.
Reimplemented in OSB_GUI::CpList, and OSB_GUI::E164List.
virtual void OSB_GUI::ToGroup::newObject | ( | ) | [pure virtual] |
Create a new tariff object.
Implemented in OSB_GUI::CpList, OSB_GUI::E164List, OSB_GUI::TzList, OSB_GUI::RsList, OSB_GUI::ScList, OSB_GUI::ScsList, OSB_GUI::TcList, OSB_GUI::TcsList, OSB_GUI::TfList, OSB_GUI::RfList, OSB_GUI::DcList, OSB_GUI::TpList, OSB_GUI::TpsList, and OSB_GUI::TsList.
virtual void OSB_GUI::ToGroup::populate | ( | ) | [pure virtual] |
Show the tariff objects.
This member is called from setOpen().
Implemented in OSB_GUI::CpList, OSB_GUI::E164List, OSB_GUI::TzList, OSB_GUI::RsList, OSB_GUI::ScList, OSB_GUI::ScsList, OSB_GUI::TcList, OSB_GUI::TcsList, OSB_GUI::TfList, OSB_GUI::RfList, OSB_GUI::DcList, OSB_GUI::TpList, OSB_GUI::TpsList, and OSB_GUI::TsList.
virtual void OSB_GUI::ToGroup::setOpen | ( | bool | open | ) | [protected, virtual] |
Open or close the item.
Deletes all children of the item and calls populate() if open is true.
virtual bool OSB_GUI::ToGroup::setupMenu | ( | ToMenu & | toMenu | ) | [virtual] |
Configure the tariff object menu.
toMenu | Tariff object menu to configure. |
Implements OSB_GUI::ToListItem.
Reimplemented in OSB_GUI::CpList, and OSB_GUI::E164List.