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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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