defuze.me
Client
|
00001 /************************************************************************** 00002 ** defuze.me Epitech Innovative Project 00003 ** 00004 ** Copyright 2010-2011 00005 ** Athena Calmettes - Jocelyn De La Rosa - Francois Gaillard 00006 ** Adrien Jarthon - Alexandre Moore - Luc Peres - Arnaud Sellier 00007 ** 00008 ** All rights reserved. 00009 **************************************************************************/ 00010 00011 namespace Queue { 00012 class ControlsWidget; 00013 } 00014 00015 #ifndef CONTROLSWIDGET_HPP 00016 #define CONTROLSWIDGET_HPP 00017 00018 #include <QPropertyAnimation> 00019 #include "ui_controlswidget.h" 00020 #include "queueable.hpp" 00021 00022 namespace Queue 00023 { 00027 class ControlsWidget : public QWidget, private Ui::ControlsWidget 00028 { 00029 Q_OBJECT 00030 00031 public: 00032 explicit ControlsWidget(Queueable *parent); 00033 ~ControlsWidget(); 00034 void dissapear(); 00035 00036 protected: 00037 void changeEvent(QEvent *e); 00038 private: 00039 QPropertyAnimation *animation; 00040 Queueable *queueable; 00041 }; 00042 } 00043 #endif // CONTROLSWIDGET_HPP