comparison src/gui/dialog/settings.cpp @ 76:3364fadc8a36

*: format source code
author Paper <mrpapersonic@gmail.com>
date Wed, 04 Oct 2023 01:46:33 -0400
parents 5ccb99bfa605
children 6f7385bd334c
comparison
equal deleted inserted replaced
75:d3e9310598b1 76:3364fadc8a36
1 #include "gui/dialog/settings.h" 1 #include "gui/dialog/settings.h"
2 #include "gui/widgets/sidebar.h" 2 #include "gui/widgets/sidebar.h"
3 #include "gui/widgets/text.h" 3 #include "gui/widgets/text.h"
4 #include <QDialogButtonBox> 4 #include <QDialogButtonBox>
5 #include <QHBoxLayout>
6 #include <QLabel>
5 #include <QStackedWidget> 7 #include <QStackedWidget>
6 #include <QVBoxLayout> 8 #include <QVBoxLayout>
7 #include <QHBoxLayout>
8 #include <QWidget> 9 #include <QWidget>
9 #include <QLabel>
10 10
11 SettingsPage::SettingsPage(QWidget* parent, QString title) : QWidget(parent) { 11 SettingsPage::SettingsPage(QWidget* parent, QString title) : QWidget(parent) {
12 setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding); 12 setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding);
13 page_title = new QLabel(title, this); 13 page_title = new QLabel(title, this);
14 page_title->setWordWrap(false); 14 page_title->setWordWrap(false);