Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 306 → Rev 305

/QMK-Groundstation/trunk/Forms/wdg_Settings.cpp
25,7 → 25,6
wdg_Settings::wdg_Settings(QWidget *parent) : QWidget(parent)
{
setupUi(this);
listWidget->setCurrentRow(0);
 
#ifndef _BETA_
#endif
119,6 → 118,10
 
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);
175,6 → 178,10
 
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);
233,10 → 240,12
{
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");
}
}
245,10 → 254,12
{
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");
}
}
257,10 → 268,12
{
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");
}
}
269,10 → 282,12
{
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");
}
}
742,6 → 757,7
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));