Ver código fonte

Exposed Orientation of ctkExpandButton as QProperty

Benjamin Long 13 anos atrás
pai
commit
2844d4e26e
1 arquivos alterados com 1 adições e 0 exclusões
  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