mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
Minor cockpit COM UI adjustments
This commit is contained in:
committed by
Mat Sutcliffe
parent
821e0b10b6
commit
16061f61e8
@@ -28,8 +28,8 @@
|
||||
class QPaintEvent;
|
||||
class QWidget;
|
||||
|
||||
namespace BlackMisc { namespace Aviation { class CComSystem; } }
|
||||
namespace Ui { class CCockpitComComponent; }
|
||||
namespace BlackMisc { namespace Aviation { class CComSystem; } }
|
||||
namespace BlackGui
|
||||
{
|
||||
namespace Components
|
||||
|
||||
@@ -105,6 +105,12 @@ namespace BlackGui
|
||||
return ui->cb_SelcalPairs1->height();
|
||||
}
|
||||
|
||||
void CSelcalCodeSelector::setComboBoxMinimumHeight(int h)
|
||||
{
|
||||
ui->cb_SelcalPairs1->setMinimumHeight(h);
|
||||
ui->cb_SelcalPairs2->setMinimumHeight(h);
|
||||
}
|
||||
|
||||
void CSelcalCodeSelector::selcalIndexChanged(int index)
|
||||
{
|
||||
Q_UNUSED(index);
|
||||
|
||||
@@ -62,6 +62,9 @@ namespace BlackGui
|
||||
//! The height of the combobox
|
||||
int getComboBoxHeight() const;
|
||||
|
||||
//! Set the combobox height
|
||||
void setComboBoxMinimumHeight(int h);
|
||||
|
||||
signals:
|
||||
//! Value has been changed
|
||||
void valueChanged();
|
||||
|
||||
Reference in New Issue
Block a user