Преглед на файлове

Merge pull request #832 from commontk/ctkLayoutManager-pythonqt-wrap-setViewport

ENH: Support of ctkLayoutManager::setViewport from python
Jean-Christophe Fillion-Robin преди 6 години
родител
ревизия
830f46dbf7
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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.