Mercurial > minori
comparison src/gui/widgets/optional_date.cpp @ 62:4c6dd5999b39
*: update
1. updated animia
2. use widestrings for filesystem on Windows
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sun, 01 Oct 2023 06:16:06 -0400 |
parents | 75c804f713b2 |
children | 3d2decf093bb |
comparison
equal
deleted
inserted
replaced
61:327568ad9be9 | 62:4c6dd5999b39 |
---|---|
8 OptionalDate(false, parent); | 8 OptionalDate(false, parent); |
9 } | 9 } |
10 | 10 |
11 OptionalDate::OptionalDate(bool enabled, QWidget* parent) : QWidget(parent) { | 11 OptionalDate::OptionalDate(bool enabled, QWidget* parent) : QWidget(parent) { |
12 QHBoxLayout* layout = new QHBoxLayout(this); | 12 QHBoxLayout* layout = new QHBoxLayout(this); |
13 layout->setMargin(0); | 13 layout->setContentsMargins(0, 0, 0, 0); |
14 | 14 |
15 _checkbox = new QCheckBox(this); | 15 _checkbox = new QCheckBox(this); |
16 _checkbox->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Preferred); | 16 _checkbox->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Preferred); |
17 | 17 |
18 layout->addWidget(_checkbox, 0, Qt::AlignVCenter); | 18 layout->addWidget(_checkbox, 0, Qt::AlignVCenter); |