simplescripteditor.ui
changeset 438 eae9abe70d7c
parent 432 f867269ab8a1
     1.1 --- a/simplescripteditor.ui	Wed Mar 21 11:51:38 2007 +0000
     1.2 +++ b/simplescripteditor.ui	Wed Mar 21 11:51:38 2007 +0000
     1.3 @@ -12,67 +12,76 @@
     1.4    <property name="windowTitle" >
     1.5     <string>Simple Script Editor</string>
     1.6    </property>
     1.7 -  <layout class="QHBoxLayout" >
     1.8 +  <layout class="QGridLayout" >
     1.9     <property name="margin" >
    1.10      <number>9</number>
    1.11     </property>
    1.12     <property name="spacing" >
    1.13      <number>6</number>
    1.14     </property>
    1.15 -   <item>
    1.16 +   <item row="4" column="1" >
    1.17 +    <spacer>
    1.18 +     <property name="orientation" >
    1.19 +      <enum>Qt::Vertical</enum>
    1.20 +     </property>
    1.21 +     <property name="sizeHint" >
    1.22 +      <size>
    1.23 +       <width>75</width>
    1.24 +       <height>211</height>
    1.25 +      </size>
    1.26 +     </property>
    1.27 +    </spacer>
    1.28 +   </item>
    1.29 +   <item row="3" column="1" >
    1.30 +    <widget class="QPushButton" name="saveAsButton" >
    1.31 +     <property name="text" >
    1.32 +      <string>Save as</string>
    1.33 +     </property>
    1.34 +     <property name="shortcut" >
    1.35 +      <string/>
    1.36 +     </property>
    1.37 +    </widget>
    1.38 +   </item>
    1.39 +   <item row="2" column="1" >
    1.40 +    <widget class="QPushButton" name="saveButton" >
    1.41 +     <property name="text" >
    1.42 +      <string>Save</string>
    1.43 +     </property>
    1.44 +     <property name="shortcut" >
    1.45 +      <string>Qt::CTRL + Qt::Key_S</string>
    1.46 +     </property>
    1.47 +    </widget>
    1.48 +   </item>
    1.49 +   <item row="1" column="1" >
    1.50 +    <widget class="QPushButton" name="openButton" >
    1.51 +     <property name="text" >
    1.52 +      <string>Open</string>
    1.53 +     </property>
    1.54 +     <property name="shortcut" >
    1.55 +      <string>Qt::CTRL +Qt::Key_O</string>
    1.56 +     </property>
    1.57 +    </widget>
    1.58 +   </item>
    1.59 +   <item row="0" column="1" >
    1.60 +    <widget class="QPushButton" name="runButton" >
    1.61 +     <property name="text" >
    1.62 +      <string>Run</string>
    1.63 +     </property>
    1.64 +     <property name="shortcut" >
    1.65 +      <string>Qt::CTRL + Qt::Key_R</string>
    1.66 +     </property>
    1.67 +    </widget>
    1.68 +   </item>
    1.69 +   <item row="5" column="1" >
    1.70 +    <widget class="QPushButton" name="closeButton" >
    1.71 +     <property name="text" >
    1.72 +      <string>Close</string>
    1.73 +     </property>
    1.74 +    </widget>
    1.75 +   </item>
    1.76 +   <item rowspan="6" row="0" column="0" >
    1.77      <widget class="QTextEdit" name="editor" />
    1.78     </item>
    1.79 -   <item>
    1.80 -    <layout class="QVBoxLayout" >
    1.81 -     <property name="margin" >
    1.82 -      <number>0</number>
    1.83 -     </property>
    1.84 -     <property name="spacing" >
    1.85 -      <number>6</number>
    1.86 -     </property>
    1.87 -     <item>
    1.88 -      <widget class="QPushButton" name="runButton" >
    1.89 -       <property name="text" >
    1.90 -        <string>Run</string>
    1.91 -       </property>
    1.92 -      </widget>
    1.93 -     </item>
    1.94 -     <item>
    1.95 -      <widget class="QPushButton" name="loadButton" >
    1.96 -       <property name="text" >
    1.97 -        <string>Load</string>
    1.98 -       </property>
    1.99 -      </widget>
   1.100 -     </item>
   1.101 -     <item>
   1.102 -      <widget class="QPushButton" name="saveButton" >
   1.103 -       <property name="text" >
   1.104 -        <string>Save</string>
   1.105 -       </property>
   1.106 -      </widget>
   1.107 -     </item>
   1.108 -     <item>
   1.109 -      <spacer>
   1.110 -       <property name="orientation" >
   1.111 -        <enum>Qt::Vertical</enum>
   1.112 -       </property>
   1.113 -       <property name="sizeHint" >
   1.114 -        <size>
   1.115 -         <width>20</width>
   1.116 -         <height>40</height>
   1.117 -        </size>
   1.118 -       </property>
   1.119 -      </spacer>
   1.120 -     </item>
   1.121 -     <item>
   1.122 -      <widget class="QPushButton" name="closeButton" >
   1.123 -       <property name="text" >
   1.124 -        <string>Close</string>
   1.125 -       </property>
   1.126 -      </widget>
   1.127 -     </item>
   1.128 -    </layout>
   1.129 -   </item>
   1.130    </layout>
   1.131   </widget>
   1.132   <resources/>