ui: Use window decorations on dialog windows (issue #376)

* added SubWindow flag to QtWindow to either use window decorations or show window within main window
* fixes black borders in some Linux window managers

bug id = 376

fortune cookie message = Your skill will accomplish what the force of many others cannot.
This commit is contained in:
Eberhard Graether
2017-06-07 14:40:16 +02:00
parent fb5bb33a10
commit 503ca76a40
27 changed files with 167 additions and 152 deletions
+1 -3
View File
@@ -34,14 +34,12 @@ public:
void setComponent(Component* component);
ViewWidgetWrapper* getWidgetWrapper() const;
ViewLayout* getViewLayout() const;
protected:
template <typename ControllerType>
ControllerType* getController();
ViewLayout* getViewLayout() const;
void setWidgetWrapper(std::shared_ptr<ViewWidgetWrapper> widgetWrapper);
private: