Hide some Labels on Hidden Mode

This commit is contained in:
defnax 2015-10-21 22:39:48 +02:00
parent aec42a8e1f
commit bcfb3be460
2 changed files with 11 additions and 3 deletions

View File

@ -227,6 +227,10 @@ void ServerPage::load()
loadFilteredIps() ; loadFilteredIps() ;
ui.netModeComboBox->show() ; ui.netModeComboBox->show() ;
ui.textlabel_upnp->show();
ui.iconlabel_upnp->show();
ui.label_nat->show();
ui.hiddenMode_LB->hide() ; ui.hiddenMode_LB->hide() ;
ui.iconlabel_hiddenMode->hide() ; ui.iconlabel_hiddenMode->hide() ;
@ -880,6 +884,10 @@ void ServerPage::loadHiddenNode()
// FIXED. // FIXED.
//ui.netModeComboBox->setCurrentIndex(3); //ui.netModeComboBox->setCurrentIndex(3);
ui.netModeComboBox->hide(); ui.netModeComboBox->hide();
ui.textlabel_upnp->hide();
ui.iconlabel_upnp->hide();
ui.label_nat->hide();
ui.hiddenMode_LB->show(); ui.hiddenMode_LB->show();
ui.iconlabel_hiddenMode->show() ; ui.iconlabel_hiddenMode->show() ;
ui.iconlabel_hiddenMode->setPixmap(QPixmap(":/images/ledon1.png")); ui.iconlabel_hiddenMode->setPixmap(QPixmap(":/images/ledon1.png"));

View File

@ -49,16 +49,16 @@
<item> <item>
<layout class="QVBoxLayout"> <layout class="QVBoxLayout">
<item> <item>
<widget class="QLabel" name="label_8"> <widget class="QLabel" name="label_netmode">
<property name="text"> <property name="text">
<string>Network Mode</string> <string>Network Mode</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QLabel" name="label_11"> <widget class="QLabel" name="label_nat">
<property name="text"> <property name="text">
<string>Nat Type</string> <string>Nat</string>
</property> </property>
</widget> </widget>
</item> </item>