浏览代码

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.