summaryrefslogtreecommitdiff
path: root/plugins/PluginLoader/catchcopy-v0002/OptionsWidget.cpp
blob: 563e855ad099ddc0019e61da8420e85da1245674 (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 "OptionsWidget.h"
#include "ui_OptionsWidget.h"

OptionsWidget::OptionsWidget(QWidget *parent) :
        QWidget(parent),
    ui(new Ui::OptionsWidget)
{
    ui->setupUi(this);
}

OptionsWidget::~OptionsWidget()
{
    //delete ui;//attached to the main program, then it's the main program responsive the delete
}

void OptionsWidget::setAllDllIsImportant(bool allDllIsImportant)
{
    ui->allDllIsImportant->setChecked(allDllIsImportant);
}

void OptionsWidget::setDebug(bool Debug)
{
    ui->Debug->setChecked(Debug);
}

void OptionsWidget::on_allDllIsImportant_toggled(bool checked)
{
    emit sendAllDllIsImportant(checked);
}

void OptionsWidget::retranslate()
{
    ui->retranslateUi(this);
}

void OptionsWidget::on_Debug_toggled(bool checked)
{
    emit sendDebug(checked);
}