Commit f70e72aa authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Assign parentWidget

parent 96e28cd6
Pipeline #97749 passed with stage
in 13 minutes and 46 seconds
......@@ -15,3 +15,13 @@ CollectionSwitcherTreeViewManager::CollectionSwitcherTreeViewManager(QObject *pa
CollectionSwitcherTreeViewManager::~CollectionSwitcherTreeViewManager()
{
}
QWidget *CollectionSwitcherTreeViewManager::parentWidget() const
{
return mParentWidget;
}
void CollectionSwitcherTreeViewManager::setParentWidget(QWidget *newParentWidget)
{
mParentWidget = newParentWidget;
}
......@@ -14,4 +14,10 @@ class CollectionSwitcherTreeViewManager : public QObject
public:
explicit CollectionSwitcherTreeViewManager(QObject *parent = nullptr);
~CollectionSwitcherTreeViewManager() override;
Q_REQUIRED_RESULT QWidget *parentWidget() const;
void setParentWidget(QWidget *newParentWidget);
private:
QWidget *mParentWidget = nullptr;
};
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment