comparison 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
comparison
equal deleted inserted replaced
37:0c05958d254c 38:26e1521b9afd
22 Q_OBJECT 22 Q_OBJECT
23 23
24 public: 24 public:
25 PNGPlayer (QWidget * parent = 0, Qt::WindowFlags f = 0); 25 PNGPlayer (QWidget * parent = 0, Qt::WindowFlags f = 0);
26 26
27 /**@brief close the player
28 *
29 * This function makes sure that the png label is also
30 * closed when detached.
31 **/
32 void close();
27 protected: 33 protected:
28 void setupGUI(); 34 void setupGUI();
29 35
30 protected slots: 36 protected slots:
31 /**@brief the view slider was changed manually */ 37 /**@brief the view slider was changed manually */
66 void togglePlay(); 72 void togglePlay();
67 73
68 /**@brief the speed bar was changed */ 74 /**@brief the speed bar was changed */
69 void speedChanged(); 75 void speedChanged();
70 76
77 /**@brief detach the actual picture as fullscreen */
78 void togglePicFullscreen();
79
71 Q_SIGNALS: 80 Q_SIGNALS:
72 /** @brief Emited if something went wrong. e.g. file not readable */ 81 /** @brief Emited if something went wrong. e.g. file not readable */
73 void error(const QString& msg); 82 void error(const QString& msg);
74 83
75 /** @brief Emited if the player wants to advance to the next picture */ 84 /** @brief Emited if the player wants to advance to the next picture */
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)