-
Notifications
You must be signed in to change notification settings - Fork 3
/
mainwindow.ui
111 lines (111 loc) · 3.39 KB
/
mainwindow.ui
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>745</width>
<height>466</height>
</rect>
</property>
<property name="windowTitle">
<string>QCommandEdit Demo</string>
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QGridLayout" name="gridLayout">
<item row="4" column="0" colspan="2">
<widget class="QCommandEdit" name="commandEdit"/>
</item>
<item row="2" column="1">
<widget class="QLabel" name="labelListWords">
<property name="text">
<string>List of completable words:</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QTextEdit" name="textCmdLog">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QListWidget" name="listWords">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>355</width>
<height>16777215</height>
</size>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="labelCmdLog">
<property name="text">
<string>Command log:</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2">
<widget class="QLabel" name="label">
<property name="styleSheet">
<string notr="true">background: rgb(255, 238, 153);</string>
</property>
<property name="frameShape">
<enum>QFrame::Box</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="text">
<string><html><head/><body><p>This is a demo of the <span style=" text-decoration: underline;">QCommandEdit</span> widget.</p><p>Use <span style=" font-weight:600;">Up</span>/<span style=" font-weight:600;">Down</span> to navigate history, or to search history; Use <span style=" font-weight:600;">Tab</span>/<span style=" font-weight:600;">Shift+Tab</span> to complete words.</p></body></html></string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<property name="margin">
<number>16</number>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>745</width>
<height>22</height>
</rect>
</property>
</widget>
<widget class="QToolBar" name="mainToolBar">
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
</widget>
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>
<customwidget>
<class>QCommandEdit</class>
<extends>QLineEdit</extends>
<header>qcommandedit.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>