7#include <qpa/qplatformwindow.h>
10#include <QtCore/QScopedPointer>
12#if !defined(QT_NO_OPENGL)
16#include <screen/screen.h>
21#define MAX_BUFFER_COUNT 2
50 void raise()
override;
51 void lower()
override;
84 void collectWindowGroup();
85 void createWindowGroup();
86 void setGeometryHelper(
const QRect &
rect);
87 void removeFromParent();
88 void updateVisibility(
bool parentVisible);
89 void updateZorder(
int &topZorder);
90 void updateZorder(screen_window_t
window,
int &zOrder);
91 void applyWindowState();
92 void setFocus(screen_window_t newFocusWindow);
93 bool showWithoutActivating()
const;
94 bool focusable()
const;
96 void addContextPermission();
97 void removeContextPermission();
99 screen_window_t m_window;
109 QRect m_unmaximizedGeometry;
110 Qt::WindowStates m_windowState;
118 bool m_firstActivateHandled;
The QQnxWindow is the base class of the various classes used as instances of QPlatformWindow in the Q...
screen_context_t m_screenContext
void setExposed(bool exposed)
void requestActivateWindow() override
Reimplement to let Qt be able to request activation/focus for a window.
virtual int pixelFormat() const =0
QQnxWindow * findWindow(screen_window_t windowHandle)
void setParent(const QPlatformWindow *window) override
This function is called to enable native child window in QPA.
bool shouldMakeFullScreen() const
void setVisible(bool visible) override
Reimplemented in subclasses to show the surface if visible is true, and hide it if visible is false.
virtual void resetBuffers()=0
bool isExposed() const override
Returns if this window is exposed in the windowing system.
void raise() override
Reimplement to be able to let Qt raise windows to the top of the desktop.
void joinWindowGroup(const QByteArray &groupName)
void propagateSizeHints() override
Reimplement to propagate the size hints of the QWindow.
QByteArray groupName() const
const QList< QQnxWindow * > & children() const
screen_window_t nativeHandle() const
void setScreen(QQnxScreen *platformScreen)
WId winId() const override
Reimplement in subclasses to return a handle to the native window.
void setBufferSize(const QSize &size)
void setWindowState(Qt::WindowStates state) override
Requests setting the window state of this surface to type.
QPlatformScreen * screen() const override
Returns the platform screen handle corresponding to this platform window, or null if the window is no...
void setRotation(int rotation)
void handleActivationEvent()
void lower() override
Reimplement to be able to let Qt lower windows to the bottom of the desktop.
void setGeometry(const QRect &rect) override
This function is called by Qt whenever a window is moved or resized using the QWindow API.
void setOpacity(qreal level) override
Reimplement to be able to let Qt set the opacity level of a window.
\inmodule QtCore\reentrant
Combined button and popup list for selecting options.
GLenum GLuint GLint level
GLenum GLuint GLintptr GLsizeiptr size
[1]