Device Emulation (contd.): Hide/identify nice-to-have TODOs for DeviceGroup Dialog and call it done for now - phew!
This commit is contained in:
parent
c2df526aaf
commit
f38567d33f
@ -60,7 +60,9 @@ DeviceGroupDialog::DeviceGroupDialog(
|
|||||||
{
|
{
|
||||||
// Setup the Dialog
|
// Setup the Dialog
|
||||||
setupUi(this);
|
setupUi(this);
|
||||||
|
|
||||||
vlanTagCount->setRange(0, kMaxVlanTags);
|
vlanTagCount->setRange(0, kMaxVlanTags);
|
||||||
|
|
||||||
// Populate the Vlan Table with placeholders - we do this so that
|
// Populate the Vlan Table with placeholders - we do this so that
|
||||||
// user entered values are retained during the lifetime of the dialog
|
// user entered values are retained during the lifetime of the dialog
|
||||||
// even if user is playing around with number of vlan tags
|
// even if user is playing around with number of vlan tags
|
||||||
@ -102,6 +104,13 @@ DeviceGroupDialog::DeviceGroupDialog(
|
|||||||
|
|
||||||
ipStack->insertItems(0, ipStackItems);
|
ipStack->insertItems(0, ipStackItems);
|
||||||
|
|
||||||
|
// TODO: DeviceGroup Traversal; hide buttons for now
|
||||||
|
prev->setHidden(true);
|
||||||
|
next->setHidden(true);
|
||||||
|
|
||||||
|
// TODO: Preview devices expanded from deviceGroup configuration
|
||||||
|
// for user convenience
|
||||||
|
|
||||||
// setup dialog to auto-resize as widgets are hidden or shown
|
// setup dialog to auto-resize as widgets are hidden or shown
|
||||||
layout()->setSizeConstraint(QLayout::SetFixedSize);
|
layout()->setSizeConstraint(QLayout::SetFixedSize);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user