diff --git a/ground/gcs/src/plugins/config/configrevohwwidget.cpp b/ground/gcs/src/plugins/config/configrevohwwidget.cpp index 53d7120c8..5cf2c7017 100644 --- a/ground/gcs/src/plugins/config/configrevohwwidget.cpp +++ b/ground/gcs/src/plugins/config/configrevohwwidget.cpp @@ -38,6 +38,11 @@ ConfigRevoHWWidget::ConfigRevoHWWidget(QWidget *parent) : ConfigTaskWidget(paren m_ui = new Ui_RevoHWWidget(); m_ui->setupUi(this); + m_ui->boardImg->load(QString(":/configgadget/images/revolution.svg")); + QSize picSize = m_ui->boardImg->sizeHint(); + picSize.scale(360, 360, Qt::KeepAspectRatio); + m_ui->boardImg->setFixedSize(picSize); + // must be done before auto binding ! setWikiURL("Revolution+Configuration"); diff --git a/ground/gcs/src/plugins/config/configrevohwwidget.ui b/ground/gcs/src/plugins/config/configrevohwwidget.ui index c3c3c82d6..1f0c1a46a 100644 --- a/ground/gcs/src/plugins/config/configrevohwwidget.ui +++ b/ground/gcs/src/plugins/config/configrevohwwidget.ui @@ -233,23 +233,6 @@ - - - - 0 - - - - - true - - - - - - - - @@ -269,16 +252,6 @@ - - - - Speed - - - Qt::AlignBottom|Qt::AlignHCenter - - - @@ -319,6 +292,9 @@ Qt::Horizontal + + QSizePolicy::Expanding + 80 @@ -359,9 +335,6 @@ - - - @@ -427,9 +400,6 @@ - - - @@ -446,22 +416,6 @@ - - - - Qt::Horizontal - - - QSizePolicy::Minimum - - - - 120 - 10 - - - - @@ -478,22 +432,6 @@ - - - - Qt::Horizontal - - - QSizePolicy::Minimum - - - - 70 - 10 - - - - @@ -510,15 +448,8 @@ - - - - Main Port - - - Qt::AlignBottom|Qt::AlignHCenter - - + + @@ -540,39 +471,8 @@ - - - - - - - - 0 - 0 - - - - - 350 - 350 - - - - - - - :/configgadget/images/revolution_top.png - - - false - - - Qt::AlignCenter - - - Qt::NoTextInteraction - - + + @@ -607,32 +507,6 @@ - - - - Protocol - - - Qt::AlignCenter - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 50 - 10 - - - - @@ -685,9 +559,6 @@ - - - @@ -707,6 +578,9 @@ + + + @@ -723,6 +597,88 @@ + + + + Main Port + + + Qt::AlignBottom|Qt::AlignHCenter + + + + + + + + + + Speed + + + Qt::AlignBottom|Qt::AlignHCenter + + + + + + + Protocol + + + Qt::AlignCenter + + + + + + + Qt::Horizontal + + + QSizePolicy::Minimum + + + + 120 + 10 + + + + + + + + 0 + + + + + true + + + + + + + + + + + + + 0 + 0 + + + + + 160000 + 160000 + + + + @@ -936,6 +892,13 @@ Beware of not locking yourself out! + + + QSvgWidget + QWidget +
qsvgwidget.h
+
+