Add a 'Close' button

This commit is contained in:
Sébastien Fourey 2023-04-03 15:24:29 +02:00
parent e8d557b8fd
commit 99e722276e
5 changed files with 27 additions and 15 deletions

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
icons/dark/cancel.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
icons/dark/close.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -482,7 +482,7 @@
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout" stretch="0,1,0,0,0,0,0,0">
<layout class="QHBoxLayout" name="horizontalLayout" stretch="0,1,0,0,0,0,0,0,0">
<item>
<widget class="QPushButton" name="pbSettings">
<property name="sizePolicy">
@ -519,19 +519,6 @@
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbCancel">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>&amp;Cancel</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbFullscreen">
<property name="sizePolicy">
@ -545,6 +532,32 @@
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbClose">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>&amp;Close</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbCancel">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>&amp;Cancel</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbApply">
<property name="sizePolicy">
@ -624,7 +637,6 @@
<tabstop>previewWidget</tabstop>
<tabstop>cbPreview</tabstop>
<tabstop>pbCancel</tabstop>
<tabstop>pbFullscreen</tabstop>
<tabstop>pbApply</tabstop>
<tabstop>pbOk</tabstop>
</tabstops>