blob: 8d4b0f905d58156440e62a7efd2ba0c750e61beb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
#ifndef ViewDockAreaPopup_h
#define ViewDockAreaPopup_h
#include "viewbase.h"
class TQMouseEvent;
class TQGridLayout;
class TQWidget;
class TQPushButton;
class Mixer;
class KMixDockWidget;
class MixDeviceWidget;
class MixDevice;
class TQFrame;
class TQTime;
class ViewDockAreaPopup : public ViewBase
{
Q_OBJECT
public:
ViewDockAreaPopup(TQWidget* parent, const char* name, Mixer* mixer, ViewBase::ViewFlags vflags, KMixDockWidget *dockW);
~ViewDockAreaPopup();
MixDevice* dockDevice();
virtual int count();
virtual int advice();
virtual void setMixSet(MixSet *mixset);
virtual TQWidget* add(MixDevice *mdw);
virtual void constructionFinished();
virtual void refreshVolumeLevels();
virtual void showContextMenu();
TQSize sizeHint() const;
bool justHidden();
protected:
MixDeviceWidget *_mdw;
KMixDockWidget *_dock;
MixDevice *_dockDevice;
TQPushButton *_showPanelBox;
void mousePressEvent(TQMouseEvent *e);
void wheelEvent ( TQWheelEvent * e );
private:
TQGridLayout* _layoutMDW;
TQFrame *_frame;
TQTime *_hideTimer;
private slots:
void showPanelSlot();
};
#endif
|