Changeset 181 for smplayer/trunk/src/defaultgui.h
- Timestamp:
- Aug 31, 2016, 5:31:04 PM (9 years ago)
- Location:
- smplayer/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/trunk
- Property svn:mergeinfo changed
/smplayer/vendor/current merged: 179
- Property svn:mergeinfo changed
-
smplayer/trunk/src/defaultgui.h
r176 r181 21 21 22 22 #define BUFFERING_ANIMATION 23 //#define LANGUAGE_TOOLBAR 24 25 #ifdef IDOPT_BUILD 26 #define ADD_QUICK_ACCESS 27 #endif 23 28 24 29 #include "guiconfig.h" … … 72 77 void createActions(); 73 78 void createMenus(); 79 virtual void populateMainMenu(); 74 80 75 81 void loadConfig(); … … 86 92 protected slots: 87 93 virtual void updateWidgets(); 88 virtual void applyNewPreferences();89 virtual void displayTime(QString text);90 94 virtual void displayFrame(int frame); 91 95 virtual void displayABSection(int secs_a, int secs_b); 92 96 virtual void displayVideoInfo(int width, int height, double fps); 97 void checkCompactMode(); 98 #ifdef ADD_QUICK_ACCESS 99 void adaptForTabletMode(); 100 #endif 93 101 94 102 // Reimplemented: … … 109 117 QLabel * ab_section_display; 110 118 QLabel * video_info_display; 119 QLabel * format_info_display; 111 120 #ifdef BUFFERING_ANIMATION 112 121 StateWidget * state_widget; … … 117 126 118 127 EditableToolbar * toolbar1; 128 129 #ifdef LANGUAGE_TOOLBAR 119 130 QToolBar * toolbar2; 120 121 131 QPushButton * select_audio; 122 132 QPushButton * select_subtitle; 133 #endif 123 134 124 135 TimeSliderAction * timeslider_action; … … 132 143 AutohideWidget * floating_control; 133 144 TimeLabelAction * time_label_action; 145 TimeLabelAction * current_time_label_action; 146 TimeLabelAction * total_time_label_action; 147 TimeLabelAction * remaining_time_label_action; 134 148 135 149 MyAction * viewFrameCounterAct; 136 150 MyAction * viewVideoInfoAct; 151 MyAction * viewFormatInfoAct; 137 152 138 153 #if USE_CONFIGURABLE_TOOLBARS … … 149 164 150 165 bool fullscreen_toolbar1_was_visible; 166 bool compact_toolbar1_was_visible; 167 #ifdef LANGUAGE_TOOLBAR 151 168 bool fullscreen_toolbar2_was_visible; 152 bool compact_toolbar1_was_visible;153 169 bool compact_toolbar2_was_visible; 170 #endif 154 171 }; 155 172
Note:
See TracChangeset
for help on using the changeset viewer.