Changeset 22964 in vbox for trunk/src/VBox/Frontends/VirtualBox/include/QIRichToolButton.h
- Timestamp:
- Sep 11, 2009 6:55:18 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 52237
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/QIRichToolButton.h
r22948 r22964 40 40 public: 41 41 42 QIRichToolButton (const QString &aName = QString::null, QWidget *aParent = 0); 42 QIRichToolButton (QWidget *aParent = 0); 43 QIRichToolButton (const QString &aName, QWidget *aParent = 0); 43 44 44 45 void animateClick() { mButton->animateClick(); } 45 46 void setText (const QString &aName) { mLabel->setText (aName); } 47 QString text() const { return mLabel->text(); } 46 48 47 49 signals: … … 55 57 protected: 56 58 59 void init(); 57 60 bool eventFilter (QObject *aObject, QEvent *aEvent); 58 61 void paintEvent (QPaintEvent *aEvent);
Note:
See TracChangeset
for help on using the changeset viewer.