fix(cpn): screen colors in simulator for B&W OLED radios (#4779)

This commit is contained in:
philmoz
2024-03-21 09:20:56 +10:00
committed by GitHub
parent 373b8e9355
commit 2ded1192a6
13 changed files with 114 additions and 224 deletions
@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>725</width>
<height>389</height>
<width>726</width>
<height>368</height>
</rect>
</property>
<property name="sizePolicy">
@@ -18,14 +18,14 @@
</property>
<property name="minimumSize">
<size>
<width>725</width>
<height>389</height>
<width>726</width>
<height>368</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>501</width>
<height>310 </height>
<width>726</width>
<height>368</height>
</size>
</property>
<property name="windowTitle">
@@ -50,7 +50,7 @@
<property name="spacing">
<number>0</number>
</property>
<item row="1" column="0" rowspan="3">
<item row="0" column="0" rowspan="3">
<widget class="ButtonsWidget" name="leftbuttons" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
@@ -75,7 +75,7 @@
</property>
</widget>
</item>
<item row="2" column="1">
<item row="1" column="1">
<widget class="LcdWidget" name="lcd" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
@@ -86,13 +86,13 @@
<property name="minimumSize">
<size>
<width>256</width>
<height>231</height>
<height>128</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>256</width>
<height>231</height>
<height>128</height>
</size>
</property>
<property name="styleSheet">
@@ -100,7 +100,7 @@
</property>
</widget>
</item>
<item row="1" column="2" rowspan="3">
<item row="0" column="2" rowspan="3">
<widget class="ButtonsWidget" name="rightbuttons" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
@@ -125,7 +125,7 @@
</property>
</widget>
</item>
<item row="1" column="1">
<item row="0" column="1">
<widget class="QWidget" name="top" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
@@ -135,14 +135,14 @@
</property>
<property name="minimumSize">
<size>
<width>255</width>
<height>85</height>
<width>256</width>
<height>97</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>255</width>
<height>85</height>
<width>256</width>
<height>97</height>
</size>
</property>
<property name="styleSheet">
@@ -150,7 +150,7 @@
</property>
</widget>
</item>
<item row="3" column="1">
<item row="2" column="1">
<widget class="ButtonsWidget" name="bottombuttons" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
@@ -160,14 +160,14 @@
</property>
<property name="minimumSize">
<size>
<width>255</width>
<height>131</height>
<width>256</width>
<height>143</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>255</width>
<height>131</height>
<width>256</width>
<height>143</height>
</size>
</property>
<property name="styleSheet">
@@ -175,68 +175,6 @@
</property>
</widget>
</item>
<item row="0" column="0" colspan="3">
<widget class="QLabel" name="label">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>10</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>12</height>
</size>
</property>
<property name="baseSize">
<size>
<width>0</width>
<height>12</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(255, 255, 255);</string>
</property>
<property name="text">
<string notr="true"/>
</property>
</widget>
</item>
<item row="4" column="0" colspan="3">
<widget class="QLabel" name="label_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>10</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>10</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(247, 245, 245);</string>
</property>
<property name="text">
<string notr="true"/>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>