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
qohoswindowutils_p.h File Reference

(970b6ece6a77d14821fbf200e6d381ac13d34a06)

#include <QtHarmonyExtras/private/qtharmonyextrasglobal_p.h>
#include <QtGui/qcolor.h>
#include <QtGui/qscreen.h>
#include <QtGui/qwindow.h>
#include <QtWidgets/qwidget.h>
#include <QtCore/qtypes.h>
#include <optional>
Include dependency graph for qohoswindowutils_p.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  QtHarmonyExtras
namespace  QtHarmonyExtras::Window
 \inmodule QtHarmonyExtras

Enumerations

enum class  QtHarmonyExtras::Window::WindowGeometryPersistenceHint { QtHarmonyExtras::Window::Disabled , QtHarmonyExtras::Window::Enabled , QtHarmonyExtras::Window::FollowSystemSetting }

Functions

void QtHarmonyExtras::Window::setShowWindowAsFloatWindowHint (QWindow *window, bool showAsFloatWindow)
 Sets or unsets a given window as a floating window according to showAsFloatWindow.
void QtHarmonyExtras::Window::setShowWindowAsFloatWindowHint (QWidget *widget, bool showAsFloatWindow)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
void QtHarmonyExtras::Window::setWindowPrivacyMode (QWindow *window, bool privacyModeEnabled)
 Changes the privacy mode of window according to privacyModeEnabled.
void QtHarmonyExtras::Window::setSurfaceBackgroundColor (QWindow *window, const QColor &color)
 Sets a given color as the background color of the window inner native layer.
void QtHarmonyExtras::Window::setSurfaceBackgroundColor (QWidget *widget, const QColor &color)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.Sets a given color as the background color of the widget inner native layer.
void QtHarmonyExtras::Window::setWindowCornerRadius (QWindow *window, double radius)
 Sets the corner radius of a window.
void QtHarmonyExtras::Window::setWindowCornerRadius (QWidget *widget, double radius)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.Sets the corner radius of a widget.
void QtHarmonyExtras::Window::setWindowKeepScreenOn (QWindow *window, bool keepScreenOn)
 Sets or unsets a given window to keep the screen on according to keepScreenOn.
void QtHarmonyExtras::Window::setWindowKeepScreenOn (QWidget *widget, bool keepScreenOn)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.Sets or unsets a given widget to keep the screen on according to keepScreenOn.
void QtHarmonyExtras::Window::setWindowDragResizable (QWindow *window, bool dragResizable)
 Enables or disables resizing of window by dragging its edges according to dragResizable.
void QtHarmonyExtras::Window::setWindowDragResizable (QWidget *widget, bool dragResizable)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.Enables or disables resizing of widget by dragging its edges according to dragResizable.
void QtHarmonyExtras::Window::setMainWindowGeometryPersistenceHint (WindowGeometryPersistenceHint hint)
 Sets whether the application's main window restores its last geometry on startup according to hint.
std::optional< qint64QtHarmonyExtras::tryGetNativeWindowId (QWindow *window)
std::optional< qint64QtHarmonyExtras::tryGetScreenDisplayId (QScreen *screen)