]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/main_interface.hpp
VLC pointer variable callback -> Qt4 signal class
[vlc] / modules / gui / qt4 / main_interface.hpp
index c84df947dbe0db326eea292c77611c124b444cfe..4ac3acec45c631722613d161231f1937a94327fd 100644 (file)
@@ -49,11 +49,12 @@ class FullscreenControllerWidget;
 class SpeedControlWidget;
 class QMenu;
 class QSize;
+class DialogHandler;
 
 enum {
-    CONTROLS_HIDDEN = 0x0,
     CONTROLS_VISIBLE = 0x1,
-    CONTROLS_ADVANCED = 0x2
+    CONTROLS_HIDDEN = 0x2,
+    CONTROLS_ADVANCED = 0x4,
 };
 
 typedef enum pl_dock_e {
@@ -107,6 +108,7 @@ private:
     ControlsWidget      *controls;
     InputControlsWidget *inputC;
     FullscreenControllerWidget *fullscreenControls;
+    DialogHandler       *dialogHandler;
 
     void handleMainUi( QSettings* );
     void askForPrivacy();
@@ -141,6 +143,9 @@ private:
 
     /* Status Bar */
     QLabel              *nameLabel;
+#if 0
+    QLabel              *cryptedLabel;
+#endif
 
     virtual void customEvent( QEvent *);
     virtual void keyPressEvent( QKeyEvent *);
@@ -150,12 +155,13 @@ private:
 public slots:
     void undockPlaylist();
     void dockPlaylist( pl_dock_e i_pos = PL_BOTTOM );
-    void toggleMinimalView();
+    void toggleMinimalView( bool );
     void togglePlaylist();
     void toggleUpdateSystrayMenu();
     void toggleAdvanced();
     void toggleFullScreen();
     void toggleFSC();
+    void popupMenu();
 
     /* Manage the Video Functions from the vout threads */
     void releaseVideoSlot( void );
@@ -171,6 +177,10 @@ private slots:
     void handleSystrayClick( QSystemTrayIcon::ActivationReason );
     void updateSystrayTooltipName( QString );
     void updateSystrayTooltipStatus( int );
+
+#if 0
+    void showCryptedLabel( bool );
+#endif
 signals:
     void askReleaseVideo( );
     void askVideoToResize( unsigned int, unsigned int );
@@ -178,6 +188,8 @@ signals:
     void askVideoToToggle();
     void askBgWidgetToToggle();
     void askUpdate();
+    void minimalViewToggled( bool );
+    void fullscreenInterfaceToggled( bool );
 };
 
 #endif