MCPcopy Create free account
hub / github.com/cpvrlab/ImagePlay / TutorialDialog

Method TutorialDialog

ImagePlay/src/TutorialDialog.cpp:23–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21#include "ui_TutorialDialog.h"
22
23TutorialDialog::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
43TutorialDialog::~TutorialDialog()
44{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected