Bläddra i källkod

Exposed Orientation of ctkExpandButton as QProperty

Benjamin Long 13 år sedan
förälder
incheckning
2844d4e26e
1 ändrade filer med 1 tillägg och 0 borttagningar
  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