Pārlūkot izejas kodu

Exposed Orientation of ctkExpandButton as QProperty

Benjamin Long 13 gadi atpakaļ
vecāks
revīzija
2844d4e26e
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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