DtkWidget
DTK Widget module
载入中...
搜索中...
未找到
buttongroup.h
1
// SPDX-FileCopyrightText: 2017 - 2022 UnionTech Software Technology Co., Ltd.
2
//
3
// SPDX-License-Identifier: LGPL-3.0-or-later
4
5
#pragma once
6
7
#include <QScopedPointer>
8
#include <QFrame>
9
10
class
ButtonGroupPrivate
;
11
class
ButtonGroup
:
public
QFrame
12
{
13
Q_OBJECT
14
public
:
15
explicit
ButtonGroup
(QWidget *parent = 0);
16
~ButtonGroup
();
17
18
Q_SIGNALS:
19
void
buttonChecked(
int
id
);
20
21
public
Q_SLOTS:
22
void
setCheckedButton(
int
id
);
23
void
setButtons(
const
QStringList &texts);
24
25
private
:
26
QScopedPointer<ButtonGroupPrivate> d_ptr;
27
Q_DECLARE_PRIVATE_D(qGetPtrHelper(d_ptr),
ButtonGroup
)
28
};
29
ButtonGroupPrivate
Definition
buttongroup.cpp:12
ButtonGroup
Definition
buttongroup.h:12
src
widgets
private
settings
buttongroup.h
文档生成时间:2024-11-15-05:51 +00
Doxygen Version
1.9.8
制作者:deepin doc doc go SIG
文档使用CC-BY-4.0共享