Linux/BSD dialog improvements

This commit is contained in:
Rafael 2016-11-14 08:32:34 +01:00
parent d11df14171
commit 8951bebc95
9 changed files with 150 additions and 6 deletions

View file

@ -6,7 +6,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>375</width> <width>387</width>
<height>260</height> <height>260</height>
</rect> </rect>
</property> </property>
@ -66,9 +66,18 @@ Copyright &amp;copy; &lt;a href=&quot;https://github.com/Syping/&quot;&gt;Syping
</item> </item>
<item> <item>
<widget class="QPushButton" name="cmdClose"> <widget class="QPushButton" name="cmdClose">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text"> <property name="text">
<string>&amp;Close</string> <string>&amp;Close</string>
</property> </property>
<property name="icon">
<iconset theme="dialog-close"/>
</property>
</widget> </widget>
</item> </item>
</layout> </layout>

View file

@ -185,6 +185,12 @@
</item> </item>
<item> <item>
<widget class="QPushButton" name="cmdSnapmaticExport"> <widget class="QPushButton" name="cmdSnapmaticExport">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text"> <property name="text">
<string>&amp;Export</string> <string>&amp;Export</string>
</property> </property>
@ -192,9 +198,18 @@
</item> </item>
<item> <item>
<widget class="QPushButton" name="cmdSnapmaticClose"> <widget class="QPushButton" name="cmdSnapmaticClose">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text"> <property name="text">
<string>&amp;Close</string> <string>&amp;Close</string>
</property> </property>
<property name="icon">
<iconset theme="dialog-close"/>
</property>
</widget> </widget>
</item> </item>
</layout> </layout>

View file

@ -7,7 +7,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>435</width> <width>435</width>
<height>375</height> <height>405</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -453,16 +453,34 @@
</item> </item>
<item> <item>
<widget class="QPushButton" name="cmdOK"> <widget class="QPushButton" name="cmdOK">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text"> <property name="text">
<string extracomment="OK, Cancel, Apply">&amp;OK</string> <string extracomment="OK, Cancel, Apply">&amp;OK</string>
</property> </property>
<property name="icon">
<iconset theme="dialog-ok"/>
</property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="cmdClose"> <widget class="QPushButton" name="cmdClose">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text"> <property name="text">
<string extracomment="OK, Cancel, Apply">&amp;Cancel</string> <string extracomment="OK, Cancel, Apply">&amp;Cancel</string>
</property> </property>
<property name="icon">
<iconset theme="dialog-cancel"/>
</property>
</widget> </widget>
</item> </item>
</layout> </layout>

View file

@ -148,6 +148,12 @@
</property> </property>
<item> <item>
<widget class="QPushButton" name="cmdExport"> <widget class="QPushButton" name="cmdExport">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="focusPolicy"> <property name="focusPolicy">
<enum>Qt::NoFocus</enum> <enum>Qt::NoFocus</enum>
</property> </property>
@ -164,6 +170,12 @@
</item> </item>
<item> <item>
<widget class="QPushButton" name="cmdClose"> <widget class="QPushButton" name="cmdClose">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="focusPolicy"> <property name="focusPolicy">
<enum>Qt::NoFocus</enum> <enum>Qt::NoFocus</enum>
</property> </property>
@ -173,6 +185,9 @@
<property name="text"> <property name="text">
<string>&amp;Close</string> <string>&amp;Close</string>
</property> </property>
<property name="icon">
<iconset theme="dialog-close"/>
</property>
<property name="autoDefault"> <property name="autoDefault">
<bool>false</bool> <bool>false</bool>
</property> </property>

View file

@ -109,7 +109,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>398</width> <width>398</width>
<height>257</height> <height>256</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="vlProfile"> <layout class="QVBoxLayout" name="vlProfile">
@ -185,6 +185,12 @@
</item> </item>
<item> <item>
<widget class="QPushButton" name="cmdImport"> <widget class="QPushButton" name="cmdImport">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip"> <property name="toolTip">
<string>Import exported file</string> <string>Import exported file</string>
</property> </property>
@ -198,12 +204,21 @@
</item> </item>
<item> <item>
<widget class="QPushButton" name="cmdCloseProfile"> <widget class="QPushButton" name="cmdCloseProfile">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip"> <property name="toolTip">
<string>Close profile</string> <string>Close profile</string>
</property> </property>
<property name="text"> <property name="text">
<string>&amp;Close</string> <string>&amp;Close</string>
</property> </property>
<property name="icon">
<iconset theme="dialog-close"/>
</property>
<property name="autoDefault"> <property name="autoDefault">
<bool>true</bool> <bool>true</bool>
</property> </property>

View file

@ -50,6 +50,12 @@
</item> </item>
<item> <item>
<widget class="QPushButton" name="cmdCopy"> <widget class="QPushButton" name="cmdCopy">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text"> <property name="text">
<string>&amp;Export</string> <string>&amp;Export</string>
</property> </property>
@ -57,9 +63,18 @@
</item> </item>
<item> <item>
<widget class="QPushButton" name="cmdClose"> <widget class="QPushButton" name="cmdClose">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text"> <property name="text">
<string>&amp;Close</string> <string>&amp;Close</string>
</property> </property>
<property name="icon">
<iconset theme="dialog-close"/>
</property>
</widget> </widget>
</item> </item>
</layout> </layout>

View file

@ -7,7 +7,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>405</width> <width>405</width>
<height>45</height> <height>46</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -73,6 +73,12 @@
</item> </item>
<item> <item>
<widget class="QPushButton" name="cmdView"> <widget class="QPushButton" name="cmdView">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip"> <property name="toolTip">
<string>View savegame</string> <string>View savegame</string>
</property> </property>
@ -83,6 +89,12 @@
</item> </item>
<item> <item>
<widget class="QPushButton" name="cmdCopy"> <widget class="QPushButton" name="cmdCopy">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip"> <property name="toolTip">
<string>Copy savegame</string> <string>Copy savegame</string>
</property> </property>
@ -96,6 +108,12 @@
</item> </item>
<item> <item>
<widget class="QPushButton" name="cmdDelete"> <widget class="QPushButton" name="cmdDelete">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip"> <property name="toolTip">
<string>Delete savegame</string> <string>Delete savegame</string>
</property> </property>

View file

@ -6,7 +6,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>459</width> <width>490</width>
<height>45</height> <height>45</height>
</rect> </rect>
</property> </property>
@ -88,6 +88,12 @@
</item> </item>
<item> <item>
<widget class="QPushButton" name="cmdView"> <widget class="QPushButton" name="cmdView">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip"> <property name="toolTip">
<string>View picture</string> <string>View picture</string>
</property> </property>
@ -101,6 +107,12 @@
</item> </item>
<item> <item>
<widget class="QPushButton" name="cmdCopy"> <widget class="QPushButton" name="cmdCopy">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip"> <property name="toolTip">
<string>Copy picture</string> <string>Copy picture</string>
</property> </property>
@ -111,6 +123,12 @@
</item> </item>
<item> <item>
<widget class="QPushButton" name="cmdExport"> <widget class="QPushButton" name="cmdExport">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip"> <property name="toolTip">
<string>Export picture</string> <string>Export picture</string>
</property> </property>
@ -121,6 +139,12 @@
</item> </item>
<item> <item>
<widget class="QPushButton" name="cmdDelete"> <widget class="QPushButton" name="cmdDelete">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip"> <property name="toolTip">
<string>Delete picture</string> <string>Delete picture</string>
</property> </property>

View file

@ -121,6 +121,12 @@
</item> </item>
<item> <item>
<widget class="QPushButton" name="cmdReload"> <widget class="QPushButton" name="cmdReload">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text"> <property name="text">
<string>&amp;Reload</string> <string>&amp;Reload</string>
</property> </property>
@ -131,9 +137,18 @@
</item> </item>
<item> <item>
<widget class="QPushButton" name="cmdClose"> <widget class="QPushButton" name="cmdClose">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text"> <property name="text">
<string>&amp;Close</string> <string>&amp;Close</string>
</property> </property>
<property name="icon">
<iconset theme="dialog-close"/>
</property>
<property name="autoDefault"> <property name="autoDefault">
<bool>true</bool> <bool>true</bool>
</property> </property>
@ -153,7 +168,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>625</width> <width>625</width>
<height>21</height> <height>19</height>
</rect> </rect>
</property> </property>
<widget class="QMenu" name="menuFile"> <widget class="QMenu" name="menuFile">