ソースを参照

Merge branch 'ctkExpandButton'

* ctkExpandButton:
  Exposed Orientation of ctkExpandButton as QProperty
Benjamin Long 13 年 前
コミット
dbb06d246f
共有1 個のファイルを変更した1 個の追加0 個の削除を含む
  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