Honour max-size when floating a window

This commit is contained in:
Sergio Martins
2020-06-05 14:43:23 +01:00
parent 9601f57050
commit dabfeeaf3b
6 changed files with 29 additions and 6 deletions

View File

@@ -23,6 +23,8 @@
#pragma once
#include "multisplitter_export.h"
#include <QRect>
#include <QSize>
#include <QDebug>
@@ -47,7 +49,7 @@ class Item;
* Inherit from it via multi-inheritance so this wrapper is deleted when the actual QWidget/QQuickItem
* is deleted.
*/
class Widget
class MULTISPLITTER_EXPORT Widget
{
public:
explicit Widget(QObject *thisObj)