Changeset 127 for smplayer/vendor/current/src/basegui.h
- Timestamp:
- Mar 29, 2012, 3:09:42 PM (14 years ago)
- File:
-
- 1 edited
-
smplayer/vendor/current/src/basegui.h (modified) (21 diffs)
Legend:
- Unmodified
- Added
- Removed
-
smplayer/vendor/current/src/basegui.h
r121 r127 43 43 class VideoEqualizer; 44 44 class AudioEqualizer; 45 46 45 47 class FindSubtitlesWindow; 48 49 50 46 51 class VideoPreview; 47 class Playlist; 52 #endif 53 48 54 49 55 class MyAction; … … 51 57 52 58 class PreferencesDialog; 53 class MyServer;54 59 55 60 class Favorites; … … 61 66 62 67 public: 63 BaseGui( bool use_server,QWidget* parent = 0, Qt::WindowFlags flags = 0 );68 BaseGui( QWidget* parent = 0, Qt::WindowFlags flags = 0 ); 64 69 ~BaseGui(); 65 70 … … 75 80 void runActionsLater(QString actions) { pending_actions_to_run = actions; }; 76 81 82 77 83 //! Saves the line from the smplayer output 78 84 void recordSmplayerLog(QString line); 85 79 86 80 87 public slots: … … 106 113 void setInitialSubtitle(const QString & subtitle_file); 107 114 115 108 116 virtual void showFindSubtitlesDialog(); 109 117 virtual void openUploadSubtitlesPage(); //turbos 110 118 #endif 119 120 #ifdef VIDEOPREVIEW 111 121 virtual void showVideoPreviewDialog(); 122 123 112 124 virtual void showTubeBrowser(); 113 125 … … 118 130 virtual void showAudioEqualizer(); 119 131 virtual void showAudioEqualizer(bool b); 132 120 133 virtual void showMplayerLog(); 134 135 121 136 virtual void showLog(); 137 122 138 virtual void showPreferencesDialog(); 123 139 virtual void showFilePropertiesDialog(); … … 227 243 228 244 // Single instance stuff 229 // Another instance request open a file 230 virtual void remoteOpen(QString); 231 virtual void remoteOpenFiles(QStringList); 232 virtual void remoteAddFiles(QStringList); 233 virtual void remoteLoadSubtitle(QString); 234 virtual void remotePlayItem(int); 235 virtual void remoteRemoveItem(int); 236 virtual void remoteMoveItem(int, int); 237 virtual void remoteViewPlaylist(QString*); 238 virtual void remoteViewStatus(QString*); 239 virtual void remoteViewClipInfo(QString*); 240 virtual void remoteSeek(double); 241 virtual void remoteGetChecked(QString, QString*); 242 virtual void remoteGetVolume(int*); 245 #ifdef SINGLE_INSTANCE 246 void handleMessageFromOtherInstances(const QString& message); 247 #endif 243 248 244 249 //! Called when core can't parse the mplayer version and there's no … … 260 265 #endif 261 266 267 262 268 //! Clears the mplayer log 263 269 void clearMplayerLog(); … … 268 274 //! Saves the mplayer log to a file every time a file is loaded 269 275 void autosaveMplayerLog(); 276 270 277 271 278 signals: … … 289 296 //! Sent when the user wants to close the main window 290 297 void quitSolicited(); 298 299 300 301 291 302 292 303 protected: … … 379 390 MyAction * screenshotAct; 380 391 MyAction * screenshotsAct; 392 381 393 MyAction * videoPreviewAct; 394 382 395 MyAction * flipAct; 383 396 MyAction * mirrorAct; … … 386 399 MyAction * deblockAct; 387 400 MyAction * deringAct; 401 388 402 MyAction * addNoiseAct; 389 403 MyAction * addLetterboxAct; … … 419 433 MyAction * useForcedSubsOnlyAct; 420 434 MyAction * subVisibilityAct; 435 421 436 MyAction * showFindSubtitlesDialogAct; 422 437 MyAction * openUploadSubtitlesPageAct;//turbos 438 423 439 424 440 // Menu Options … … 427 443 MyAction * showPreferencesAct; 428 444 MyAction * showTubeBrowserAct; 445 429 446 MyAction * showLogMplayerAct; 447 448 430 449 MyAction * showLogSmplayerAct; 450 431 451 432 452 // Menu Help … … 504 524 MyAction * denoiseSoftAct; 505 525 526 527 528 529 530 531 506 532 // Window Size Action Group 507 533 MyActionGroup * sizeGroup; … … 627 653 QMenu * osd_menu; 628 654 QMenu * deinterlace_menu; 629 //QMenu * denoise_menu; 655 QMenu * denoise_menu; 656 QMenu * unsharp_menu; 630 657 QMenu * videosize_menu; 631 658 QMenu * audiochannels_menu; … … 636 663 QMenu * videofilter_menu; 637 664 QMenu * audiofilter_menu; 665 638 666 QMenu * logs_menu; 667 639 668 QMenu * zoom_menu; 640 669 QMenu * rotate_menu; … … 648 677 QMenu * recentfiles_menu; 649 678 679 650 680 LogWindow * mplayer_log_window; 681 682 651 683 LogWindow * smplayer_log_window; 684 652 685 LogWindow * clhelp_window; 653 686 … … 657 690 VideoEqualizer * video_equalizer; 658 691 AudioEqualizer * audio_equalizer; 692 659 693 FindSubtitlesWindow * find_subs_dialog; 694 695 660 696 VideoPreview * video_preview; 697 661 698 662 699 Core * core; 663 700 MplayerWindow *mplayerwindow; 664 665 MyServer * server;666 701 667 702 Favorites * favorites; … … 677 712 int arg_close_on_finish; // -1 = not set, 1 = true, 0 = false 678 713 int arg_start_in_fullscreen; // -1 = not set, 1 = true, 0 = false 679 bool use_control_server;680 714 681 715 private: … … 696 730 #endif 697 731 732 698 733 QString mplayer_log; 734 735 699 736 QString smplayer_log; 737 700 738 701 739 bool ignore_show_hide_events;
Note:
See TracChangeset
for help on using the changeset viewer.
