#include <view.h>
Inherits TQWidget.
View is part of the user interface of a Player.
Definition at line 34 of file tdemediaplayer/view.h.
◆ Button
◆ View()
KMediaPlayer::View::View |
( |
TQWidget * |
parent, |
|
|
const char * |
name |
|
) |
| |
Your typical TQWidget constructor.
Definition at line 33 of file view.cpp.
◆ button
bool KMediaPlayer::View::button |
( |
int |
b | ) |
|
|
slot |
Returns if a particular button is being displayed.
Definition at line 59 of file view.cpp.
◆ buttons()
int KMediaPlayer::View::buttons |
( |
void |
| ) |
|
Return which buttons are being displayed.
Definition at line 45 of file view.cpp.
◆ buttonsChanged
void KMediaPlayer::View::buttonsChanged |
( |
int |
| ) |
|
|
signal |
Emitted when the set of displayed buttons changes.
◆ hideButton
void KMediaPlayer::View::hideButton |
( |
int |
b | ) |
|
|
slot |
Stop displaying a particular button.
Definition at line 69 of file view.cpp.
◆ setButtons
void KMediaPlayer::View::setButtons |
( |
int |
buttons | ) |
|
|
slot |
Set which buttons to display.
See Button.
Definition at line 50 of file view.cpp.
◆ setVideoWidget()
void KMediaPlayer::View::setVideoWidget |
( |
TQWidget * |
videoWidget | ) |
|
|
protected |
The implementing view should set the widget in which the video will be displayed.
KMediaPlayer users may reparent() it to somewhere else, for example.
Definition at line 79 of file view.cpp.
◆ showButton
void KMediaPlayer::View::showButton |
( |
int |
b | ) |
|
|
slot |
Display a particular button.
Definition at line 64 of file view.cpp.
◆ toggleButton
void KMediaPlayer::View::toggleButton |
( |
int |
b | ) |
|
|
slot |
Toggle the display of a particular button.
Definition at line 74 of file view.cpp.
◆ videoWidget()
TQWidget * KMediaPlayer::View::videoWidget |
( |
| ) |
|
Return the TQWidget in which video is displayed.
May Return 0L if there is none.
Definition at line 84 of file view.cpp.
The documentation for this class was generated from the following files: