Changeset View
Changeset View
Standalone View
Standalone View
Modules/about-distro/src/SectionLabel.h
- This file was added.
1 | /* | ||||
---|---|---|---|---|---|
2 | SPDX-FileCopyrightText: 2020 Harald Sitter <sitter@kde.org> | ||||
3 | SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL | ||||
4 | */ | ||||
5 | | ||||
6 | #ifndef SECTIONLABEL_H | ||||
7 | #define SECTIONLABEL_H | ||||
8 | | ||||
9 | #include <QLabel> | ||||
10 | | ||||
11 | // Label with font styling for section heading such as 'Software' | ||||
12 | class SectionLabel : public QLabel | ||||
13 | { | ||||
14 | public: | ||||
15 | explicit SectionLabel(const QString &text, QWidget *parent = nullptr); | ||||
16 | }; | ||||
17 | | ||||
18 | #endif // SECTIONLABEL_H |