#define I_PLAY_TOOLTIP N_("Play\nIf the playlist is empty, open a media")
+#define MAIN_TB1_DEFAULT "64;39;64;38;65"
+#define MAIN_TB2_DEFAULT "0-2;64;3;1;4;64;7;10;9;64-4;37;65;35-4"
+#define ADV_TB_DEFAULT "12;11;13;14"
+#define INPT_TB_DEFAULT "5-1;33;6-1"
+#define FSC_TB_DEFAULT "0-2;64;3;1;4;64;37;64;38;64;8;65;35-4;34"
+
+
class QPixmap;
class QLabel;
REVERSE_BUTTON,
SKIP_BACK_BUTTON,
SKIP_FW_BUTTON,
+ QUIT_BUTTON,
BUTTON_MAX,
SPLITTER = 0x20,
INPUT_SLIDER,
- VOLUME,
TIME_LABEL,
+ VOLUME,
+ VOLUME_SPECIAL,
MENU_BUTTONS,
TELETEXT_BUTTONS,
ADVANCED_CONTROLLER,
static const QString nameL[BUTTON_MAX] = { "Play", "Stop", "Open",
"Previous", "Next", "Slower", "Faster", "Fullscreen", "De-Fullscreen",
"Extended panel", "Playlist", "Snapshot", "Record", "A->B Loop",
- "Frame By Frame", "Reverse", "Skip backward" , "Skip forward" };
+ "Frame By Frame", "Reverse", "Skip backward" , "Skip forward",
+ "Quit" };
static const QString tooltipL[BUTTON_MAX] = { I_PLAY_TOOLTIP,
_("Stop playback"), _("Open a media"),
_("Previous media in the playlist"),
_("Toggle the video in fullscreen"), _("Toggle the video out fullscreen"),
_("Show extended settings" ), _( "Show playlist" ), _( "Take a snapshot" ),
_( "Record" ), _( "Loop from point A to point B continuously." ),
- _("Frame by frame"), _("Reverse"), _("Skip backward"), _("Skip forward") };
+ _("Frame by frame"), _("Reverse"), _("Skip backward"), _("Skip forward"),
+ _("Quit") };
static const QString iconL[BUTTON_MAX] ={ ":/play_b", ":/stop_b", ":/eject",
":/previous_b", ":/next_b", ":/slower", ":/faster", ":/fullscreen",
":/defullscreen", ":/extended", ":/playlist", ":/snapshot", ":/record",
- ":/atob_nob", ":/frame", ":/reverse", ":/skip_back", ":/skip_fw" };
-
-typedef enum actionType_e
-{
- PLAY_ACTION,
- STOP_ACTION,
- OPEN_ACTION,
- PREVIOUS_ACTION,
- NEXT_ACTION,
- SLOWER_ACTION,
- FASTER_ACTION,
- FULLSCREEN_ACTION,
- EXTENDED_ACTION,
- PLAYLIST_ACTION,
- SNAPSHOT_ACTION,
- RECORD_ACTION,
- FRAME_ACTION,
- ATOB_ACTION,
- REVERSE_ACTION,
- SKIP_BACK_ACTION,
- SKIP_FW_ACTION,
-} actionType_e;
+ ":/atob_nob", ":/frame", ":/reverse", ":/skip_back", ":/skip_fw",
+ ":/clear" };
enum
{
QFrame *telexFrame();
protected slots:
- virtual void doAction( int );
-
-protected slots:
- void play();
- void stop();
- void prev();
- void next();
- void fullscreen();
- void extSettings();
- void faster();
- void slower();
- void reverse();
- void playlist();
- void snapshot();
- void record();
- void frame();
-
virtual void setStatus( int );
signals:
int i_mouse_last_x, i_mouse_last_y;
bool b_mouse_over;
int i_screennumber;
+ QRect screenRes;
#ifdef WIN32TRICK
bool b_fscHidden;