fix: caesium main window in designer

This commit is contained in:
Gary Wang 2021-10-06 09:12:43 +08:00
parent bed5ef71ea
commit a9171d1963

View File

@ -14,12 +14,21 @@
<string>Caesium - Image Compressor</string> <string>Caesium - Image Compressor</string>
</property> </property>
<property name="windowIcon"> <property name="windowIcon">
<iconset resource="icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/caesium_icon.png</normaloff>:/icons/caesium_icon.png</iconset> <normaloff>:/icons/caesium_icon.png</normaloff>:/icons/caesium_icon.png</iconset>
</property> </property>
<widget class="QWidget" name="centralWidget"> <widget class="QWidget" name="centralWidget">
<layout class="QHBoxLayout" name="horizontalLayout_2"> <layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="margin"> <property name="leftMargin">
<number>4</number>
</property>
<property name="topMargin">
<number>4</number>
</property>
<property name="rightMargin">
<number>4</number>
</property>
<property name="bottomMargin">
<number>4</number> <number>4</number>
</property> </property>
<item> <item>
@ -161,7 +170,7 @@
<string>Add</string> <string>Add</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/plus.png</normaloff>:/icons/plus.png</iconset> <normaloff>:/icons/plus.png</normaloff>:/icons/plus.png</iconset>
</property> </property>
<property name="autoDefault"> <property name="autoDefault">
@ -178,7 +187,7 @@
<string>Remove</string> <string>Remove</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/remove.png</normaloff>:/icons/remove.png</iconset> <normaloff>:/icons/remove.png</normaloff>:/icons/remove.png</iconset>
</property> </property>
</widget> </widget>
@ -192,7 +201,7 @@
<string>Preview</string> <string>Preview</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/search.png</normaloff>:/icons/search.png</iconset> <normaloff>:/icons/search.png</normaloff>:/icons/search.png</iconset>
</property> </property>
</widget> </widget>
@ -312,7 +321,16 @@
<string>Compression Options</string> <string>Compression Options</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_5"> <layout class="QVBoxLayout" name="verticalLayout_5">
<property name="margin"> <property name="leftMargin">
<number>6</number>
</property>
<property name="topMargin">
<number>6</number>
</property>
<property name="rightMargin">
<number>6</number>
</property>
<property name="bottomMargin">
<number>6</number> <number>6</number>
</property> </property>
<item> <item>
@ -489,7 +507,7 @@
<string>I can't set the quality!</string> <string>I can't set the quality!</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/help.png</normaloff>:/icons/help.png</iconset> <normaloff>:/icons/help.png</normaloff>:/icons/help.png</iconset>
</property> </property>
<property name="iconSize"> <property name="iconSize">
@ -533,7 +551,16 @@
<property name="spacing"> <property name="spacing">
<number>3</number> <number>3</number>
</property> </property>
<property name="margin"> <property name="leftMargin">
<number>6</number>
</property>
<property name="topMargin">
<number>6</number>
</property>
<property name="rightMargin">
<number>6</number>
</property>
<property name="bottomMargin">
<number>6</number> <number>6</number>
</property> </property>
<item> <item>
@ -629,7 +656,7 @@
<string/> <string/>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/undo.png</normaloff>:/icons/undo.png</iconset> <normaloff>:/icons/undo.png</normaloff>:/icons/undo.png</iconset>
</property> </property>
<property name="iconSize"> <property name="iconSize">
@ -681,6 +708,15 @@
</color> </color>
</brush> </brush>
</colorrole> </colorrole>
<colorrole role="PlaceholderText">
<brush brushstyle="NoBrush">
<color alpha="128">
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</active> </active>
<inactive> <inactive>
<colorrole role="WindowText"> <colorrole role="WindowText">
@ -701,6 +737,15 @@
</color> </color>
</brush> </brush>
</colorrole> </colorrole>
<colorrole role="PlaceholderText">
<brush brushstyle="NoBrush">
<color alpha="128">
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</inactive> </inactive>
<disabled> <disabled>
<colorrole role="WindowText"> <colorrole role="WindowText">
@ -721,6 +766,15 @@
</color> </color>
</brush> </brush>
</colorrole> </colorrole>
<colorrole role="PlaceholderText">
<brush brushstyle="NoBrush">
<color alpha="128">
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</disabled> </disabled>
</palette> </palette>
</property> </property>
@ -852,7 +906,7 @@
<string>The original files will be deleted!</string> <string>The original files will be deleted!</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/warning.png</normaloff>:/icons/warning.png</iconset> <normaloff>:/icons/warning.png</normaloff>:/icons/warning.png</iconset>
</property> </property>
<property name="iconSize"> <property name="iconSize">
@ -900,7 +954,7 @@
<widget class="QWidget" name="scrollAreaWidgetContents_4"> <widget class="QWidget" name="scrollAreaWidgetContents_4">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>8</x> <x>0</x>
<y>0</y> <y>0</y>
<width>176</width> <width>176</width>
<height>223</height> <height>223</height>
@ -929,7 +983,7 @@
<widget class="QWidget" name="scrollAreaWidgetContents"> <widget class="QWidget" name="scrollAreaWidgetContents">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>8</x> <x>0</x>
<y>0</y> <y>0</y>
<width>176</width> <width>176</width>
<height>223</height> <height>223</height>
@ -964,7 +1018,7 @@
<string/> <string/>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/fit_window.png</normaloff>:/icons/fit_window.png</iconset> <normaloff>:/icons/fit_window.png</normaloff>:/icons/fit_window.png</iconset>
</property> </property>
</widget> </widget>
@ -981,7 +1035,7 @@
<string/> <string/>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/real_size.png</normaloff>:/icons/real_size.png</iconset> <normaloff>:/icons/real_size.png</normaloff>:/icons/real_size.png</iconset>
</property> </property>
</widget> </widget>
@ -1021,7 +1075,7 @@
<string/> <string/>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/zoom_out.png</normaloff>:/icons/zoom_out.png</iconset> <normaloff>:/icons/zoom_out.png</normaloff>:/icons/zoom_out.png</iconset>
</property> </property>
</widget> </widget>
@ -1038,7 +1092,7 @@
<string/> <string/>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/zoom_in.png</normaloff>:/icons/zoom_in.png</iconset> <normaloff>:/icons/zoom_in.png</normaloff>:/icons/zoom_in.png</iconset>
</property> </property>
</widget> </widget>
@ -1059,7 +1113,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>900</width> <width>900</width>
<height>21</height> <height>25</height>
</rect> </rect>
</property> </property>
<widget class="QMenu" name="menuFile"> <widget class="QMenu" name="menuFile">
@ -1172,7 +1226,7 @@
</widget> </widget>
<action name="actionAdd_Pictures"> <action name="actionAdd_Pictures">
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/add.png</normaloff>:/icons/add.png</iconset> <normaloff>:/icons/add.png</normaloff>:/icons/add.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -1184,7 +1238,7 @@
</action> </action>
<action name="actionOpen_List"> <action name="actionOpen_List">
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/openlist.png</normaloff>:/icons/openlist.png</iconset> <normaloff>:/icons/openlist.png</normaloff>:/icons/openlist.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -1196,7 +1250,7 @@
</action> </action>
<action name="actionSave_List_As"> <action name="actionSave_List_As">
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/savelist.png</normaloff>:/icons/savelist.png</iconset> <normaloff>:/icons/savelist.png</normaloff>:/icons/savelist.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -1208,7 +1262,7 @@
</action> </action>
<action name="actionExit"> <action name="actionExit">
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/exit.png</normaloff>:/icons/exit.png</iconset> <normaloff>:/icons/exit.png</normaloff>:/icons/exit.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -1220,7 +1274,7 @@
</action> </action>
<action name="actionRemove_Item"> <action name="actionRemove_Item">
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/remove.png</normaloff>:/icons/remove.png</iconset> <normaloff>:/icons/remove.png</normaloff>:/icons/remove.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -1232,7 +1286,7 @@
</action> </action>
<action name="actionClear_List"> <action name="actionClear_List">
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/clear.png</normaloff>:/icons/clear.png</iconset> <normaloff>:/icons/clear.png</normaloff>:/icons/clear.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -1244,7 +1298,7 @@
</action> </action>
<action name="actionPreview"> <action name="actionPreview">
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/preview.png</normaloff>:/icons/preview.png</iconset> <normaloff>:/icons/preview.png</normaloff>:/icons/preview.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -1256,7 +1310,7 @@
</action> </action>
<action name="actionCompress"> <action name="actionCompress">
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/compress.png</normaloff>:/icons/compress.png</iconset> <normaloff>:/icons/compress.png</normaloff>:/icons/compress.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -1268,7 +1322,7 @@
</action> </action>
<action name="actionOnline_Support"> <action name="actionOnline_Support">
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/help.png</normaloff>:/icons/help.png</iconset> <normaloff>:/icons/help.png</normaloff>:/icons/help.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -1277,7 +1331,7 @@
</action> </action>
<action name="actionWebsite"> <action name="actionWebsite">
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/web.png</normaloff>:/icons/web.png</iconset> <normaloff>:/icons/web.png</normaloff>:/icons/web.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -1289,7 +1343,7 @@
</action> </action>
<action name="actionCheck_for_Updates"> <action name="actionCheck_for_Updates">
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/updates.png</normaloff>:/icons/updates.png</iconset> <normaloff>:/icons/updates.png</normaloff>:/icons/updates.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -1298,7 +1352,7 @@
</action> </action>
<action name="actionDonate_to_Caesium"> <action name="actionDonate_to_Caesium">
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/donate.png</normaloff>:/icons/donate.png</iconset> <normaloff>:/icons/donate.png</normaloff>:/icons/donate.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -1307,7 +1361,7 @@
</action> </action>
<action name="actionAbout"> <action name="actionAbout">
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/info.png</normaloff>:/icons/info.png</iconset> <normaloff>:/icons/info.png</normaloff>:/icons/info.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -1316,7 +1370,7 @@
</action> </action>
<action name="actionAbout_Qt"> <action name="actionAbout_Qt">
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset>
<normaloff>:/icons/qt.png</normaloff>:/icons/qt.png</iconset> <normaloff>:/icons/qt.png</normaloff>:/icons/qt.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -1336,7 +1390,7 @@
</action> </action>
<action name="actionSettings"> <action name="actionSettings">
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/settings.png</normaloff>:/icons/settings.png</iconset> <normaloff>:/icons/settings.png</normaloff>:/icons/settings.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -1345,7 +1399,7 @@
</action> </action>
<action name="actionOpen_Folder"> <action name="actionOpen_Folder">
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/open_folder.png</normaloff>:/icons/open_folder.png</iconset> <normaloff>:/icons/open_folder.png</normaloff>:/icons/open_folder.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -1357,7 +1411,7 @@
</action> </action>
<action name="actionRemove_Item_From_List_and_Hard_Disk"> <action name="actionRemove_Item_From_List_and_Hard_Disk">
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/remove_hdd.png</normaloff>:/icons/remove_hdd.png</iconset> <normaloff>:/icons/remove_hdd.png</normaloff>:/icons/remove_hdd.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -1407,7 +1461,7 @@
</customwidget> </customwidget>
</customwidgets> </customwidgets>
<resources> <resources>
<include location="icons.qrc"/> <include location="../icons.qrc"/>
</resources> </resources>
<connections> <connections>
<connection> <connection>