Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qvncintegration.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QVNCINTEGRATION_H
5#define QVNCINTEGRATION_H
6
7#include <qpa/qplatformintegration.h>
8#include <qpa/qplatformnativeinterface.h>
9
11
13class QVncScreen;
14class QVncServer;
15
17{
18public:
19 QVncIntegration(const QStringList &paramList);
21
22 void initialize() override;
24
27
29
30 QPlatformFontDatabase *fontDatabase() const override;
31 QPlatformServices *services() const override;
32 QPlatformInputContext *inputContext() const override { return m_inputContext; }
33
35
36 QList<QPlatformScreen *> screens() const;
37
38private:
39 mutable QVncServer *m_server;
40 QVncScreen *m_primaryScreen;
41 QPlatformInputContext *m_inputContext;
42 QScopedPointer<QPlatformFontDatabase> m_fontDb;
43 QScopedPointer<QPlatformServices> m_services;
44 QScopedPointer<QPlatformNativeInterface> m_nativeInterface;
45};
46
48
49#endif // QVNCINTEGRATION_H
The QPlatformBackingStore class provides the drawing area for top-level windows.
The QPlatformFontDatabase class makes it possible to customize how fonts are discovered and how they ...
The QPlatformInputContext class abstracts the input method dependent data and composing state.
The QPlatformIntegration class is the entry for WindowSystem specific functionality.
Capability
Capabilities are used to determine specific features of a platform integration.
The QPlatformNativeInterface class provides an abstraction for retrieving native resource handles.
The QPlatformServices provides the backend for desktop-related functionality.
The QPlatformWindow class provides an abstraction for top-level windows.
\inmodule QtCore
bool hasCapability(QPlatformIntegration::Capability cap) const override
QPlatformFontDatabase * fontDatabase() const override
Accessor for the platform integration's fontdatabase.
QPlatformWindow * createPlatformWindow(QWindow *window) const override
Factory function for QPlatformWindow.
QPlatformServices * services() const override
QVncIntegration(const QStringList &paramList)
QList< QPlatformScreen * > screens() const
void initialize() override
Performs initialization steps that depend on having an event dispatcher available.
QPlatformNativeInterface * nativeInterface() const override
QPlatformBackingStore * createPlatformBackingStore(QWindow *window) const override
Factory function for QPlatformBackingStore.
QPlatformInputContext * inputContext() const override
Returns the platforms input context.
QAbstractEventDispatcher * createEventDispatcher() const override
Factory function for the GUI event dispatcher.
\inmodule QtGui
Definition qwindow.h:63
Combined button and popup list for selecting options.
GLenum cap
aWidget window() -> setWindowTitle("New Window Title")
[2]