summaryrefslogtreecommitdiffhomepage
path: root/gui/keyboard_listener.ui
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-02-24 11:43:34 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-02-24 11:43:34 +0100
commit4d6e3bad7e38a80375c4888cf630aa71960d2899 (patch)
treeebd0d2185d9479586a944cba758c5d8214e54158 /gui/keyboard_listener.ui
parent670e8774705d160b67c0ad8c938d2525316e125b (diff)
gui: simplify keyboard listener dialog
It's now generated from .ui QDialog, not a manually created QDialog from QLabel in .ui.
Diffstat (limited to 'gui/keyboard_listener.ui')
-rw-r--r--gui/keyboard_listener.ui35
1 files changed, 13 insertions, 22 deletions
diff --git a/gui/keyboard_listener.ui b/gui/keyboard_listener.ui
index b6977df0..f7f29468 100644
--- a/gui/keyboard_listener.ui
+++ b/gui/keyboard_listener.ui
@@ -1,36 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>keyboard_listener</class>
- <widget class="QLabel" name="keyboard_listener">
- <property name="windowModality">
- <enum>Qt::ApplicationModal</enum>
- </property>
+ <widget class="QDialog" name="keyboard_listener">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
- <width>224</width>
- <height>33</height>
+ <width>587</width>
+ <height>273</height>
</rect>
</property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
<property name="windowTitle">
- <string>Bind a shortcut</string>
- </property>
- <property name="text">
- <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Press a key or close this window to remove the keybinding.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
- </property>
- <property name="textFormat">
- <enum>Qt::RichText</enum>
- </property>
- <property name="margin">
- <number>10</number>
+ <string>Dialog</string>
</property>
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <item alignment="Qt::AlignHCenter|Qt::AlignVCenter">
+ <widget class="QLabel" name="label">
+ <property name="text">
+ <string>Press a key or close this window to remove the keybinding.</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
</widget>
<resources/>
<connections/>