1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>ScriptsManager</class>
4 <widget class="QDialog" name="ScriptsManager">
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>Scripts Manager</string>
15  </property>
16  <layout class="QHBoxLayout" name="horizontalLayout">
17   <item>
18    <layout class="QVBoxLayout" name="mainContent">
19     <item>
20      <widget class="TreeView" name="scriptsView"/>
21     </item>
22    </layout>
23   </item>
24   <item>
25    <layout class="QVBoxLayout" name="buttonBox">
26     <item>
27      <widget class="QPushButton" name="btnCreate">
28       <property name="whatsThis">
29        <string>Creates a new script file.</string>
30       </property>
31       <property name="text">
32        <string>Create...</string>
33       </property>
34       <property name="icon">
35        <iconset theme="document-new">
36         <normaloff/>
37        </iconset>
38       </property>
39      </widget>
40     </item>
41     <item>
42      <widget class="QPushButton" name="btnAdd">
43       <property name="whatsThis">
44        <string>Copies an existing script from a specified location.</string>
45       </property>
46       <property name="text">
47        <string>Add...</string>
48       </property>
49       <property name="icon">
50        <iconset theme="document-open">
51         <normaloff/>
52        </iconset>
53       </property>
54      </widget>
55     </item>
56     <item>
57      <widget class="QPushButton" name="btnRemove">
58       <property name="whatsThis">
59        <string>Sends the selected script to the trash.</string>
60       </property>
61       <property name="text">
62        <string>Remove</string>
63       </property>
64       <property name="icon">
65        <iconset theme="user-trash">
66         <normaloff/>
67        </iconset>
68       </property>
69      </widget>
70     </item>
71     <item>
72      <widget class="QPushButton" name="btnEdit">
73       <property name="whatsThis">
74        <string>Opens the selected script with an external editor.</string>
75       </property>
76       <property name="text">
77        <string>Edit</string>
78       </property>
79       <property name="icon">
80        <iconset theme="document-edit">
81         <normaloff/>
82        </iconset>
83       </property>
84      </widget>
85     </item>
86     <item>
87      <spacer name="verticalSpacer">
88       <property name="orientation">
89        <enum>Qt::Vertical</enum>
90       </property>
91       <property name="sizeType">
92        <enum>QSizePolicy::Maximum</enum>
93       </property>
94       <property name="sizeHint" stdset="0">
95        <size>
96         <width>20</width>
97         <height>40</height>
98        </size>
99       </property>
100      </spacer>
101     </item>
102     <item>
103      <widget class="QPushButton" name="btnRun">
104       <property name="whatsThis">
105        <string>Executes the selected script.</string>
106       </property>
107       <property name="text">
108        <string>Run</string>
109       </property>
110       <property name="icon">
111        <iconset theme="media-playback-start">
112         <normaloff/>
113        </iconset>
114       </property>
115      </widget>
116     </item>
117     <item>
118      <spacer name="verticalSpacer_2">
119       <property name="orientation">
120        <enum>Qt::Vertical</enum>
121       </property>
122       <property name="sizeType">
123        <enum>QSizePolicy::Maximum</enum>
124       </property>
125       <property name="sizeHint" stdset="0">
126        <size>
127         <width>20</width>
128         <height>40</height>
129        </size>
130       </property>
131      </spacer>
132     </item>
133     <item>
134      <widget class="QPushButton" name="btnRefresh">
135       <property name="whatsThis">
136        <string>Reloads the installed scripts list.</string>
137       </property>
138       <property name="text">
139        <string>Refresh</string>
140       </property>
141       <property name="icon">
142        <iconset theme="view-refresh">
143         <normaloff/>
144        </iconset>
145       </property>
146      </widget>
147     </item>
148     <item>
149      <spacer name="verticalSpacer_3">
150       <property name="orientation">
151        <enum>Qt::Vertical</enum>
152       </property>
153       <property name="sizeHint" stdset="0">
154        <size>
155         <width>20</width>
156         <height>40</height>
157        </size>
158       </property>
159      </spacer>
160     </item>
161    </layout>
162   </item>
163  </layout>
164 </widget>
165 <customwidgets>
166  <customwidget>
167   <class>TreeView</class>
168   <extends>QTreeView</extends>
169   <header>gui/treeview/treeview.h</header>
170  </customwidget>
171 </customwidgets>
172 <resources/>
173 <connections/>
174</ui>
175