refs #288, some GUI elements

* tick label, shows OK/failure
* serverlist selector, select 1 of servers
* used tick label in selcal selector
* fixed include in transponder mode selector
This commit is contained in:
Klaus Basan
2014-11-10 20:31:03 +01:00
committed by Roland Winklmeier
parent 0098fd3d58
commit 89806e69ce
7 changed files with 231 additions and 13 deletions

View File

@@ -23,6 +23,7 @@ namespace BlackGui
this->ui->setupUi(this);
this->resetSelcalCodes(true);
this->setValidityHint();
this->ui->lblp_ValidCodeIcon->setToolTips("valid SELCAL", "invalid SELCAL");
bool c;
c = connect(this->ui->cb_SelcalPairs1, SIGNAL(currentIndexChanged(int)), this, SLOT(ps_selcalIndexChanged()));
@@ -103,15 +104,6 @@ namespace BlackGui
void CSelcalCodeSelector::setValidityHint()
{
if (this->hasValidCode())
{
this->ui->lbl_ValidCodeIcon->setPixmap(CIcons::tick16());
this->ui->lbl_ValidCodeIcon->setToolTip("valid SELCAL");
}
else
{
this->ui->lbl_ValidCodeIcon->setPixmap(CIcons::cross16());
this->ui->lbl_ValidCodeIcon->setToolTip("invalid SELCAL");
}
this->ui->lblp_ValidCodeIcon->setTicked(this->hasValidCode());
}
} // namespace