Make QWindowFormat in QWindow a setter and not a constructor argument.
(cherry picked from commit 61e0c55dd0c82031cf5cd021bf3f3537ee91b4a8)bb10
parent
6d28965b10
commit
dffc816f49
|
|
@ -44,6 +44,8 @@
|
|||
|
||||
#include <QObject>
|
||||
|
||||
#include <QtGui/qwindowformat_qpa.h>
|
||||
|
||||
QT_BEGIN_HEADER
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
|
@ -69,13 +71,16 @@ public:
|
|||
};
|
||||
Q_DECLARE_FLAGS(WindowTypes, WindowType)
|
||||
|
||||
QWindow(const QWindowFormat &format, WindowType type = Window, QWindow *parent = 0);
|
||||
QWindow(WindowType type = Window, QWindow *parent = 0);
|
||||
void setVisible(bool visible);
|
||||
void create();
|
||||
|
||||
WId winId() const;
|
||||
void setParent(const QWindow *parent);
|
||||
|
||||
void setWindowFormat(const QWindowFormat &format);
|
||||
QWindowFormat windowFormat() const;
|
||||
|
||||
QString windowTitle() const;
|
||||
|
||||
void setOpacity(qreal level);
|
||||
|
|
|
|||
Loading…
Reference in New Issue