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
qquicklabsplatformicon_p.h
Go to the documentation of this file.
1
// Copyright (C) 2022 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
QQUICKLABSPLATFORMICON_P_H
6
#
define
QQUICKLABSPLATFORMICON_P_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
QtCore
/
qurl
.
h
>
20
#
include
<
QtCore
/
qstring
.
h
>
21
22
#
include
<
QtQml
/
qqmlengine
.
h
>
23
#
include
<
QtCore
/
private
/
qglobal_p
.
h
>
24
25
QT_BEGIN_NAMESPACE
26
27
class
QObject;
28
29
class
QQuickLabsPlatformIcon
30
{
31
Q_GADGET
32
QML_ANONYMOUS
33
QML_ADDED_IN_VERSION
(1, 0)
34
Q_PROPERTY
(
QUrl
source
READ
source
WRITE
setSource
FINAL
)
35
Q_PROPERTY
(
QString
name
READ
name
WRITE
setName
FINAL
)
36
Q_PROPERTY
(
bool
mask
READ
isMask
WRITE
setMask
FINAL
)
37
38
public
:
39
QUrl
source
()
const
;
40
void
setSource
(
const
QUrl &source);
41
42
QString
name
()
const
;
43
void
setName
(
const
QString &name);
44
45
bool
isMask
()
const
;
46
void
setMask
(
bool
mask);
47
48
bool
operator
==(
const
QQuickLabsPlatformIcon
&other)
const
;
49
bool
operator
!=(
const
QQuickLabsPlatformIcon
&other)
const
;
50
51
private
:
52
bool
m_mask =
false
;
53
QUrl m_source;
54
QString m_name;
55
};
56
57
QT_END_NAMESPACE
58
59
#
endif
// QQUICKLABSPLATFORMICON_P_H
QQuickLabsPlatformIcon
Definition
qquicklabsplatformicon_p.h:30
QQuickLabsPlatformIcon::setName
void setName(const QString &name)
Definition
qquicklabsplatformicon.cpp:24
QQuickLabsPlatformIcon::setMask
void setMask(bool mask)
Definition
qquicklabsplatformicon.cpp:34
QQuickLabsPlatformIcon::isMask
bool isMask() const
Definition
qquicklabsplatformicon.cpp:29
QQuickLabsPlatformIcon::setSource
void setSource(const QUrl &source)
Definition
qquicklabsplatformicon.cpp:14
QQuickLabsPlatformIcon::source
QML_ANONYMOUSQUrl source
Definition
qquicklabsplatformicon_p.h:34
QQuickLabsPlatformIcon::operator==
bool operator==(const QQuickLabsPlatformIcon &other) const
Definition
qquicklabsplatformicon.cpp:39
QQuickLabsPlatformIcon::operator!=
bool operator!=(const QQuickLabsPlatformIcon &other) const
Definition
qquicklabsplatformicon.cpp:44
QQuickLabsPlatformIcon::name
QString name() const
Definition
qquicklabsplatformicon.cpp:19
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtdeclarative
src
labs
platform
qquicklabsplatformicon_p.h
Generated on
for Qt by
1.18.0