4#include <QtQuick/private/qquickapplication_p.h>
6#include <QtGui/private/qguiapplication_p.h>
7#include <QtGui/qpa/qplatformintegration.h>
8#include <QtGui/qguiapplication.h>
10#include <QtQml/private/qqmlglobal_p.h>
12#include <QtCore/private/qobject_p.h>
13#include <QtCore/qdebug.h>
295void QQuickApplication::updateScreens()
298 m_screens.resize(screenList.
size());
299 for (
int i = 0;
i < screenList.
size(); ++
i) {
302 m_screens[
i]->setWrappedScreen(screenList[
i]);
309#include "moc_qquickapplication_p.cpp"
static QCoreApplication * instance() noexcept
Returns a pointer to the application's QCoreApplication (or QGuiApplication/QApplication) instance.
static QPlatformIntegration * platformIntegration()
void primaryScreenChanged(QScreen *screen)
static Qt::ApplicationState applicationState()
void applicationStateChanged(Qt::ApplicationState state)
static QFont font()
Returns the default application font.
static QStyleHints * styleHints()
Returns the application's style hints.
void screenRemoved(QScreen *screen)
This signal is emitted whenever a screen is removed from the system.
static void setApplicationDisplayName(const QString &name)
void applicationDisplayNameChanged()
QString applicationDisplayName
the user-visible name of this application
void layoutDirectionChanged(Qt::LayoutDirection direction)
Qt::LayoutDirection layoutDirection
the default layout direction for this application
void screenAdded(QScreen *screen)
This signal is emitted whenever a new screen screen has been added to the system.
static QList< QScreen * > screens()
Returns a list of all the screens associated with the windowing system the application is connected t...
qsizetype size() const noexcept
static QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
\threadsafe
The QQmlListProperty class allows applications to expose list-like properties of QObject-derived clas...
Qt::LayoutDirection layoutDirection
Qt::ApplicationState state
void setDisplayName(const QString &displayName)
bool supportsMultipleWindows
QQuickApplication(QObject *parent=nullptr)
\qmlproperty bool Application::active
virtual ~QQuickApplication()
QQmlListProperty< QQuickScreenInfo > screens
void displayNameChanged()
void stateChanged(Qt::ApplicationState state)
void layoutDirectionChanged()
\macro QT_RESTRICTED_CAST_FROM_ASCII
The QStyleHints class contains platform specific hints and settings. \inmodule QtGui.
Combined button and popup list for selecting options.
static QString displayName(CGDirectDisplayID displayID)
GLenum GLuint GLintptr GLsizeiptr size
[1]
qsizetype screens_count(QQmlListProperty< QQuickScreenInfo > *prop)
QQuickScreenInfo * screens_at(QQmlListProperty< QQuickScreenInfo > *prop, qsizetype idx)
QApplication app(argc, argv)
[0]
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent