mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 02:45:33 +08:00
Cockpit COM component align widget heights
This commit is contained in:
committed by
Mat Sutcliffe
parent
8c5ee52128
commit
9f1090d430
@@ -100,6 +100,11 @@ namespace BlackGui
|
||||
ui->cb_SelcalPairs2->setCurrentIndex(0);
|
||||
}
|
||||
|
||||
int CSelcalCodeSelector::getComboBoxHeight() const
|
||||
{
|
||||
return ui->cb_SelcalPairs1->height();
|
||||
}
|
||||
|
||||
void CSelcalCodeSelector::selcalIndexChanged(int index)
|
||||
{
|
||||
Q_UNUSED(index);
|
||||
|
||||
@@ -59,6 +59,9 @@ namespace BlackGui
|
||||
//! Clear
|
||||
void clear();
|
||||
|
||||
//! The height of the combobox
|
||||
int getComboBoxHeight() const;
|
||||
|
||||
signals:
|
||||
//! Value has been changed
|
||||
void valueChanged();
|
||||
|
||||
@@ -2,6 +2,14 @@
|
||||
<ui version="4.0">
|
||||
<class>CSelcalCodeSelector</class>
|
||||
<widget class="QFrame" name="CSelcalCodeSelector">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>132</width>
|
||||
<height>22</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>SELCAL selector</string>
|
||||
</property>
|
||||
|
||||
Reference in New Issue
Block a user