Mercurial > retraceit
diff src/pngplayer.h @ 38:26e1521b9afd
Add the possibility to detach the picture label on doubleclick
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 06 May 2015 18:09:34 +0200 |
parents | 0c05958d254c |
children | 73e6b6b12412 |
line wrap: on
line diff
--- a/src/pngplayer.h Wed May 06 17:17:13 2015 +0200 +++ b/src/pngplayer.h Wed May 06 18:09:34 2015 +0200 @@ -24,6 +24,12 @@ public: PNGPlayer (QWidget * parent = 0, Qt::WindowFlags f = 0); + /**@brief close the player + * + * This function makes sure that the png label is also + * closed when detached. + **/ + void close(); protected: void setupGUI(); @@ -68,6 +74,9 @@ /**@brief the speed bar was changed */ void speedChanged(); + /**@brief detach the actual picture as fullscreen */ + void togglePicFullscreen(); + Q_SIGNALS: /** @brief Emited if something went wrong. e.g. file not readable */ void error(const QString& msg);