OSB_GUI::StreamStatusPopup Class Reference

Inheritance diagram for OSB_GUI::StreamStatusPopup:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Popup widget to select a record stream status.

Definition at line 120 of file streamutils.h.

Signals

Public Member Functions

Private Slots

Private Member Functions

Private Attributes


Constructor & Destructor Documentation

OSB_GUI::StreamStatusPopup::StreamStatusPopup ( QWidget parent = 0,
const char *  name = "rsStatusPopup_",
WFlags  flags = Qt::WType_Popup 
)

Constructor with Qt arguments.


Member Function Documentation

void OSB_GUI::StreamStatusPopup::accept (  )  [private, slot]

Accept the selected stream status.

Emits accepted() and closed the widget.

void OSB_GUI::StreamStatusPopup::accepted ( OSB_LIB::RecordStream::Status  rs  )  [signal]

Emitted signal if the user confirms the selected status.

Parameters:
rs The selected stream status.

void OSB_GUI::StreamStatusPopup::add ( OSB_LIB::RecordStream::Status  rs,
int  row 
) [private]

Add a stream status.

Parameters:
rs Stream status to add.
row Layout row of the status.

void OSB_GUI::StreamStatusPopup::clear (  )  [private]

Remove all status radios and labels.

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

Handle pressed keys.

Calls accept if Enter or Return was pressed,
otherwise closes the widget.

void OSB_GUI::StreamStatusPopup::popup ( OSB_LIB::RecordStream::Status  rs,
bool  all,
const QWidget widget 
)

Display the widget as popup for another widget.

Parameters:
rs Current status of the record stream.
all Flag to offer all stream status.
widget Widget that causes the popup, typically this is a QButton.
Emits accepted() if user confirms the selected status.

void OSB_GUI::StreamStatusPopup::popup ( OSB_LIB::RecordStream::Status  rs,
bool  all,
const QPoint &  pos 
)

Display the widget.

Parameters:
rs Current status of the record stream.
all Flag to offer all stream status.
pos Upper-left corner of this widget.
Emits accepted() if user confirms the selected status.

OSB_LIB::RecordStream::Status OSB_GUI::StreamStatusPopup::rsStatus (  )  const

Get the selected stream status.

void OSB_GUI::StreamStatusPopup::setup ( OSB_LIB::RecordStream::Status  rs,
bool  all 
) [private]

Setup for a stream status.

Parameters:
rs Current status of the stream.
all Flag to offer all stream status.


Member Data Documentation

QVBoxLayout* OSB_GUI::StreamStatusPopup::layout_ [private]

Layout of the whole widget.

Definition at line 220 of file streamutils.h.

QFrame* OSB_GUI::StreamStatusPopup::linePb_ [private]

Line above the push button OK.

Definition at line 214 of file streamutils.h.

QPushButton* OSB_GUI::StreamStatusPopup::pbOk_ [private]

The OK push button.

Definition at line 216 of file streamutils.h.

QButtonGroup* OSB_GUI::StreamStatusPopup::radioGroup_ [private]

Button group for status radio buttons.

Definition at line 212 of file streamutils.h.

QGridLayout* OSB_GUI::StreamStatusPopup::rsLayout_ [private]

Layout for the status radios and labels.

Definition at line 218 of file streamutils.h.


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