QSint Library  0.2.2
actionlabel.h
1 #ifndef ACTIONLABEL_H
2 #define ACTIONLABEL_H
3 
4 #include <QToolButton>
5 
6 
7 namespace QSint
8 {
9 
10 
60 class ActionLabel : public QToolButton
61 {
62  Q_OBJECT
63 
64 public:
67  explicit ActionLabel(QWidget *parent = 0);
68 
72  explicit ActionLabel(QAction *action, QWidget *parent = 0);
73 
74  virtual ~ActionLabel() {}
75 
76  virtual QSize sizeHint() const;
77  virtual QSize minimumSizeHint() const;
78 
79 protected:
80  void init();
81 };
82 
83 
84 } // namespace
85 
86 #endif // ACTIONLABEL_H
ActionLabel(QWidget *parent=0)
Definition: actionlabel.cpp:40
Class representing an action similar to Windows Vista/7 control panel item.
Definition: actionlabel.h:60

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