Changing default config + Adding Antialiasing + More settings

This commit is contained in:
Alexis Delhaie
2020-12-05 18:12:21 +01:00
parent c53cc966ab
commit 3fbcadf59b
4 changed files with 501 additions and 341 deletions

View File

@@ -12,7 +12,7 @@
</property>
<property name="minimumSize">
<size>
<width>800</width>
<width>1007</width>
<height>561</height>
</size>
</property>
@@ -42,335 +42,456 @@
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="Line" name="line">
<property name="geometry">
<rect>
<x>800</x>
<y>10</y>
<width>20</width>
<height>541</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
<widget class="QComboBox" name="devicesBox">
<property name="geometry">
<rect>
<x>820</x>
<y>30</y>
<width>181</width>
<height>22</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>820</x>
<y>10</y>
<width>47</width>
<height>14</height>
</rect>
</property>
<property name="text">
<string>Device</string>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>820</x>
<y>70</y>
<width>111</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Source scale</string>
</property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>879</x>
<y>94</y>
<width>47</width>
<height>14</height>
</rect>
</property>
<property name="text">
<string>Width</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>880</x>
<y>120</y>
<width>47</width>
<height>14</height>
</rect>
</property>
<property name="text">
<string>Height</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QSpinBox" name="sourceWidth">
<property name="geometry">
<rect>
<x>931</x>
<y>90</y>
<width>61</width>
<height>22</height>
</rect>
</property>
<property name="maximum">
<number>3840</number>
</property>
</widget>
<widget class="QSpinBox" name="sourceHeight">
<property name="geometry">
<rect>
<x>931</x>
<y>116</y>
<width>61</width>
<height>22</height>
</rect>
</property>
<property name="maximum">
<number>2160</number>
</property>
</widget>
<widget class="QLabel" name="label_6">
<property name="geometry">
<rect>
<x>820</x>
<y>180</y>
<width>111</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>ASCII Video output</string>
</property>
</widget>
<widget class="QSpinBox" name="asciiHeight">
<property name="geometry">
<rect>
<x>932</x>
<y>232</y>
<width>61</width>
<height>22</height>
</rect>
</property>
<property name="maximum">
<number>2160</number>
</property>
</widget>
<widget class="QSpinBox" name="asciiWidth">
<property name="geometry">
<rect>
<x>932</x>
<y>206</y>
<width>61</width>
<height>22</height>
</rect>
</property>
<property name="maximum">
<number>3840</number>
</property>
</widget>
<widget class="QLabel" name="label_7">
<property name="geometry">
<rect>
<x>881</x>
<y>236</y>
<width>47</width>
<height>14</height>
</rect>
</property>
<property name="text">
<string>Height</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="label_8">
<property name="geometry">
<rect>
<x>880</x>
<y>210</y>
<width>47</width>
<height>14</height>
</rect>
</property>
<property name="text">
<string>Width</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLineEdit" name="charEdit">
<property name="geometry">
<rect>
<x>827</x>
<y>300</y>
<width>161</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_9">
<property name="geometry">
<rect>
<x>830</x>
<y>280</y>
<width>111</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Characters</string>
</property>
</widget>
<widget class="QPushButton" name="applyButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>915</x>
<y>520</y>
<width>80</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>Apply</string>
</property>
</widget>
<widget class="QPushButton" name="revertButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>827</x>
<y>520</y>
<width>80</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>Revert</string>
</property>
</widget>
<widget class="QPushButton" name="startAndStopButton">
<property name="geometry">
<rect>
<x>830</x>
<y>488</y>
<width>161</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>Start</string>
</property>
</widget>
<widget class="Line" name="line_2">
<property name="geometry">
<rect>
<x>820</x>
<y>58</y>
<width>181</width>
<height>16</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QCheckBox" name="disableProcess">
<property name="geometry">
<rect>
<x>830</x>
<y>330</y>
<width>161</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Disable process</string>
</property>
</widget>
<widget class="QLabel" name="label_10">
<property name="geometry">
<rect>
<x>815</x>
<y>151</y>
<width>111</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Refresh timer (ms)</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QSpinBox" name="refreshTimer">
<property name="geometry">
<rect>
<x>930</x>
<y>150</y>
<width>61</width>
<height>22</height>
</rect>
</property>
<property name="minimum">
<number>25</number>
</property>
<property name="maximum">
<number>5000</number>
</property>
</widget>
<widget class="QLCDNumber" name="framerate">
<property name="geometry">
<rect>
<x>923</x>
<y>440</y>
<width>71</width>
<height>31</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_11">
<property name="geometry">
<rect>
<x>880</x>
<y>420</y>
<width>111</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Framerate</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QDockWidget" name="dockWidget">
<property name="minimumSize">
<size>
<width>210</width>
<height>561</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>210</width>
<height>561</height>
</size>
</property>
<property name="features">
<set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
</property>
<property name="windowTitle">
<string>Settings</string>
</property>
<attribute name="dockWidgetArea">
<number>2</number>
</attribute>
<widget class="QWidget" name="dockWidgetContents">
<widget class="QSpinBox" name="sourceHeight">
<property name="geometry">
<rect>
<x>126</x>
<y>110</y>
<width>61</width>
<height>22</height>
</rect>
</property>
<property name="maximum">
<number>2160</number>
</property>
</widget>
<widget class="QLabel" name="label_12">
<property name="geometry">
<rect>
<x>75</x>
<y>284</y>
<width>47</width>
<height>14</height>
</rect>
</property>
<property name="text">
<string>Width</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="label_11">
<property name="geometry">
<rect>
<x>75</x>
<y>414</y>
<width>111</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Framerate</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QSpinBox" name="bitmapHeight">
<property name="geometry">
<rect>
<x>127</x>
<y>306</y>
<width>61</width>
<height>22</height>
</rect>
</property>
<property name="maximum">
<number>2160</number>
</property>
</widget>
<widget class="QLabel" name="label_14">
<property name="geometry">
<rect>
<x>76</x>
<y>310</y>
<width>47</width>
<height>14</height>
</rect>
</property>
<property name="text">
<string>Height</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>74</x>
<y>88</y>
<width>47</width>
<height>14</height>
</rect>
</property>
<property name="text">
<string>Width</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="fontLabel">
<property name="geometry">
<rect>
<x>25</x>
<y>383</y>
<width>121</width>
<height>16</height>
</rect>
</property>
<property name="maximumSize">
<size>
<width>121</width>
<height>16</height>
</size>
</property>
<property name="text">
<string>TextLabel</string>
</property>
</widget>
<widget class="QLabel" name="label_13">
<property name="geometry">
<rect>
<x>15</x>
<y>254</y>
<width>111</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Bitmap (Process)</string>
</property>
</widget>
<widget class="QSpinBox" name="refreshTimer">
<property name="geometry">
<rect>
<x>125</x>
<y>144</y>
<width>61</width>
<height>22</height>
</rect>
</property>
<property name="minimum">
<number>25</number>
</property>
<property name="maximum">
<number>5000</number>
</property>
</widget>
<widget class="Line" name="line_2">
<property name="geometry">
<rect>
<x>15</x>
<y>52</y>
<width>181</width>
<height>16</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QLabel" name="label_7">
<property name="geometry">
<rect>
<x>76</x>
<y>230</y>
<width>47</width>
<height>14</height>
</rect>
</property>
<property name="text">
<string>Height</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="label_9">
<property name="geometry">
<rect>
<x>25</x>
<y>334</y>
<width>111</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Characters</string>
</property>
</widget>
<widget class="QSpinBox" name="asciiWidth">
<property name="geometry">
<rect>
<x>127</x>
<y>200</y>
<width>61</width>
<height>22</height>
</rect>
</property>
<property name="maximum">
<number>3840</number>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>15</x>
<y>64</y>
<width>111</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Source scale (IN)</string>
</property>
</widget>
<widget class="QComboBox" name="devicesBox">
<property name="geometry">
<rect>
<x>15</x>
<y>24</y>
<width>181</width>
<height>22</height>
</rect>
</property>
</widget>
<widget class="QSpinBox" name="bitmapWidth">
<property name="geometry">
<rect>
<x>127</x>
<y>280</y>
<width>61</width>
<height>22</height>
</rect>
</property>
<property name="maximum">
<number>3840</number>
</property>
</widget>
<widget class="QLabel" name="label_10">
<property name="geometry">
<rect>
<x>10</x>
<y>145</y>
<width>111</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Refresh timer (ms)</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>75</x>
<y>114</y>
<width>47</width>
<height>14</height>
</rect>
</property>
<property name="text">
<string>Height</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QCheckBox" name="disableProcess">
<property name="geometry">
<rect>
<x>102</x>
<y>253</y>
<width>111</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Disable process</string>
</property>
</widget>
<widget class="QLineEdit" name="charEdit">
<property name="geometry">
<rect>
<x>22</x>
<y>354</y>
<width>161</width>
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<family>Consolas</family>
<pointsize>9</pointsize>
</font>
</property>
</widget>
<widget class="QLCDNumber" name="framerate">
<property name="geometry">
<rect>
<x>118</x>
<y>434</y>
<width>71</width>
<height>31</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_6">
<property name="geometry">
<rect>
<x>15</x>
<y>174</y>
<width>171</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>ASCII Video output (OUT)</string>
</property>
</widget>
<widget class="QLabel" name="label_8">
<property name="geometry">
<rect>
<x>75</x>
<y>204</y>
<width>47</width>
<height>14</height>
</rect>
</property>
<property name="text">
<string>Width</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QSpinBox" name="sourceWidth">
<property name="geometry">
<rect>
<x>126</x>
<y>84</y>
<width>61</width>
<height>22</height>
</rect>
</property>
<property name="maximum">
<number>3840</number>
</property>
</widget>
<widget class="QSpinBox" name="asciiHeight">
<property name="geometry">
<rect>
<x>127</x>
<y>226</y>
<width>61</width>
<height>22</height>
</rect>
</property>
<property name="maximum">
<number>2160</number>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>15</x>
<y>4</y>
<width>47</width>
<height>14</height>
</rect>
</property>
<property name="text">
<string>Device</string>
</property>
</widget>
<widget class="QPushButton" name="startAndStopButton">
<property name="geometry">
<rect>
<x>26</x>
<y>470</y>
<width>161</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>Start</string>
</property>
</widget>
<widget class="QPushButton" name="applyButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>111</x>
<y>502</y>
<width>80</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>Apply</string>
</property>
</widget>
<widget class="QPushButton" name="revertButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>23</x>
<y>502</y>
<width>80</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>Revert</string>
</property>
</widget>
<widget class="QPushButton" name="fontButton">
<property name="geometry">
<rect>
<x>151</x>
<y>379</y>
<width>31</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>...</string>
</property>
</widget>
</widget>
</widget>
</widget>