소스 검색

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
   : public QToolButton
 {
 {
   Q_OBJECT
   Q_OBJECT
+  Q_PROPERTY(Qt::Orientation orientation READ orientation WRITE setOrientation)
   Q_PROPERTY(bool mirrorOnExpand READ mirrorOnExpand WRITE setMirrorOnExpand)
   Q_PROPERTY(bool mirrorOnExpand READ mirrorOnExpand WRITE setMirrorOnExpand)
 public:
 public:
   /// Superclass typedef
   /// Superclass typedef