Various fixes, also from 1.12. branch
2 <class>SimpleScriptEditor</class>
3 <widget class="QDialog" name="SimpleScriptEditor" >
4 <property name="geometry" >
12 <property name="windowTitle" >
13 <string>Simple Script Editor</string>
15 <layout class="QGridLayout" >
16 <property name="margin" >
19 <property name="spacing" >
22 <item row="4" column="1" >
24 <property name="orientation" >
25 <enum>Qt::Vertical</enum>
27 <property name="sizeHint" >
35 <item row="3" column="1" >
36 <widget class="QPushButton" name="saveAsButton" >
37 <property name="text" >
38 <string>Save as</string>
40 <property name="shortcut" >
45 <item row="2" column="1" >
46 <widget class="QPushButton" name="saveButton" >
47 <property name="text" >
50 <property name="shortcut" >
51 <string>Qt::CTRL + Qt::Key_S</string>
55 <item row="1" column="1" >
56 <widget class="QPushButton" name="openButton" >
57 <property name="text" >
60 <property name="shortcut" >
61 <string>Qt::CTRL +Qt::Key_O</string>
65 <item row="0" column="1" >
66 <widget class="QPushButton" name="runButton" >
67 <property name="text" >
70 <property name="shortcut" >
71 <string>Qt::CTRL + Qt::Key_R</string>
75 <item row="5" column="1" >
76 <widget class="QPushButton" name="closeButton" >
77 <property name="text" >
78 <string>Close</string>
82 <item rowspan="6" row="0" column="0" >
83 <widget class="QTextEdit" name="editor" />
90 <sender>closeButton</sender>
91 <signal>clicked()</signal>
92 <receiver>SimpleScriptEditor</receiver>
95 <hint type="sourcelabel" >
99 <hint type="destinationlabel" >