1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
/* TIATracker, (c) 2016 Andre "Kylearan" Wichmann.
* Website: https://bitbucket.org/kylearan/tiatracker
* Email: andre.wichmann@gmx.de
* See the file "license.txt" for information on usage and redistribution
* of this file.
*/
#include "setgotodialog.h"
#include "ui_setgotodialog.h"
SetGotoDialog::SetGotoDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::SetGotoDialog)
{
ui->setupUi(this);
setWindowFlags(Qt::Dialog | Qt::FramelessWindowHint);
}
SetGotoDialog::~SetGotoDialog()
{
delete ui;
}
/*************************************************************************/
void SetGotoDialog::setMaxValue(int max) {
ui->spinBoxSetGoto->setMaximum(max);
}
/*************************************************************************/
void SetGotoDialog::setGotoValue(int value) {
ui->spinBoxSetGoto->setValue(value);
}
/*************************************************************************/
int SetGotoDialog::getGotoValue() {
return ui->spinBoxSetGoto->value();
}
|