Mercurial > minori
comparison src/gui/dialog/settings.cpp @ 15:cde8f67a7c7d
*: update, megacommit :)
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 19 Sep 2023 22:36:08 -0400 |
parents | 5c0397762b53 |
children | 2743011a6042 |
comparison
equal
deleted
inserted
replaced
14:a29c9402faf0 | 15:cde8f67a7c7d |
---|---|
16 page_title = new QLabel(title, this); | 16 page_title = new QLabel(title, this); |
17 page_title->setWordWrap(false); | 17 page_title->setWordWrap(false); |
18 page_title->setFrameShape(QFrame::Panel); | 18 page_title->setFrameShape(QFrame::Panel); |
19 page_title->setFrameShadow(QFrame::Sunken); | 19 page_title->setFrameShadow(QFrame::Sunken); |
20 page_title->setStyleSheet( | 20 page_title->setStyleSheet( |
21 "QLabel { font-size: 10pt; font-weight: bold; background-color: #ABABAB; color: white; }"); | 21 "QLabel { font-size: 10pt; font-weight: bold; background-color: #ABABAB; color: white; }"); |
22 page_title->setFixedHeight(23); | 22 page_title->setFixedHeight(23); |
23 page_title->setAlignment(Qt::AlignVCenter | Qt::AlignLeft); | 23 page_title->setAlignment(Qt::AlignVCenter | Qt::AlignLeft); |
24 page_title->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed); | 24 page_title->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed); |
25 tab_widget = new QTabWidget(this); | 25 tab_widget = new QTabWidget(this); |
26 tab_widget->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding); | 26 tab_widget->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding); |