Issue #865 fixed
This commit is contained in:
@@ -125,6 +125,9 @@ Channels::Channels(QWidget * parent, ModelData & model):
|
|||||||
gridLayout->addWidget(symlimits, i+1, col++, 1, 1);
|
gridLayout->addWidget(symlimits, i+1, col++, 1, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QSpacerItem * verticalSpacer = new QSpacerItem(0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
||||||
|
gridLayout->addItem(verticalSpacer, GetEepromInterface()->getCapability(Outputs)+1, 0, 1, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
Channels::~Channels()
|
Channels::~Channels()
|
||||||
|
|||||||
@@ -54,11 +54,10 @@ CustomFunctionsPanel::CustomFunctionsPanel(QWidget * parent, ModelData & model,
|
|||||||
{
|
{
|
||||||
QGridLayout * gridLayout = new QGridLayout(this);
|
QGridLayout * gridLayout = new QGridLayout(this);
|
||||||
|
|
||||||
int col = 1;
|
addLabel(gridLayout, tr("Switch"), 1);
|
||||||
addLabel(gridLayout, tr("Switch"), col++);
|
addLabel(gridLayout, tr("Action"), 2);
|
||||||
addLabel(gridLayout, tr("Action"), col++);
|
addLabel(gridLayout, tr("Parameters"), 3);
|
||||||
addLabel(gridLayout, tr("Parameters"), col++);
|
addLabel(gridLayout, tr("Enable"), 4);
|
||||||
addLabel(gridLayout, tr("Enable"), col++);
|
|
||||||
|
|
||||||
lock = true;
|
lock = true;
|
||||||
int num_fsw = GetEepromInterface()->getCapability(CustomFunctions);
|
int num_fsw = GetEepromInterface()->getCapability(CustomFunctions);
|
||||||
@@ -189,6 +188,9 @@ CustomFunctionsPanel::CustomFunctionsPanel(QWidget * parent, ModelData & model,
|
|||||||
connect(fswtchEnable[i], SIGNAL(stateChanged(int)), this, SLOT(customFunctionEdited()));
|
connect(fswtchEnable[i], SIGNAL(stateChanged(int)), this, SLOT(customFunctionEdited()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QSpacerItem * verticalSpacer = new QSpacerItem(0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
||||||
|
gridLayout->addItem(verticalSpacer, num_fsw+1, 0);
|
||||||
|
|
||||||
lock = false;
|
lock = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -114,6 +114,9 @@ LogicalSwitchesPanel::LogicalSwitchesPanel(QWidget * parent, ModelData & model):
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QSpacerItem * verticalSpacer = new QSpacerItem(0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
||||||
|
gridLayout->addItem(verticalSpacer, GetEepromInterface()->getCapability(LogicalSwitches)+1, 0, 1, 1);
|
||||||
|
|
||||||
lock = false;
|
lock = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user