summaryrefslogtreecommitdiffhomepage
path: root/tracker-tobii/ftnoir_tracker_tobii_dialog.cpp
blob: 5cd4bad0403fc590ce760ec1160f4e49913dc638 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "ftnoir_tracker_tobii.h"
#include "api/plugin-api.hpp"

dialog_tobii::dialog_tobii() : tracker(nullptr)
{
    ui.setupUi( this );

    // Connect Qt signals to member-functions
    connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(doOK()));
    connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel()));
}

void dialog_tobii::doOK() {
    close();
}

void dialog_tobii::doCancel() {
    close();
}