QSint Library  0.2.2
actionpanel.h
1 #ifndef ACTIONPANEL_H
2 #define ACTIONPANEL_H
3 
4 #include <QFrame>
5 
6 
7 namespace QSint
8 {
9 
10 
11 class ActionPanelScheme;
12 class ActionGroup;
13 
14 
30 class ActionPanel : public QFrame
31 {
32  typedef QFrame BaseClass;
33 
34  Q_OBJECT
35 
36 public:
39  explicit ActionPanel(QWidget *parent = 0);
40 
43  void addWidget(QWidget *w);
44 
49  void addStretch(int s = 0);
50 
54 
60  ActionGroup* createGroup(const QString &title, bool expandable = true);
61 
67  ActionGroup* createGroup(const QPixmap &icon, const QString &title, bool expandable = true);
68 
73  void setScheme(ActionPanelScheme *scheme);
74 
75  virtual QSize minimumSizeHint() const;
76 
77 protected:
78  //virtual void paintEvent ( QPaintEvent * event );
79 
80  ActionPanelScheme *myScheme;
81 };
82 
83 
84 } // namespace
85 
86 #endif // ACTIONPANEL_H
void addStretch(int s=0)
Definition: actionpanel.cpp:60
void setScheme(ActionPanelScheme *scheme)
Definition: actionpanel.cpp:27
ActionGroup * createGroup()
Definition: actionpanel.cpp:65
void addWidget(QWidget *w)
Definition: actionpanel.cpp:54
Class representing panels of actions similar to Windows XP task panels.
Definition: actionpanel.h:30
Class representing a single group of actions similar to Windows XP task panels.
Definition: actiongroup.h:27
ActionPanel(QWidget *parent=0)
Definition: actionpanel.cpp:12
Class representing color scheme for ActionPanel and ActionGroup.
Definition: actionpanelscheme.h:20

© Sintegrial Technologies 2011-2014
http://www.sintegrial.com