Sfoglia il codice sorgente

ENH: Support of ctkLayoutManager::setViewport from python

Jean-Christophe Fillion-Robin 6 anni fa
parent
commit
8dc453e5d3
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Libs/Widgets/ctkLayoutManager.h

+ 1 - 1
Libs/Widgets/ctkLayoutManager.h

@@ -94,7 +94,7 @@ public:
   /// Destructor
   virtual ~ctkLayoutManager();
 
-  void setViewport(QWidget* widget);
+  Q_INVOKABLE void setViewport(QWidget* widget);
   Q_INVOKABLE QWidget* viewport()const;
 
   /// Return the spacing property value.