1 /***************************************************************************
2 kfullscreenpanel.cpp - auto-hideable toolbar
4 begin : Tue May 13 23:07:42 CET 2002
5 copyright : (C) 2002 by Tim Jansen
7 ***************************************************************************/
9 /***************************************************************************
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
16 ***************************************************************************/
18 #ifndef KFULLSCREENPANEL_H
19 #define KFULLSCREENPANEL_H
26 class Counter
: public QObject
{
30 float m_stopValue
, m_currentValue
, m_stepSize
;
36 void count(float stop
, float stepSize
, float frequency
);
41 void countingDownFinished();
42 void countingUpFinished();
43 void counted(float value
);
47 class KFullscreenPanel
: public QWidget
{
51 QVBoxLayout
*m_layout
;
58 KFullscreenPanel(QWidget
* parent
, const char *name
,
59 const QSize
&resolution
);
62 void setChild(QWidget
*child
);
67 void enterEvent(QEvent
*e
);
68 void leaveEvent(QEvent
*e
);
71 void movePanel(float posY
);