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
|
<ui version="4.0" >
<class>SimpleScriptEditor</class>
<widget class="QDialog" name="SimpleScriptEditor" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>551</width>
<height>407</height>
</rect>
</property>
<property name="windowTitle" >
<string>Simple Script Editor</string>
</property>
<layout class="QGridLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="4" column="1" >
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" >
<size>
<width>75</width>
<height>211</height>
</size>
</property>
</spacer>
</item>
<item row="3" column="1" >
<widget class="QPushButton" name="saveAsButton" >
<property name="text" >
<string>Save as</string>
</property>
<property name="shortcut" >
<string/>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QPushButton" name="saveButton" >
<property name="text" >
<string>Save</string>
</property>
<property name="shortcut" >
<string>Qt::CTRL + Qt::Key_S</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QPushButton" name="openButton" >
<property name="text" >
<string>Open</string>
</property>
<property name="shortcut" >
<string>Qt::CTRL +Qt::Key_O</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QPushButton" name="runButton" >
<property name="text" >
<string>Run</string>
</property>
<property name="shortcut" >
<string>Qt::CTRL + Qt::Key_R</string>
</property>
</widget>
</item>
<item row="5" column="1" >
<widget class="QPushButton" name="closeButton" >
<property name="text" >
<string>Close</string>
</property>
</widget>
</item>
<item rowspan="6" row="0" column="0" >
<widget class="QTextEdit" name="editor" />
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>closeButton</sender>
<signal>clicked()</signal>
<receiver>SimpleScriptEditor</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel" >
<x>519</x>
<y>390</y>
</hint>
<hint type="destinationlabel" >
<x>-25</x>
<y>-275</y>
</hint>
</hints>
</connection>
</connections>
</ui>
|