| 22 | } |
| 23 | |
| 24 | QVBoxLayout *EmptyContainerInfo::setUpDefaultLayout(bool addStretch) |
| 25 | { |
| 26 | auto layout = new QVBoxLayout; |
| 27 | |
| 28 | layout->addSpacing(100); |
| 29 | layout->addWidget(iconLabel); |
| 30 | layout->addSpacing(30); |
| 31 | layout->addWidget(titleLabel); |
| 32 | if (addStretch) |
| 33 | layout->addStretch(); |
| 34 | |
| 35 | setLayout(layout); |
| 36 | return layout; |
| 37 | } |
| 38 | |
| 39 | void EmptyContainerInfo::paintEvent(QPaintEvent *) |
| 40 | { |
nothing calls this directly
no test coverage detected