~ubuntu-branches/debian/stretch/smplayer/stretch

« back to all changes in this revision

Viewing changes to src/basegui.h

  • Committer: Bazaar Package Importer
  • Author(s): Maia Kozheva
  • Date: 2010-05-09 21:23:36 UTC
  • mfrom: (1.1.11 upstream) (3.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20100509212336-a9jv748zn5625qo7
* New upstream release.
* debian/control:
  - Removed mplayer-nogui from Depends, as it is now a transitional package
    to mplayer in both Debian and Ubuntu.
  - Bumped Standards-Version to 3.8.4 (no changes needed).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*  smplayer, GUI front-end for mplayer.
2
 
    Copyright (C) 2006-2009 Ricardo Villalba <rvm@escomposlinux.org>
 
2
    Copyright (C) 2006-2010 Ricardo Villalba <rvm@escomposlinux.org>
3
3
 
4
4
    This program is free software; you can redistribute it and/or modify
5
5
    it under the terms of the GNU General Public License as published by
134
134
        virtual void checkStayOnTop(Core::State);
135
135
        void toggleStayOnTop();
136
136
 
137
 
        virtual void toggleFrameCounter();
138
 
        virtual void toggleFrameCounter(bool);
 
137
        void setForceCloseOnFinish(int n) { arg_close_on_finish = n; };
 
138
        int forceCloseOnFinish() { return arg_close_on_finish; };
 
139
 
 
140
        void setForceStartInFullscreen(int n) { arg_start_in_fullscreen = n; };
 
141
        int forceStartInFullscreen() { return arg_start_in_fullscreen; };
 
142
 
139
143
 
140
144
protected slots:
141
145
        virtual void closeWindow();
253
257
 
254
258
signals:
255
259
        void frameChanged(int);
 
260
        void ABMarkersChanged(int secs_a, int secs_b);
 
261
        void videoInfoChanged(int width, int height, double fps);
256
262
        void timeChanged(QString time_ready_to_print);
257
263
 
258
264
        void cursorNearTop(QPoint);
337
343
        MyAction * forward2Act;
338
344
        MyAction * forward3Act;
339
345
        MyAction * repeatAct;
 
346
        MyAction * setAMarkerAct;
 
347
        MyAction * setBMarkerAct;
 
348
        MyAction * clearABMarkersAct;
340
349
        MyAction * gotoAct;
341
350
 
342
351
        // Menu Speed
403
412
        // Menu Options
404
413
        MyAction * showPlaylistAct;
405
414
        MyAction * showPropertiesAct;
406
 
        MyAction * frameCounterAct;
407
415
        MyAction * motionVectorsAct;
408
416
        MyAction * showPreferencesAct;
409
417
        MyAction * showLogMplayerAct;
449
457
        MyAction * nextAspectAct;
450
458
        MyAction * nextWheelFunctionAct;
451
459
 
 
460
        MyAction * showFilenameAct;
 
461
        MyAction * toggleDeinterlaceAct;
 
462
 
452
463
        // Moving and zoom
453
464
        MyAction * moveUpAct;
454
465
        MyAction * moveDownAct;
461
472
        MyAction * autoZoom169Act;
462
473
        MyAction * autoZoom235Act;
463
474
 
 
475
#if USE_MPLAYER_PANSCAN
 
476
        MyAction * incPanscanAct;
 
477
        MyAction * decPanscanAct;
 
478
#endif
 
479
 
464
480
        // OSD Action Group 
465
481
        MyActionGroup * osdGroup;
466
482
        MyAction * osdNoneAct;
593
609
        QMenu * stereomode_menu;
594
610
 
595
611
        QMenu * speed_menu;
 
612
        QMenu * ab_menu; // A-B menu
596
613
        QMenu * videofilter_menu;
597
614
        QMenu * audiofilter_menu;
598
615
        QMenu * logs_menu;
599
 
        QMenu * panscan_menu;
 
616
        QMenu * zoom_menu;
600
617
        QMenu * rotate_menu;
601
618
        QMenu * ontop_menu;
602
619
#if USE_ADAPTER
630
647
 
631
648
        QString pending_actions_to_run;
632
649
 
 
650
        // Force settings from command line
 
651
        int arg_close_on_finish; // -1 = not set, 1 = true, 0 = false
 
652
        int arg_start_in_fullscreen; // -1 = not set, 1 = true, 0 = false
 
653
 
633
654
private:
634
655
        QString default_style;
635
656