OSB_GUI::LeServiceElement Class Reference

Inheritance diagram for OSB_GUI::LeServiceElement:

Inheritance graph
[legend]
Collaboration diagram for OSB_GUI::LeServiceElement:

Collaboration graph
[legend]
List of all members.

Detailed Description

Lineedit to select a service element.

Definition at line 256 of file serviceutils.h.

Signals

Public Member Functions

Private Slots

Private Member Functions

Private Attributes


Constructor & Destructor Documentation

OSB_GUI::LeServiceElement::LeServiceElement ( QWidget parent,
const char *  name = "leSe_" 
) [explicit]

Constructor with Qt arguments.


Member Function Documentation

void OSB_GUI::LeServiceElement::clear (  ) 

Clear the selected service element.

void OSB_GUI::LeServiceElement::focusInEvent ( QFocusEvent *  event  )  [private]

Select the whole text when receiving the focus.

bool OSB_GUI::LeServiceElement::haveSe (  )  const

Service element set?

void OSB_GUI::LeServiceElement::keyPressEvent ( QKeyEvent *  event  )  [private]

Call selectSe() if a key is pressed.

void OSB_GUI::LeServiceElement::mousePressEvent ( QMouseEvent *  event  )  [private]

Call selectSe() if the left mouse button is pressed.

const OSB_LIB::ServiceElement& OSB_GUI::LeServiceElement::se (  )  const

Get the selected service element.

void OSB_GUI::LeServiceElement::seChanged (  )  [signal]

Signal sent if the service element has changed.

void OSB_GUI::LeServiceElement::selectSe (  )  [private, slot]

Popup the SE selection.

void OSB_GUI::LeServiceElement::selectSeClosed ( bool  result  )  [private, slot]

Get service element from SE selection.

void OSB_GUI::LeServiceElement::setSe ( const OSB_LIB::ServiceElement se  ) 

Set the service element.

Parameters:
se The service element, it may be empty.

void OSB_GUI::LeServiceElement::setSelectSe ( SelectSe selectSe  ) 

Set the service element popup.

void OSB_GUI::LeServiceElement::setText ( const OSB_LIB::ServiceElement se  ) 

Set the service element.

Note:
Wraps to setSe(), intentionally hides QLineEdit::setText().


Member Data Documentation

OSB_LIB::ServiceElement OSB_GUI::LeServiceElement::se_ [private]

The current service element.

Definition at line 303 of file serviceutils.h.

SelectSe* OSB_GUI::LeServiceElement::selectSe_ [private]

Service element popup to use.

Definition at line 305 of file serviceutils.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:21:23 2006 for OSB Library by  doxygen 1.4.7