Changeset View
Changeset View
Standalone View
Standalone View
src/widgets/scripteditor.ui
- This file was added.
1 | <?xml version="1.0" encoding="UTF-8"?> | ||||
---|---|---|---|---|---|
2 | <ui version="4.0"> | ||||
3 | <class>ScriptEditor</class> | ||||
4 | <widget class="QDialog" name="ScriptEditor"> | ||||
5 | <property name="geometry"> | ||||
6 | <rect> | ||||
7 | <x>0</x> | ||||
8 | <y>0</y> | ||||
9 | <width>400</width> | ||||
10 | <height>300</height> | ||||
11 | </rect> | ||||
12 | </property> | ||||
13 | <property name="windowTitle"> | ||||
14 | <string>Dialog</string> | ||||
15 | </property> | ||||
16 | <layout class="QVBoxLayout" name="verticalLayout"> | ||||
17 | <item> | ||||
18 | <layout class="QHBoxLayout" name="horizontalLayout"> | ||||
19 | <item> | ||||
20 | <spacer name="horizontalSpacer"> | ||||
21 | <property name="orientation"> | ||||
22 | <enum>Qt::Horizontal</enum> | ||||
23 | </property> | ||||
24 | <property name="sizeHint" stdset="0"> | ||||
25 | <size> | ||||
26 | <width>40</width> | ||||
27 | <height>20</height> | ||||
28 | </size> | ||||
29 | </property> | ||||
30 | </spacer> | ||||
31 | </item> | ||||
32 | <item> | ||||
33 | <widget class="QLabel" name="label"> | ||||
34 | <property name="text"> | ||||
35 | <string><html><head/><body><p><span style=" font-size:large; font-weight:600;">Zanshin Scripts</span></p></body></html></string> | ||||
36 | </property> | ||||
37 | </widget> | ||||
38 | </item> | ||||
39 | <item> | ||||
40 | <spacer name="horizontalSpacer_2"> | ||||
41 | <property name="orientation"> | ||||
42 | <enum>Qt::Horizontal</enum> | ||||
43 | </property> | ||||
44 | <property name="sizeHint" stdset="0"> | ||||
45 | <size> | ||||
46 | <width>40</width> | ||||
47 | <height>20</height> | ||||
48 | </size> | ||||
49 | </property> | ||||
50 | </spacer> | ||||
51 | </item> | ||||
52 | </layout> | ||||
53 | </item> | ||||
54 | <item> | ||||
55 | <widget class="QListView" name="listView"/> | ||||
56 | </item> | ||||
57 | <item> | ||||
58 | <layout class="QHBoxLayout" name="horizontalLayout_2"> | ||||
59 | <item> | ||||
60 | <widget class="QPushButton" name="pushButton_importScript"> | ||||
61 | <property name="text"> | ||||
62 | <string>Import script</string> | ||||
63 | </property> | ||||
64 | </widget> | ||||
65 | </item> | ||||
66 | <item> | ||||
67 | <widget class="QPushButton" name="pushButton_newScript"> | ||||
68 | <property name="text"> | ||||
69 | <string>New script</string> | ||||
70 | </property> | ||||
71 | </widget> | ||||
72 | </item> | ||||
73 | <item> | ||||
74 | <spacer name="horizontalSpacer_3"> | ||||
75 | <property name="orientation"> | ||||
76 | <enum>Qt::Horizontal</enum> | ||||
77 | </property> | ||||
78 | <property name="sizeHint" stdset="0"> | ||||
79 | <size> | ||||
80 | <width>40</width> | ||||
81 | <height>20</height> | ||||
82 | </size> | ||||
83 | </property> | ||||
84 | </spacer> | ||||
85 | </item> | ||||
86 | <item> | ||||
87 | <widget class="QDialogButtonBox" name="buttonBox"> | ||||
88 | <property name="orientation"> | ||||
89 | <enum>Qt::Horizontal</enum> | ||||
90 | </property> | ||||
91 | <property name="standardButtons"> | ||||
92 | <set>QDialogButtonBox::Ok</set> | ||||
93 | </property> | ||||
94 | </widget> | ||||
95 | </item> | ||||
96 | </layout> | ||||
97 | </item> | ||||
98 | </layout> | ||||
99 | </widget> | ||||
100 | <resources/> | ||||
101 | <connections> | ||||
102 | <connection> | ||||
103 | <sender>buttonBox</sender> | ||||
104 | <signal>accepted()</signal> | ||||
105 | <receiver>ScriptEditor</receiver> | ||||
106 | <slot>accept()</slot> | ||||
107 | <hints> | ||||
108 | <hint type="sourcelabel"> | ||||
109 | <x>248</x> | ||||
110 | <y>254</y> | ||||
111 | </hint> | ||||
112 | <hint type="destinationlabel"> | ||||
113 | <x>157</x> | ||||
114 | <y>274</y> | ||||
115 | </hint> | ||||
116 | </hints> | ||||
117 | </connection> | ||||
118 | <connection> | ||||
119 | <sender>buttonBox</sender> | ||||
120 | <signal>rejected()</signal> | ||||
121 | <receiver>ScriptEditor</receiver> | ||||
122 | <slot>reject()</slot> | ||||
123 | <hints> | ||||
124 | <hint type="sourcelabel"> | ||||
125 | <x>316</x> | ||||
126 | <y>260</y> | ||||
127 | </hint> | ||||
128 | <hint type="destinationlabel"> | ||||
129 | <x>286</x> | ||||
130 | <y>274</y> | ||||
131 | </hint> | ||||
132 | </hints> | ||||
133 | </connection> | ||||
134 | </connections> | ||||
135 | </ui> |