Browse Source

Merge branch 'ctkExpandButton'

* ctkExpandButton:
  Exposed Orientation of ctkExpandButton as QProperty
Benjamin Long 13 years ago
parent
commit
dbb06d246f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Libs/Widgets/ctkExpandButton.h

+ 1 - 0
Libs/Widgets/ctkExpandButton.h

@@ -44,6 +44,7 @@ class CTK_WIDGETS_EXPORT ctkExpandButton
   : public QToolButton
 {
   Q_OBJECT
+  Q_PROPERTY(Qt::Orientation orientation READ orientation WRITE setOrientation)
   Q_PROPERTY(bool mirrorOnExpand READ mirrorOnExpand WRITE setMirrorOnExpand)
 public:
   /// Superclass typedef