edited general settings categories (#2117)

* edited general settings categories

* Update CHANGELOG.md
This commit is contained in:
fourtf
2020-10-23 14:26:04 +02:00
committed by GitHub
parent 5f54b1b495
commit 11525e626a
5 changed files with 180 additions and 117 deletions
@@ -29,6 +29,17 @@ public:
}
};
class SubtitleLabel : public QLabel
{
Q_OBJECT
public:
SubtitleLabel(const QString &text)
: QLabel(text)
{
}
};
class NavigationLabel : public SignalLabel
{
Q_OBJECT
@@ -76,8 +87,10 @@ public:
void addWidget(QWidget *widget);
void addLayout(QLayout *layout);
void addStretch();
TitleLabel *addTitle(const QString &text);
SubtitleLabel *addSubtitle(const QString &text);
/// @param inverse Inverses true to false and vice versa
QCheckBox *addCheckbox(const QString &text, BoolSetting &setting,
bool inverse = false);