Mercurial > hg > easaier-soundaccess
comparison widgets/MultiPaneLayerContainer.h @ 68:77e1fa5497e7
MultiPaneLayerContainer (manage several panes in the layer list) is added
author | benoitrigolleau |
---|---|
date | Wed, 13 Jun 2007 09:35:02 +0000 |
parents | |
children | c70c6b99d871 |
comparison
equal
deleted
inserted
replaced
67:2c011280ca0b | 68:77e1fa5497e7 |
---|---|
1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ | |
2 | |
3 /* | |
4 Sound Access | |
5 EASAIER client application. | |
6 Silogic 2007. Benoit Rigolleau. | |
7 | |
8 This program is free software; you can redistribute it and/or | |
9 modify it under the terms of the GNU General Public License as | |
10 published by the Free Software Foundation; either version 2 of the | |
11 License, or (at your option) any later version. See the file | |
12 COPYING included with this distribution for more information. | |
13 */ | |
14 | |
15 #ifndef _MULTI_PANE_LAYER_CONTAINER_H | |
16 #define _MULTI_PANE_LAYER_CONTAINER_H | |
17 | |
18 #include <QWidget> | |
19 #include <QVBoxLayout> | |
20 #include <QMap> | |
21 | |
22 #include "PropertyStack.h" | |
23 #include "view/Pane.h" | |
24 | |
25 | |
26 class MultiPaneLayerContainer : public QWidget | |
27 { | |
28 Q_OBJECT | |
29 | |
30 public : | |
31 virtual ~MultiPaneLayerContainer(); | |
32 MultiPaneLayerContainer(QWidget *parent=0); | |
33 void addPane(Pane *pane); | |
34 void removePane(Pane *pane); | |
35 | |
36 signals: | |
37 void removeSelectedItem(); | |
38 | |
39 public slots : | |
40 void currentPaneChanged(Pane *pane); | |
41 void paneAdded(Pane *pane); | |
42 void paneRemoved(Pane *pane); | |
43 | |
44 | |
45 private : | |
46 QMap<Pane*,PropertyStack*> *m_map; | |
47 QVBoxLayout *m_layout; | |
48 | |
49 }; | |
50 | |
51 #endif |