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
QWindowsApplication Class Reference

#include <qwindowsapplication.h>

+ Inheritance diagram for QWindowsApplication:
+ Collaboration diagram for QWindowsApplication:

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
 
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
 

Detailed Description

Definition at line 11 of file qwindowsapplication.h.

Member Function Documentation

◆ asyncExpose()

bool QWindowsApplication::asyncExpose ( ) const
override

Definition at line 115 of file qwindowsapplication.cpp.

References QWindowsContext::instance().

+ Here is the call graph for this function:

◆ createMessageWindow()

HWND QWindowsApplication::createMessageWindow ( const QString & classNameTemplate,
const QString & windowName,
QFunctionPointer eventProc = nullptr ) const
override

Definition at line 102 of file qwindowsapplication.cpp.

References QWindowsContext::instance().

+ Here is the call graph for this function:

◆ darkModeHandling()

QWindowsApplication::DarkModeHandling QWindowsApplication::darkModeHandling ( ) const
override

Returns the currently set dark mode handling.

Definition at line 75 of file qwindowsapplication.cpp.

◆ gpu()

QVariant QWindowsApplication::gpu ( ) const
override

Definition at line 127 of file qwindowsapplication.cpp.

References GpuDescription::detect().

Referenced by gpuList().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gpuList()

QVariant QWindowsApplication::gpuList ( ) const
override

Definition at line 132 of file qwindowsapplication.cpp.

References GpuDescription::detectAll(), and gpu().

+ Here is the call graph for this function:

◆ isTabletMode()

bool QWindowsApplication::isTabletMode ( ) const
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.

See also
QWidget::showMaximized(), QWidget::saveGeometry(), QWidget::restoreGeometry()

Definition at line 50 of file qwindowsapplication.cpp.

References QWindowsClipboard::instance(), and qt_windowsIsTabletMode().

+ Here is the call graph for this function:

◆ isWinTabEnabled()

bool QWindowsApplication::isWinTabEnabled ( ) const
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ populateLightSystemPalette()

void QWindowsApplication::populateLightSystemPalette ( QPalette & palette) const
override

Definition at line 141 of file qwindowsapplication.cpp.

References Qt::Light, and QWindowsTheme::systemPalette().

+ Here is the call graph for this function:

◆ registerMime()

void QWindowsApplication::registerMime ( QWindowsMimeConverter * mime)
override

Registers the converter mime to the system.

See also
QWindowsMimeConverter, unregisterMime()

Definition at line 85 of file qwindowsapplication.cpp.

References QWindowsContext::instance(), and mime.

+ Here is the call graph for this function:

◆ registerMimeType()

int QWindowsApplication::registerMimeType ( const QString & mime)
override

Registers the MIME type mime, and returns an ID number identifying the format on Windows.

Definition at line 97 of file qwindowsapplication.cpp.

References mime, and QWindowsMimeRegistry::registerMimeType().

+ Here is the call graph for this function:

◆ setAsyncExpose()

void QWindowsApplication::setAsyncExpose ( bool value)
override

Definition at line 121 of file qwindowsapplication.cpp.

References QWindowsContext::instance().

+ Here is the call graph for this function:

◆ setDarkModeHandling()

void QWindowsApplication::setDarkModeHandling ( DarkModeHandling handling)
override

Sets the dark mode handling to handling.

Definition at line 80 of file qwindowsapplication.cpp.

◆ setHasBorderInFullScreenDefault()

void QWindowsApplication::setHasBorderInFullScreenDefault ( bool border)
override

Definition at line 45 of file qwindowsapplication.cpp.

References QWindowsWindow::setHasBorderInFullScreenDefault().

+ Here is the call graph for this function:

◆ setTouchWindowTouchType()

QT_BEGIN_NAMESPACE void QWindowsApplication::setTouchWindowTouchType ( TouchWindowTouchTypes type)
override

Sets the touch window type for all windows to type.

Definition at line 21 of file qwindowsapplication.cpp.

References QWindowsContext::instance().

+ Here is the call graph for this function:

◆ setWindowActivationBehavior()

void QWindowsApplication::setWindowActivationBehavior ( WindowActivationBehavior behavior)
override

Sets the window activation behavior to behavior.

See also
QWidget::activateWindow(), QWindow::requestActivate()

Definition at line 40 of file qwindowsapplication.cpp.

◆ setWinTabEnabled()

bool QWindowsApplication::setWinTabEnabled ( bool enabled)
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().

+ Here is the call graph for this function:

◆ touchWindowTouchType()

QWindowsApplication::TouchWindowTouchTypes QWindowsApplication::touchWindowTouchType ( ) const
override

Returns the currently set the touch window type.

Definition at line 30 of file qwindowsapplication.cpp.

◆ unregisterMime()

void QWindowsApplication::unregisterMime ( QWindowsMimeConverter * mime)
override

Unregisters the converter mime from the system.

See also
QWindowsMimeConverter, registerMime()

Definition at line 91 of file qwindowsapplication.cpp.

References QWindowsContext::instance(), and mime.

+ Here is the call graph for this function:

◆ windowActivationBehavior()

QWindowsApplication::WindowActivationBehavior QWindowsApplication::windowActivationBehavior ( ) const
override

Returns the currently set the window activation behavior.

Definition at line 35 of file qwindowsapplication.cpp.


The documentation for this class was generated from the following files: