| 178 | } |
| 179 | |
| 180 | bool MessageBox::dontShowAgainChecked() const { |
| 181 | return dont_show_again_->isVisible() && dont_show_again_->isChecked(); |
| 182 | } |
| 183 | |
| 184 | QPushButton* MessageBox::addButton(const QString& label, ButtonRole role) { |
| 185 | auto* btn = new QPushButton(label, this); |