浏览代码

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