7#include <QtGui/private/qpixmap_raster_p.h>
8#include <QtGui/private/qguiapplication_p.h>
9#include <qpa/qplatformfontdatabase.h>
10#include <qpa/qplatformnativeinterface.h>
11#include <qpa/qplatformwindow.h>
12#include <qpa/qwindowsysteminterface.h>
15# include <QtGui/private/qwindowsfontdatabase_p.h>
16# if QT_CONFIG(freetype)
17# include <QtGui/private/qwindowsfontdatabase_ft_p.h>
19#elif defined(Q_OS_DARWIN)
20# include <QtGui/private/qcoretextfontdatabase_p.h>
23#if QT_CONFIG(fontconfig)
24# include <QtGui/private/qgenericunixfontdatabase_p.h>
27#if QT_CONFIG(freetype)
28#include <QtGui/private/qfontengine_ft_p.h>
29#include <QtGui/private/qfreetypefontdatabase_p.h>
33#include <QtGui/private/qgenericunixeventdispatcher_p.h>
35#include <QtCore/private/qeventdispatcher_win_p.h>
50 if (
param ==
"enable_fonts"_L1)
52 else if (
param ==
"freetype"_L1)
54 else if (
param ==
"fontconfig"_L1)
72 m_primaryScreen->
mDepth = 32;
81 delete m_fontDatabase;
105 if (!m_fontDatabase && (m_options &
EnableFonts)) {
108# if QT_CONFIG(freetype)
114#elif defined(Q_OS_DARWIN)
117# if QT_CONFIG(freetype)
126 if (!m_fontDatabase) {
127#if QT_CONFIG(fontconfig)
136 return m_fontDatabase;
143 w->requestActivateWindow();
157 return createUnixEventDispatcher();
163 if (!m_nativeInterface)
165 return m_nativeInterface.
get();
virtual void populateFontDatabase() override
This function is called once at startup by Qt's internal font database.
static QPlatformIntegration * platformIntegration()
@ Format_ARGB32_Premultiplied
QPlatformFontDatabase * fontDatabase() const override
Accessor for the platform integration's fontdatabase.
QAbstractEventDispatcher * createEventDispatcher() const override
Factory function for the GUI event dispatcher.
QPlatformBackingStore * createPlatformBackingStore(QWindow *window) const override
Factory function for QPlatformBackingStore.
QMinimalIntegration(const QStringList ¶meters)
QPlatformNativeInterface * nativeInterface() const override
static QMinimalIntegration * instance()
bool hasCapability(QPlatformIntegration::Capability cap) const override
QPlatformWindow * createPlatformWindow(QWindow *window) const override
Factory function for QPlatformWindow.
\inmodule QtCore\reentrant
void reset(T *other=nullptr) noexcept(noexcept(Cleanup::cleanup(std::declval< T * >())))
Deletes the existing object it is pointing to (if any), and sets its pointer to other.
\macro QT_RESTRICTED_CAST_FROM_ASCII
static void handleScreenAdded(QPlatformScreen *screen, bool isPrimary=false)
Should be called by the implementation whenever a new screen is added.
static void handleScreenRemoved(QPlatformScreen *screen)
Should be called by the implementation whenever a screen is removed.
Font database for Windows.
Combined button and popup list for selecting options.
SharedPointerFileDialogOptions m_options
QPlatformFontDatabase QGenericUnixFontDatabase
static const char debugBackingStoreEnvironmentVariable[]
GLfloat GLfloat GLfloat w
[0]
GLenum const GLint * param
Q_CORE_EXPORT bool qEnvironmentVariableIsSet(const char *varName) noexcept
Q_CORE_EXPORT int qEnvironmentVariableIntValue(const char *varName, bool *ok=nullptr) noexcept