![]() |
Qt 6.x
The Qt SDK
|
#include <qwindowsapplication.h>
Public Member Functions | |
void | setTouchWindowTouchType (TouchWindowTouchTypes type) override |
TouchWindowTouchTypes | touchWindowTouchType () const override |
WindowActivationBehavior | windowActivationBehavior () const override |
void | setWindowActivationBehavior (WindowActivationBehavior behavior) override |
void | setHasBorderInFullScreenDefault (bool border) override |
bool | isTabletMode () const override |
bool | isWinTabEnabled () const override |
bool | setWinTabEnabled (bool enabled) override |
bool | isDarkMode () const override |
DarkModeHandling | darkModeHandling () const override |
void | setDarkModeHandling (DarkModeHandling handling) override |
void | registerMime (QWindowsMimeConverter *mime) override |
void | unregisterMime (QWindowsMimeConverter *mime) override |
int | registerMimeType (const QString &mime) override |
HWND | createMessageWindow (const QString &classNameTemplate, const QString &windowName, QFunctionPointer eventProc=nullptr) const override |
bool | asyncExpose () const override |
void | setAsyncExpose (bool value) override |
QVariant | gpu () const override |
QVariant | gpuList () const override |
void | populateLightSystemPalette (QPalette &palette) const override |
Definition at line 11 of file qwindowsapplication.h.
|
override |
Definition at line 120 of file qwindowsapplication.cpp.
References QWindowsContext::instance().
|
override |
Definition at line 107 of file qwindowsapplication.cpp.
References QWindowsContext::instance(), and QString::utf16().
|
override |
Returns the currently set dark mode handling.
Definition at line 80 of file qwindowsapplication.cpp.
|
override |
Definition at line 132 of file qwindowsapplication.cpp.
References GpuDescription::detect(), and GpuDescription::toVariant().
Referenced by gpuList().
|
override |
Definition at line 137 of file qwindowsapplication.cpp.
References GpuDescription::detectAll(), and gpu().
|
override |
Returns true
if Windows 10 is configured to use dark mode for applications.
Definition at line 75 of file qwindowsapplication.cpp.
References QWindowsContext::isDarkMode().
Referenced by QWindowsIntegration::setApplicationBadge().
|
override |
Returns true
if Windows 10 operates in {Tablet Mode}. In this mode, Windows forces all application main windows to open in maximized state. Applications should then avoid resizing windows or restoring geometries to non-maximized states.
Definition at line 50 of file qwindowsapplication.cpp.
References QWindowsClipboard::instance(), and qt_windowsIsTabletMode().
|
override |
Returns whether the {Tablet WinTab Driver} (Wintab32.dll
) is used.
Definition at line 59 of file qwindowsapplication.cpp.
References QWindowsContext::instance().
Referenced by setWinTabEnabled().
Definition at line 146 of file qwindowsapplication.cpp.
References Qt::Light, and QWindowsTheme::systemPalette().
|
override |
Registers the converter mime to the system.
Definition at line 90 of file qwindowsapplication.cpp.
References QWindowsContext::instance(), and mime.
|
override |
Registers the MIME type mime, and returns an ID number identifying the format on Windows.
Definition at line 102 of file qwindowsapplication.cpp.
References mime, and QWindowsMimeRegistry::registerMimeType().
|
override |
Definition at line 126 of file qwindowsapplication.cpp.
References QWindowsContext::instance().
|
override |
Sets the dark mode handling to handling.
Definition at line 85 of file qwindowsapplication.cpp.
|
override |
Definition at line 45 of file qwindowsapplication.cpp.
References QWindowsWindow::setHasBorderInFullScreenDefault().
|
override |
Sets the touch window type for all windows to type.
Definition at line 21 of file qwindowsapplication.cpp.
References QWindowsContext::instance().
|
override |
Sets the window activation behavior to behavior.
Definition at line 40 of file qwindowsapplication.cpp.
|
override |
Sets whether the {Tablet WinTab Driver} (Wintab32.dll
) should be used to enabled.
Returns true
on success, false
otherwise.
Definition at line 65 of file qwindowsapplication.cpp.
References QWindowsContext::instance(), and isWinTabEnabled().
|
override |
Returns the currently set the touch window type.
Definition at line 30 of file qwindowsapplication.cpp.
Referenced by QWindowsWindow::registerTouchWindow().
|
override |
Unregisters the converter mime from the system.
Definition at line 96 of file qwindowsapplication.cpp.
References QWindowsContext::instance(), and mime.
|
override |
Returns the currently set the window activation behavior.
Definition at line 35 of file qwindowsapplication.cpp.
Referenced by QWindowsWindow::requestActivateWindow().