OSB_GUI::LeConnectionPt Class Reference

Inheritance diagram for OSB_GUI::LeConnectionPt:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Lineedit to select a connection point.

Definition at line 216 of file cputils.h.

Public Member Functions

Private Slots

Private Member Functions

Private Attributes


Constructor & Destructor Documentation

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

Constructor with Qt arguments.

Set editable_ to true.


Member Function Documentation

void OSB_GUI::LeConnectionPt::clear (  ) 

Clear the connection point.

const OSB_LIB::Id<OSB_LIB::ConnectionPt>& OSB_GUI::LeConnectionPt::cpId (  )  const

Get the selected connection point.

bool OSB_GUI::LeConnectionPt::editable (  )  const

Flag if the connection point can be changed.

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

Select the whole text when receiving the focus.

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

Call selectCp() if a key is pressed.

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

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

void OSB_GUI::LeConnectionPt::resizeEvent ( QResizeEvent *  event  )  [private]

Handle changes in size.

Sets the width of selectCp_ to own width.

void OSB_GUI::LeConnectionPt::selectCp (  )  [private, slot]

Popup the CP selection.

void OSB_GUI::LeConnectionPt::selectCpClosed ( bool  result  )  [private, slot]

Get connection point from CP selection.

void OSB_GUI::LeConnectionPt::setEditable ( bool  on  ) 

Set if connection point can be changed or not.

void OSB_GUI::LeConnectionPt::setText ( const OSB_LIB::ConnectionPt cp  ) 

Set the connection point.


Member Data Documentation

OSB_LIB::Id<OSB_LIB::ConnectionPt> OSB_GUI::LeConnectionPt::cpId_ [private]

The current connection point.

Definition at line 259 of file cputils.h.

bool OSB_GUI::LeConnectionPt::editable_ [private]

Flag if the connection point can be changed.

Definition at line 261 of file cputils.h.

SelectCp* OSB_GUI::LeConnectionPt::selectCp_ [private]

The CP listview.

Definition at line 263 of file cputils.h.


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