| 21 | #include "ui_TutorialDialog.h" |
| 22 | |
| 23 | TutorialDialog::TutorialDialog(QWidget *parent) : |
| 24 | QDialog(parent), |
| 25 | ui(new Ui::TutorialDialog) |
| 26 | { |
| 27 | ui->setupUi(this); |
| 28 | |
| 29 | setModal(true); |
| 30 | setWindowFlags(Qt::Dialog | Qt::FramelessWindowHint); |
| 31 | |
| 32 | _currentStep = 0; |
| 33 | _maxSteps = 4; |
| 34 | |
| 35 | // button colors |
| 36 | QPalette buttonBlue = ui->pushButton->palette(); |
| 37 | buttonBlue.setColor(QPalette::Button, QColor(41, 128, 185)); |
| 38 | ui->pushButton->setPalette(buttonBlue); |
| 39 | |
| 40 | ui->pushButton->setDefault(true); |
| 41 | } |
| 42 | |
| 43 | TutorialDialog::~TutorialDialog() |
| 44 | { |
nothing calls this directly
no outgoing calls
no test coverage detected