KMediaPlayer::View Class Reference
#include <view.h>
Inheritance diagram for KMediaPlayer::View:

Detailed Description
View is part of the user interface of a Player.
Definition at line 34 of file kmediaplayer/view.h.
Public Types | |
enum | Button { Play = 1, Stop = 2, Pause = 4, Seeker = 8, All = 255 } |
Public Slots | |
void | setButtons (int) |
bool | button (int) |
void | showButton (int) |
void | hideButton (int) |
void | toggleButton (int) |
Signals | |
void | buttonsChanged (int) |
Public Member Functions | |
View (QWidget *parent, const char *name) | |
virtual | ~View (void) |
int | buttons (void) |
QWidget * | videoWidget () |
Protected Member Functions | |
void | setVideoWidget (QWidget *videoWidget) |
Member Enumeration Documentation
|
The Possible buttons that can appear in the UI.
Definition at line 44 of file kmediaplayer/view.h. |
Constructor & Destructor Documentation
|
Your typical QWidget constructor.
|
Member Function Documentation
|
Returns if a particular button is being displayed.
|
|
Return which buttons are being displayed.
|
|
Emitted when the set of displayed buttons changes.
|
|
Stop displaying a particular button.
|
|
Set which buttons to display. See Button. |
|
The implementing view should set the widget in which the video will be displayed. KMediaPlayer users may reparent() it to somewhere else, for example. |
|
Display a particular button.
|
|
Toggle the display of a particular button.
|
|
Return the QWidget in which video is displayed. May Return 0L if there is none. |
The documentation for this class was generated from the following files: