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
qqstylekitcustomcontrol.cpp
Go to the documentation of this file.
1// Copyright (C) 2025 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
5
7
8using namespace Qt::StringLiterals;
9
10QQStyleKitCustomControl::QQStyleKitCustomControl(QObject *parent)
11 : QQStyleKitControl(parent)
12{
13}
14
16{
17 return m_controlType;
18}
19
21{
22 if (m_controlType == controlType)
23 return;
24
25 m_controlType = controlType;
26
27 emit controlTypeChanged();
28}
29
30QT_END_NAMESPACE
31
32#include "moc_qqstylekitcustomcontrol_p.cpp"
void setControlType(int controlType)
Combined button and popup list for selecting options.