dde-control-center
Deepin Control Center
载入中...
搜索中...
未找到
settingsheaderitem.h
1
//SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd.
2
//
3
//SPDX-License-Identifier: GPL-3.0-or-later
4
#pragma once
5
6
#include "interface/namespace.h"
7
#include "widgets/settingsitem.h"
8
9
class
QHBoxLayout;
10
11
namespace
DCC_NAMESPACE {
12
13
class
TitleLabel;
14
class
SettingsHeaderItem
:
public
SettingsItem
15
{
16
Q_OBJECT
17
18
public
:
19
explicit
SettingsHeaderItem
(QWidget *parent = 0);
20
21
TitleLabel
*textLabel()
const
{
return
m_headerText; }
22
QHBoxLayout *layout()
const
{
return
m_mainLayout; }
23
24
void
setTitle(
const
QString &title);
25
void
setRightWidget(QWidget *widget);
26
27
private
:
28
QHBoxLayout *m_mainLayout;
29
TitleLabel
*m_headerText;
30
};
31
32
}
dccv23::SettingsHeaderItem
Definition
settingsheaderitem.h:15
dccv23::SettingsItem
Definition
settingsitem.h:11
dccv23::TitleLabel
Definition
titlelabel.h:13
include
widgets
settingsheaderitem.h
文档生成时间:2024-08-30-05:26 +00
Doxygen Version
1.9.8
制作者:deepin doc doc go SIG
文档使用CC-BY-4.0共享