#include "qt4.hpp"
#include "util/qvlcframe.hpp"
+#include "components/preferences_widgets.hpp"
#include <vlc_aout.h>
QSystemTrayIcon *getSysTray() { return sysTray; };
QMenu *getSysTrayMenu() { return systrayMenu; };
int getControlsVisibilityStatus();
+ QSize sizeHint() const;
protected:
- void resizeEvent( QResizeEvent * );
+// void resizeEvent( QResizeEvent * );
void dropEvent( QDropEvent *);
void dragEnterEvent( QDragEnterEvent * );
void dragMoveEvent( QDragMoveEvent * );
void dragLeaveEvent( QDragLeaveEvent * );
void closeEvent( QCloseEvent *);
-
+
friend class VolumeClickHandler;
private:
QSettings *settings;
bool need_components_update;
- void calculateInterfaceSize();
void handleMainUi( QSettings* );
void handleSystray();
- void doComponentsUpdate();
+
void createSystray();
+ int privacyDialog( QList<ConfigControl *> controls );
/* Video */
VideoWidget *videoWidget;
virtual void keyPressEvent( QKeyEvent *);
virtual void wheelEvent( QWheelEvent * );
- bool embeddedPlaylistWasActive;
bool videoIsActive;
QSize savedVideoSize;
void customEvent( QEvent *);
public slots:
void undockPlaylist();
- void toggleMenus();
+ void toggleMinimalView();
void togglePlaylist();
void toggleUpdateSystrayMenu();
void toggleAdvanced();
+
+ /* Manage the Video Functions from the vout threads */
+ void releaseVideoSlot( void * );
+
private slots:
void debug();
void updateOnTimer();
-
+ void doComponentsUpdate();
void setStatus( int );
void setRate( int );
void setName( QString );
void updateSystrayTooltipStatus( int );
void showSpeedMenu( QPoint );
signals:
- void askVideoToHide();
+ void askReleaseVideo( void * );
+ void askVideoToToggle();
+ void askBgWidgetToToggle();
};
#endif