

Definition at line 120 of file streamutils.h.
| OSB_GUI::StreamStatusPopup::StreamStatusPopup | ( | QWidget * | parent = 0, |
|
| const char * | name = "rsStatusPopup_", |
|||
| WFlags | flags = Qt::WType_Popup | |||
| ) |
Constructor with Qt arguments.
| 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.
| rs | The selected stream status. |
| void OSB_GUI::StreamStatusPopup::add | ( | OSB_LIB::RecordStream::Status | rs, | |
| int | row | |||
| ) | [private] |
Add a stream status.
| 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.
| 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. |
| void OSB_GUI::StreamStatusPopup::popup | ( | OSB_LIB::RecordStream::Status | rs, | |
| bool | all, | |||
| const QPoint & | pos | |||
| ) |
Display the widget.
| rs | Current status of the record stream. | |
| all | Flag to offer all stream status. | |
| pos | Upper-left corner of this widget. |
| 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.
| rs | Current status of the stream. | |
| all | Flag to offer all stream status. |
QVBoxLayout* OSB_GUI::StreamStatusPopup::layout_ [private] |
QFrame* OSB_GUI::StreamStatusPopup::linePb_ [private] |
QPushButton* OSB_GUI::StreamStatusPopup::pbOk_ [private] |
QGridLayout* OSB_GUI::StreamStatusPopup::rsLayout_ [private] |
1.4.7