Merge pull request #7067 from opentx/3djc/fix-x9d2019-simu-screenshot

Fix screenshot for x9d 2019 simu
This commit is contained in:
Bertrand Songis
2019-11-08 18:34:39 +01:00
committed by GitHub
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -137,6 +137,7 @@
<file>images/simulator/X9E/right_enter.png</file>
<file>images/simulator/X9E/top.png</file>
<file>images/simulator/X9D2019/bottom.png</file>
<file>images/simulator/X9D2019/bottom_scrnshot.png</file>
<file>images/simulator/X9D2019/left.png</file>
<file>images/simulator/X9D2019/left_exit.png</file>
<file>images/simulator/X9D2019/left_menu.png</file>
@@ -51,7 +51,7 @@ SimulatedUIWidgetX9D2019::SimulatedUIWidgetX9D2019(SimulatorInterface *simulator
m_mouseMidClickAction = new RadioUiAction(2, QList<int>() << Qt::Key_Enter << Qt::Key_Return, SIMU_STR_HLP_KEYS_ACTIVATE, SIMU_STR_HLP_ACT_ROT_DN);
addRadioWidget(ui->rightbuttons->addArea(QRect(40, 30, 80, 130), "X9D2019/right_enter.png", m_mouseMidClickAction));
addRadioWidget(ui->leftbuttons->addArea(QRect(10, 170, 30, 30), "X9D2019/left_scrnshot.png", m_screenshotAction));
addRadioWidget(ui->bottom->addArea(QRect(10, 5, 30, 30), "X9D2019/bottom_scrnshot.png", m_screenshotAction));
m_backlightColors << QColor(47, 123, 227); // Taranis Blue
m_backlightColors << QColor(166,247,159);
@@ -127,7 +127,7 @@
</widget>
</item>
<item row="2" column="1">
<widget class="QWidget" name="bottom" native="true">
<widget class="ButtonsWidget" name="bottom" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>