* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
-#ifndef _MAIN_INTERFACE_H_
-#define _MAIN_INTERFACE_H_
+#ifndef QVLC_MAIN_INTERFACE_H_
+#define QVLC_MAIN_INTERFACE_H_
#include "qt4.hpp"
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 {
{
Q_OBJECT;
- friend class InteractionDialog;
friend class PlaylistWidget;
public:
ControlsWidget *controls;
InputControlsWidget *inputC;
FullscreenControllerWidget *fullscreenControls;
+ DialogHandler *dialogHandler;
void handleMainUi( QSettings* );
void askForPrivacy();
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 );
void askVideoToToggle();
void askBgWidgetToToggle();
void askUpdate();
+ void minimalViewToggled( bool );
+ void fullscreenInterfaceToggled( bool );
};
#endif