simplescripteditor.ui
author insilmaril
Wed, 21 Mar 2007 11:51:38 +0000
changeset 436 19e5907b7818
parent 432 f867269ab8a1
child 438 eae9abe70d7c
permissions -rw-r--r--
Slightly improved scripting abilities
     1 <ui version="4.0" >
     2  <class>SimpleScriptEditor</class>
     3  <widget class="QDialog" name="SimpleScriptEditor" >
     4   <property name="geometry" >
     5    <rect>
     6     <x>0</x>
     7     <y>0</y>
     8     <width>551</width>
     9     <height>407</height>
    10    </rect>
    11   </property>
    12   <property name="windowTitle" >
    13    <string>Simple Script Editor</string>
    14   </property>
    15   <layout class="QHBoxLayout" >
    16    <property name="margin" >
    17     <number>9</number>
    18    </property>
    19    <property name="spacing" >
    20     <number>6</number>
    21    </property>
    22    <item>
    23     <widget class="QTextEdit" name="editor" />
    24    </item>
    25    <item>
    26     <layout class="QVBoxLayout" >
    27      <property name="margin" >
    28       <number>0</number>
    29      </property>
    30      <property name="spacing" >
    31       <number>6</number>
    32      </property>
    33      <item>
    34       <widget class="QPushButton" name="runButton" >
    35        <property name="text" >
    36         <string>Run</string>
    37        </property>
    38       </widget>
    39      </item>
    40      <item>
    41       <widget class="QPushButton" name="loadButton" >
    42        <property name="text" >
    43         <string>Load</string>
    44        </property>
    45       </widget>
    46      </item>
    47      <item>
    48       <widget class="QPushButton" name="saveButton" >
    49        <property name="text" >
    50         <string>Save</string>
    51        </property>
    52       </widget>
    53      </item>
    54      <item>
    55       <spacer>
    56        <property name="orientation" >
    57         <enum>Qt::Vertical</enum>
    58        </property>
    59        <property name="sizeHint" >
    60         <size>
    61          <width>20</width>
    62          <height>40</height>
    63         </size>
    64        </property>
    65       </spacer>
    66      </item>
    67      <item>
    68       <widget class="QPushButton" name="closeButton" >
    69        <property name="text" >
    70         <string>Close</string>
    71        </property>
    72       </widget>
    73      </item>
    74     </layout>
    75    </item>
    76   </layout>
    77  </widget>
    78  <resources/>
    79  <connections>
    80   <connection>
    81    <sender>closeButton</sender>
    82    <signal>clicked()</signal>
    83    <receiver>SimpleScriptEditor</receiver>
    84    <slot>accept()</slot>
    85    <hints>
    86     <hint type="sourcelabel" >
    87      <x>519</x>
    88      <y>390</y>
    89     </hint>
    90     <hint type="destinationlabel" >
    91      <x>-25</x>
    92      <y>-275</y>
    93     </hint>
    94    </hints>
    95   </connection>
    96  </connections>
    97 </ui>