Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qgtk3theme.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
ifndef
QGTK3THEME_H
6
#
define
QGTK3THEME_H
7
8
#
include
<
private
/
qtguiglobal_p
.
h
>
9
#
include
<
private
/
qgnometheme_p
.
h
>
10
#
include
"qgtk3storage_p.h"
11
12
QT_BEGIN_NAMESPACE
13
14
class
QGtk3Theme
:
public
QGnomeTheme
15
{
16
public
:
17
QGtk3Theme
();
18
19
virtual
QVariant
themeHint
(ThemeHint hint)
const
override
;
20
virtual
QString
gtkFontName
()
const
override
;
21
22
Qt
::
ColorScheme
colorScheme
()
const
override
;
23
void
requestColorScheme
(Qt::ColorScheme scheme)
override
;
24
25
bool
usePlatformNativeDialog
(DialogType type)
const
override
;
26
QPlatformDialogHelper
*
createPlatformDialogHelper
(DialogType type)
const
override
;
27
28
const
QPalette
*
palette
(Palette type =
SystemPalette
)
const
override
;
29
const
QFont
*
font
(Font type =
SystemFont
)
const
override
;
30
QPixmap
standardPixmap
(StandardPixmap sp,
const
QSizeF &size)
const
override
;
31
QIcon
fileIcon
(
const
QFileInfo &fileInfo,
32
QPlatformTheme::IconOptions iconOptions = { })
const
override
;
33
34
static
const
char
*
name
;
35
36
private
:
37
#
if
QT_CONFIG
(
dbus
)
38
void
updateColorScheme
(
Qt
::
ColorScheme
)
override
;
39
#
endif
// QT_CONFIG(dbus)
40
static
bool
useNativeFileDialog();
41
std::unique_ptr<QGtk3Storage> m_storage;
42
};
43
44
QT_END_NAMESPACE
45
46
#
endif
// QGTK3THEME_H
QGtk3ThemePlugin
Definition
main.cpp:11
QGtk3Theme
Definition
qgtk3theme.h:15
QGtk3Theme::fileIcon
QIcon fileIcon(const QFileInfo &fileInfo, QPlatformTheme::IconOptions iconOptions={ }) const override
Return an icon for fileInfo, observing iconOptions.
Definition
qgtk3theme.cpp:273
QGtk3Theme::colorScheme
Qt::ColorScheme colorScheme() const override
Definition
qgtk3theme.cpp:167
QGtk3Theme::usePlatformNativeDialog
bool usePlatformNativeDialog(DialogType type) const override
Definition
qgtk3theme.cpp:197
QGtk3Theme::themeHint
virtual QVariant themeHint(ThemeHint hint) const override
Definition
qgtk3theme.cpp:120
QGtk3Theme::requestColorScheme
void requestColorScheme(Qt::ColorScheme scheme) override
Definition
qgtk3theme.cpp:185
QGtk3Theme::createPlatformDialogHelper
QPlatformDialogHelper * createPlatformDialogHelper(DialogType type) const override
Definition
qgtk3theme.cpp:211
QGtk3Theme::name
static const char * name
Definition
qgtk3theme.h:34
QGtk3Theme::palette
const QPalette * palette(Palette type=SystemPalette) const override
Return a color palette for type type.
Definition
qgtk3theme.cpp:240
QGtk3Theme::gtkFontName
virtual QString gtkFontName() const override
Definition
qgtk3theme.cpp:159
QGtk3Theme::QGtk3Theme
QGtk3Theme()
Definition
qgtk3theme.cpp:55
QGtk3Theme::standardPixmap
QPixmap standardPixmap(StandardPixmap sp, const QSizeF &size) const override
Return a pixmap for standardPixmap, at the given size.
Definition
qgtk3theme.cpp:261
QGtk3Theme::font
const QFont * font(Font type=SystemFont) const override
Definition
qgtk3theme.cpp:267
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtbase
src
plugins
platformthemes
gtk3
qgtk3theme.h
Generated on
for Qt by
1.18.0