Definition at line 151 of file serviceutils.h.
OSB_GUI::SelectSe::SelectSe | ( | QWidget * | parent, | |
const char * | name = "selectCp_" , |
|||
WFlags | flags = Qt::WType_Popup | |||
) | [explicit] |
void OSB_GUI::SelectSe::closeEvent | ( | QCloseEvent * | event | ) | [private] |
Handle close events: signals sigClosed().
bool OSB_GUI::SelectSe::keyClosed | ( | ) | const |
Flag if the widget from keyPressEvent().
void OSB_GUI::SelectSe::keyPressEvent | ( | QKeyEvent * | event | ) | [private] |
Handle pressed keys.
Closes the widget for Tab or Shift-Tab or Esc.
For the latter result_ is set to false.
void OSB_GUI::SelectSe::populate | ( | ) |
Populate the listview.
void OSB_GUI::SelectSe::popup | ( | QWidget * | served, | |
const OSB_LIB::ServiceElement::Oid & | seId | |||
) |
Show the widget as pop-up.
served | Widget requesting the pop-up. | |
seId | Service element to select initially. |
void OSB_GUI::SelectSe::resetPrevServed | ( | ) |
Reset prevServed_ to 0.
void OSB_GUI::SelectSe::resizeEvent | ( | QResizeEvent * | event | ) | [private] |
Handle changes in size.
Sets the width of lv_ to own width.
bool OSB_GUI::SelectSe::result | ( | ) | const |
Get the popup result.
const OSB_LIB::ServiceElement OSB_GUI::SelectSe::se | ( | ) | const |
Get the service element.
void OSB_GUI::SelectSe::setSeId | ( | const OSB_LIB::ServiceElement::Oid & | seId | ) |
Set the selected service element.
seId | Service element to select. |
void OSB_GUI::SelectSe::sigClosed | ( | bool | result | ) | [signal] |
Signal sent if widget is closed.
result | false if the popup was escaped, else true. |
bool OSB_GUI::SelectSe::keyClosed_ [private] |
Flag if the widget from keyPressEvent().
If false the widget was closed by a mouse event. However the class does not handle mouse events, so there is a chance that other reasons exist, but AFAIKS these should not be relevant.
Definition at line 246 of file serviceutils.h.
LvServiceTree* OSB_GUI::SelectSe::lv_ [private] |
QWidget* OSB_GUI::SelectSe::prevServed_ [private] |
bool OSB_GUI::SelectSe::result_ [private] |
QWidget* OSB_GUI::SelectSe::served_ [private] |