Qt Utilities: misc/desktoputils.cpp File Reference

Qt Utilities 6.20.0 Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models

Loading...
Searching...
No Matches
Namespaces | Functions
desktoputils.cpp File Reference
`#include "./desktoputils.h"`
`#include <QDesktopServices>`
`#include <QUrl>`
`#include <QGuiApplication>`
`#include <QStyleHints>`
Include dependency graph for desktoputils.cpp:

Go to the source code of this file.

## Namespaces
namespace | QtUtilities
| !

## Functions
QT_UTILITIES_EXPORT bool | QtUtilities::openLocalFileOrDir (const QString &path)
| Shows the specified file or directory using the default file browser.
QT_UTILITIES_EXPORT bool | QtUtilities::isPaletteDark (const QPalette &palette)
| Returns whether palette is dark.
QT_UTILITIES_EXPORT std::optional< bool > | QtUtilities::isDarkModeEnabled ()
| Returns whether dark mode is enabled.
QT_UTILITIES_EXPORT QMetaObject::Connection | QtUtilities::onDarkModeChanged (std::function< void(bool)> &&darkModeChangedCallback, QObject *context, bool invokeImmediately)
| Invokes the specified callback when the color scheme changed.