Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 305 → Rev 306

/QMK-Groundstation/trunk/Forms/wdg_Settings.cpp
25,6 → 25,7
wdg_Settings::wdg_Settings(QWidget *parent) : QWidget(parent)
{
setupUi(this);
listWidget->setCurrentRow(0);
 
#ifndef _BETA_
#endif
118,10 → 119,6
 
void wdg_Settings::slot_ValuetoLED16(int Wert)
{
// QSpinBox *SpinBox = (QSpinBox*)sender();
 
// int Wert = SpinBox->value();
 
set_LED(J16_0);
set_LED(J16_1);
set_LED(J16_2);
178,10 → 175,6
 
void wdg_Settings::slot_ValuetoLED17(int Wert)
{
// QSpinBox *SpinBox = (QSpinBox*)sender();
 
// int Wert = SpinBox->value();
 
set_LED(J17_0);
set_LED(J17_1);
set_LED(J17_2);
240,12 → 233,10
{
if (tb_9_6->text() == QString("0"))
{
// tb_9_6->setIcon(ToolBox::Icon(20));
tb_9_6->setText("1");
}
else
{
// tb_9_6->setIcon(ToolBox::Icon(21));
tb_9_6->setText("0");
}
}
254,12 → 245,10
{
if (tb_9_7->text() == QString("0"))
{
// tb_9_7->setIcon(ToolBox::Icon(22));
tb_9_7->setText("1");
}
else
{
// tb_9_7->setIcon(ToolBox::Icon(23));
tb_9_7->setText("0");
}
}
268,12 → 257,10
{
if (tb_9_8->text() == QString("0"))
{
// tb_9_8->setIcon(ToolBox::Icon(24));
tb_9_8->setText("1");
}
else
{
// tb_9_8->setIcon(ToolBox::Icon(25));
tb_9_8->setText("0");
}
}
282,12 → 269,10
{
if (tb_9_9->text() == QString("0"))
{
// tb_9_9->setIcon(ToolBox::Icon(26));
tb_9_9->setText("1");
}
else
{
// tb_9_9->setIcon(ToolBox::Icon(27));
tb_9_9->setText("0");
}
}
757,7 → 742,6
void wdg_Settings::show_FCSettings(int Set, int FCSettings[MaxParameter]) // DONE 0.71h
{
memcpy(Settings, FCSettings, sizeof(FCSettings));
// memcpy(ParameterSet, ParamSet, sizeof(ParamSet));
 
memcpy(ParameterSet[Set], FCSettings, sizeof(FCSettings));