File: setslidedialog.cpp

package info (click to toggle)
tiatracker 1.3-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,664 kB
  • sloc: cpp: 8,875; asm: 664; makefile: 8
file content (35 lines) | stat: -rw-r--r-- 874 bytes parent folder | download | duplicates (2)
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
/* 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 "setslidedialog.h"
#include "ui_setslidedialog.h"

SetSlideDialog::SetSlideDialog(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::SetSlideDialog)
{
    ui->setupUi(this);
    setWindowFlags(Qt::Dialog | Qt::FramelessWindowHint);
}

SetSlideDialog::~SetSlideDialog()
{
    delete ui;
}

/*************************************************************************/

int SetSlideDialog::getSlideValue() {
    return ui->spinBoxSetSlideValue->value();
}

/*************************************************************************/

void SetSlideDialog::setSlideValue(int value) {
    ui->spinBoxSetSlideValue->setValue(value);
}