blob: ecbc2137443c9bc1ef5ff4cf3c3fe50d51d8a445 (
plain)
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
|
#include "ftnoir_protocol_wine.h"
#include <QDebug>
#include "facetracknoir/global-settings.h"
//*******************************************************************************************************
// FaceTrackNoIR Client Settings-dialog.
//*******************************************************************************************************
//
// Constructor for server-settings-dialog
//
FTControls::FTControls() : QWidget()
{
ui.setupUi( this );
connect(ui.btnOK, SIGNAL(clicked()), this, SLOT(doOK()));
connect(ui.btnCancel, SIGNAL(clicked()), this, SLOT(doCancel()));
}
//
// Destructor for server-dialog
//
// OK clicked on server-dialog
//
void FTControls::doOK() {
this->close();
}
//
// Cancel clicked on server-dialog
//
void FTControls::doCancel() {
this->close();
}
extern "C" FTNOIR_PROTOCOL_BASE_EXPORT void* CALLING_CONVENTION GetDialog( )
{
return (IProtocolDialog*) new FTControls;
}
|