Changeset 165 for smplayer/trunk/src/basegui.h
- Timestamp:
- May 16, 2014, 9:51:55 AM (11 years ago)
- Location:
- smplayer/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/trunk
- Property svn:mergeinfo changed
/smplayer/vendor/current merged: 163
- Property svn:mergeinfo changed
-
smplayer/trunk/src/basegui.h
r156 r165 1 1 /* smplayer, GUI front-end for mplayer. 2 Copyright (C) 2006-201 3Ricardo Villalba <rvm@users.sourceforge.net>2 Copyright (C) 2006-2014 Ricardo Villalba <rvm@users.sourceforge.net> 3 3 4 4 This program is free software; you can redistribute it and/or modify … … 34 34 #endif 35 35 36 //#define SHARE_MENU 37 36 38 class QWidget; 37 39 class QMenu; … … 41 43 class QLabel; 42 44 class FilePropertiesDialog; 43 class VideoEqualizer 2;45 class VideoEqualizer; 44 46 class AudioEqualizer; 45 47 class Playlist; … … 59 61 class UpdateChecker; 60 62 61 #if !defined(Q_OS_WIN) || defined(PORTABLE_APP)62 #define REMINDER_ACTIONS 163 #endif64 63 65 64 class BaseGui : public QMainWindow … … 100 99 virtual void openDVDFromFolder(); 101 100 virtual void openDVDFromFolder(QString directory); 101 #ifdef BLURAY_SUPPORT 102 void openBluRay(); 103 void openBluRayFromFolder(); 104 void openBluRayFromFolder(QString directory); 105 #endif 102 106 virtual void openDirectory(); 103 107 virtual void openDirectory(QString directory); … … 112 116 virtual void helpShowConfig(); 113 117 virtual void helpAbout(); 114 virtual void helpAboutQt(); 115 118 119 #ifdef SHARE_MENU 116 120 virtual void shareSMPlayer(); 121 #endif 117 122 118 123 virtual void loadSub(); … … 202 207 virtual void updateMediaInfo(); 203 208 209 void gotNoFileToPlay(); 210 204 211 void checkPendingActionsToRun(); 205 212 … … 227 234 #endif 228 235 #endif 236 void gotForbidden(); 229 237 230 238 #if AUTODISABLE_ACTIONS … … 272 280 virtual void saveActions(); 273 281 274 // Check the mouse pos in fullscreen mode, to 275 // show the controlwidget if it's moved to 276 // the bottom area. 277 virtual void checkMousePos( QPoint ); 278 virtual void moveWindow(QPoint diff); 282 virtual void moveWindowDiff(QPoint diff); 279 283 280 284 // Single instance stuff … … 318 322 void timeChanged(QString time_ready_to_print); 319 323 320 void cursorNearTop(QPoint); 321 void cursorNearBottom(QPoint); 322 void cursorFarEdges(); 323 324 /* 324 325 void wheelUp(); 325 326 void wheelDown(); 327 */ 326 328 /* 327 329 void doubleClicked(); … … 346 348 virtual void showEvent( QShowEvent * ); 347 349 #ifdef Q_OS_WIN 350 #ifdef AVOID_SCREENSAVER 348 351 /* Disable screensaver by event */ 349 352 virtual bool winEvent ( MSG * m, long * result ); 353 #endif 350 354 #endif 351 355 … … 376 380 377 381 protected: 378 virtual void wheelEvent( QWheelEvent * e ) ;382 /* virtual void wheelEvent( QWheelEvent * e ) ; */ 379 383 380 384 protected: … … 389 393 MyAction * openDVDAct; 390 394 MyAction * openDVDFolderAct; 395 #ifdef BLURAY_SUPPORT 396 MyAction * openBluRayAct; 397 MyAction * openBluRayFolderAct; 398 #endif 391 399 MyAction * openURLAct; 392 400 MyAction * exitAct; … … 503 511 MyAction * donateAct; 504 512 #endif 505 MyAction * aboutQtAct;506 513 MyAction * aboutThisAct; 507 514 515 #ifdef SHARE_MENU 508 516 MyAction * facebookAct; 509 517 MyAction * twitterAct; … … 511 519 MyAction * hotmailAct; 512 520 MyAction * yahooAct; 521 #endif 513 522 514 523 // Playlist … … 612 621 MyAction * aspect32Act; // 3:2 613 622 MyAction * aspect43Act; // 4:3 623 MyAction * aspect118Act; // 11:8 614 624 MyAction * aspect54Act; // 5:4 615 625 MyAction * aspect149Act; // 14:9 … … 742 752 QMenu * subfps_menu; 743 753 754 #ifdef SHARE_MENU 744 755 QMenu * share_menu; 756 #endif 745 757 746 758 QMenu * popup; … … 758 770 FilePropertiesDialog *file_dialog; 759 771 Playlist * playlist; 760 VideoEqualizer 2 * video_equalizer2;772 VideoEqualizer * video_equalizer; 761 773 AudioEqualizer * audio_equalizer; 762 774 #ifdef FIND_SUBTITLES … … 789 801 private: 790 802 QString default_style; 791 792 bool near_top;793 bool near_bottom;794 803 795 804 // Variables to restore pos and size of the window
Note:
See TracChangeset
for help on using the changeset viewer.