buckshot/buckshot/mainwindow.ui
Dagen Brock ef19a7a94f add the palette code and clean/fix project for qt 5.7 -> 5.12
- the 5.12 release seems to introduce some bugs on my mac, when you hit preview, rthe code ran but the UI wwouldn't update.  i've added repaint() calls, but this is quite frustrating and could be an issue with qt that might be mitigated otherwise in the future.  sorry future me. :`(
2018-12-28 09:52:41 -06:00

501 lines
12 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>671</width>
<height>576</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralWidget">
<widget class="QGroupBox" name="groupBox_source">
<property name="geometry">
<rect>
<x>20</x>
<y>40</y>
<width>311</width>
<height>211</height>
</rect>
</property>
<property name="title">
<string>Source</string>
</property>
<widget class="QLabel" name="label_source">
<property name="geometry">
<rect>
<x>10</x>
<y>24</y>
<width>291</width>
<height>181</height>
</rect>
</property>
<property name="text">
<string>Use &quot;Open Source Image&quot; above to get started.</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_preview">
<property name="geometry">
<rect>
<x>362</x>
<y>40</y>
<width>301</width>
<height>221</height>
</rect>
</property>
<property name="title">
<string>Preview</string>
</property>
<widget class="QLabel" name="label_preview">
<property name="geometry">
<rect>
<x>11</x>
<y>24</y>
<width>280</width>
<height>192</height>
</rect>
</property>
<property name="text">
<string>Apple ][ Preview</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</widget>
<widget class="QWidget" name="horizontalLayoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>0</y>
<width>651</width>
<height>41</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLineEdit" name="lineEdit_sourceFilename">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_sourceFilename">
<property name="text">
<string>Open Source Image</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QLabel" name="label_crossHatch">
<property name="geometry">
<rect>
<x>310</x>
<y>385</y>
<width>31</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Off</string>
</property>
</widget>
<widget class="QLabel" name="label_colorBleed">
<property name="geometry">
<rect>
<x>310</x>
<y>415</y>
<width>31</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Off</string>
</property>
</widget>
<widget class="QCheckBox" name="checkBox_livePreview">
<property name="geometry">
<rect>
<x>380</x>
<y>265</y>
<width>101</width>
<height>30</height>
</rect>
</property>
<property name="text">
<string>Live Preview</string>
</property>
</widget>
<widget class="QSlider" name="horizontalSlider_colorBleed">
<property name="geometry">
<rect>
<x>147</x>
<y>415</y>
<width>161</width>
<height>22</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QLabel" name="label_6">
<property name="geometry">
<rect>
<x>10</x>
<y>265</y>
<width>134</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Apple ][ Display Mode</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QComboBox" name="comboBox_outputFormat">
<property name="geometry">
<rect>
<x>147</x>
<y>265</y>
<width>191</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>0</x>
<y>415</y>
<width>140</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Color Bleed Reduction</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>101</x>
<y>355</y>
<width>37</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Scale</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>0</x>
<y>385</y>
<width>140</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Crosshatch Threshold</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>28</x>
<y>295</y>
<width>114</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Source Resolution:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QComboBox" name="comboBox_inputResolution">
<property name="geometry">
<rect>
<x>147</x>
<y>325</y>
<width>191</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QSlider" name="horizontalSlider_crossHatch">
<property name="geometry">
<rect>
<x>147</x>
<y>385</y>
<width>161</width>
<height>22</height>
</rect>
</property>
<property name="maximum">
<number>50</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QLabel" name="label_sourceResolution">
<property name="geometry">
<rect>
<x>155</x>
<y>295</y>
<width>161</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>10x10</string>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>21</x>
<y>325</y>
<width>121</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Scale to Resolution</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="label_scaleFactor">
<property name="geometry">
<rect>
<x>155</x>
<y>355</y>
<width>171</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>1</string>
</property>
</widget>
<widget class="QPlainTextEdit" name="plainTextEdit_lastCmd">
<property name="geometry">
<rect>
<x>360</x>
<y>385</y>
<width>291</width>
<height>79</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="placeholderText">
<string>This box shows the last conversion command run.</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_saveImage">
<property name="geometry">
<rect>
<x>410</x>
<y>480</y>
<width>121</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string>Save Image File</string>
</property>
</widget>
<widget class="Line" name="line">
<property name="geometry">
<rect>
<x>340</x>
<y>270</y>
<width>20</width>
<height>201</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
<widget class="QPushButton" name="pushButton_saveToProdos">
<property name="geometry">
<rect>
<x>530</x>
<y>480</y>
<width>121</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string>Save To ProDOS</string>
</property>
</widget>
<widget class="QLabel" name="label_8">
<property name="geometry">
<rect>
<x>20</x>
<y>445</y>
<width>121</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Dithering</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QComboBox" name="comboBox_dithering">
<property name="geometry">
<rect>
<x>147</x>
<y>445</y>
<width>191</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_addArgs">
<property name="geometry">
<rect>
<x>360</x>
<y>355</y>
<width>131</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_9">
<property name="geometry">
<rect>
<x>390</x>
<y>295</y>
<width>101</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Preview Palette:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QComboBox" name="comboBox_previewPalette">
<property name="geometry">
<rect>
<x>500</x>
<y>295</y>
<width>161</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_10">
<property name="geometry">
<rect>
<x>490</x>
<y>355</y>
<width>141</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>&lt;- additional arguments</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QPushButton" name="pushButton_preview">
<property name="geometry">
<rect>
<x>500</x>
<y>265</y>
<width>161</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string>Preview</string>
</property>
</widget>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>671</width>
<height>22</height>
</rect>
</property>
<widget class="QMenu" name="menuAbout">
<property name="title">
<string>About</string>
</property>
<addaction name="actionWhat_is_this"/>
</widget>
<addaction name="menuAbout"/>
</widget>
<widget class="QToolBar" name="mainToolBar">
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
</widget>
<widget class="QStatusBar" name="statusBar"/>
<action name="actionWhat_is_this">
<property name="text">
<string>What is this?</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>
<connections/>
</ui>