Mercurial > minori
comparison src/gui/widgets/text.cc @ 202:71832ffe425a
animia: re-add kvm fd source
this is all being merged from my wildly out-of-date laptop. SORRY!
in other news, I edited the CI file to install the wayland client
as well, so the linux CI build might finally get wayland stuff.
| author | Paper <paper@paper.us.eu.org> |
|---|---|
| date | Tue, 02 Jan 2024 06:05:06 -0500 |
| parents | 01d259b9c89f |
| children | 4d461ef7d424 |
comparison
equal
deleted
inserted
replaced
| 201:8f6f8dd2eb23 | 202:71832ffe425a |
|---|---|
| 12 QVBoxLayout* layout = new QVBoxLayout(this); | 12 QVBoxLayout* layout = new QVBoxLayout(this); |
| 13 setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Maximum); | 13 setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Maximum); |
| 14 | 14 |
| 15 static_text_title = new QLabel(title, this); | 15 static_text_title = new QLabel(title, this); |
| 16 static_text_title->setTextFormat(Qt::PlainText); | 16 static_text_title->setTextFormat(Qt::PlainText); |
| 17 QFont font = static_text_title->font(); | 17 |
| 18 font.setWeight(QFont::Bold); | 18 { |
| 19 static_text_title->setFont(font); | 19 QFont font = static_text_title->font(); |
| 20 font.setWeight(QFont::Bold); | |
| 21 static_text_title->setFont(font); | |
| 22 } | |
| 20 | 23 |
| 21 static_text_line = new QFrame(this); | 24 static_text_line = new QFrame(this); |
| 22 static_text_line->setFrameShape(QFrame::HLine); | 25 static_text_line->setFrameShape(QFrame::HLine); |
| 23 static_text_line->setFrameShadow(QFrame::Sunken); | 26 static_text_line->setFrameShadow(QFrame::Sunken); |
| 24 static_text_line->setFixedHeight(2); | 27 static_text_line->setFixedHeight(2); |
