mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-17 02:52:12 +01:00
GCS-UI Fixes
Fixes rotation of board on hw settings page Fixes airframe size on airframe settings page
This commit is contained in:
parent
3a0ca3c724
commit
96e8d668b2
@ -20,7 +20,7 @@
|
||||
<item>
|
||||
<widget class="QTabWidget" name="tabWidget">
|
||||
<property name="currentIndex">
|
||||
<number>1</number>
|
||||
<number>0</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="tabWidgetPage1">
|
||||
<property name="autoFillBackground">
|
||||
|
@ -61,10 +61,10 @@ ConfigCCHWWidget::ConfigCCHWWidget(QWidget *parent) : ConfigTaskWidget(parent)
|
||||
m_telemetry->label_2->setPixmap(QPixmap(":/uploader/images/deviceID-0301.svg"));
|
||||
break;
|
||||
case 0x0401:
|
||||
m_telemetry->label_2->setPixmap(QPixmap(":/uploader/images/deviceID-0401.svg"));
|
||||
m_telemetry->label_2->setPixmap(QPixmap(":/configgadget/images/coptercontrol.svg"));
|
||||
break;
|
||||
case 0x0402:
|
||||
m_telemetry->label_2->setPixmap(QPixmap(":/uploader/images/deviceID-0402.svg"));
|
||||
m_telemetry->label_2->setPixmap(QPixmap(":/configgadget/images/coptercontrol.svg"));
|
||||
break;
|
||||
case 0x0201:
|
||||
m_telemetry->label_2->setPixmap(QPixmap(":/uploader/images/deviceID-0201.svg"));
|
||||
|
@ -222,6 +222,7 @@ ConfigVehicleTypeWidget::ConfigVehicleTypeWidget(QWidget *parent) : ConfigTaskWi
|
||||
addToDirtyMonitor();
|
||||
|
||||
disableMouseWheelEvents();
|
||||
m_aircraft->quadShape->fitInView(quad, Qt::KeepAspectRatio);
|
||||
}
|
||||
|
||||
|
||||
|
@ -285,7 +285,6 @@ void ConfigTaskWidget::forceConnectedState()//dynamic widgets don't recieve the
|
||||
|
||||
void ConfigTaskWidget::onAutopilotConnect()
|
||||
{
|
||||
qDebug()<<"OnAutopilotConnect:"<<this->metaObject()->className();
|
||||
if (utilMngr)
|
||||
currentBoard = utilMngr->getBoardModel();//TODO REMEMBER TO ADD THIS TO FORCE CONNECTED FUNC ON CC3D_RELEASE
|
||||
invalidateObjects();
|
||||
|
Loading…
x
Reference in New Issue
Block a user