Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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 12 of file qwindowsapplication.h.

Member Function Documentation

◆ asyncExpose()

bool QWindowsApplication::asyncExpose ( ) const
override

Definition at line 118 of file qwindowsapplication.cpp.

References QWindowsContext::asyncExpose(), and 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 105 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 78 of file qwindowsapplication.cpp.

◆ gpu()

QVariant QWindowsApplication::gpu ( ) const
override

Definition at line 130 of file qwindowsapplication.cpp.

References GpuDescription::detect(), and GpuDescription::toVariant().

Here is the call graph for this function:

◆ gpuList()

QVariant QWindowsApplication::gpuList ( ) const
override

Definition at line 135 of file qwindowsapplication.cpp.

◆ 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 53 of file qwindowsapplication.cpp.

◆ isWinTabEnabled()

bool QWindowsApplication::isWinTabEnabled ( ) const
override

Returns whether the {Tablet WinTab Driver} (Wintab32.dll) is used.

Definition at line 62 of file qwindowsapplication.cpp.

References QWindowsContext::instance(), and QWindowsContext::tabletSupport().

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 144 of file qwindowsapplication.cpp.

◆ registerMime()

void QWindowsApplication::registerMime ( QWindowsMimeConverter * mime)
override

Registers the converter mime to the system.

See also
QWindowsMimeConverter, unregisterMime()

Definition at line 88 of file qwindowsapplication.cpp.

References QWindowsContext::instance(), and QWindowsContext::mimeConverter().

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 100 of file qwindowsapplication.cpp.

◆ setAsyncExpose()

void QWindowsApplication::setAsyncExpose ( bool value)
override

Definition at line 124 of file qwindowsapplication.cpp.

References QWindowsContext::instance(), and QWindowsContext::setAsyncExpose().

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 83 of file qwindowsapplication.cpp.

◆ setHasBorderInFullScreenDefault()

void QWindowsApplication::setHasBorderInFullScreenDefault ( bool border)
override

Definition at line 48 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 24 of file qwindowsapplication.cpp.

References QWindowsContext::instance(), and QWindowsContext::registerTouchWindows().

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 43 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 68 of file qwindowsapplication.cpp.

References QWindowsContext::disposeTablet(), QWindowsContext::initTablet(), 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 33 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 94 of file qwindowsapplication.cpp.

References QWindowsContext::instance(), and QWindowsContext::mimeConverter().

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 38 of file qwindowsapplication.cpp.


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