ginebra/emulator/ui/console.ui
changeset 0 1450b09d0cfd
equal deleted inserted replaced
-1:000000000000 0:1450b09d0cfd
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <ui version="4.0">
       
     3  <class>ConsoleDialog</class>
       
     4  <widget class="QDialog" name="ConsoleDialog">
       
     5   <property name="geometry">
       
     6    <rect>
       
     7     <x>0</x>
       
     8     <y>0</y>
       
     9     <width>419</width>
       
    10     <height>607</height>
       
    11    </rect>
       
    12   </property>
       
    13   <property name="windowTitle">
       
    14    <string>Dialog</string>
       
    15   </property>
       
    16   <layout class="QVBoxLayout" name="verticalLayout_2">
       
    17    <item>
       
    18     <layout class="QVBoxLayout" name="verticalLayout">
       
    19      <item>
       
    20       <widget class="QSplitter" name="splitter">
       
    21        <property name="orientation">
       
    22         <enum>Qt::Vertical</enum>
       
    23        </property>
       
    24        <property name="childrenCollapsible">
       
    25         <bool>false</bool>
       
    26        </property>
       
    27        <widget class="QPlainTextEdit" name="outputEdit">
       
    28         <property name="sizePolicy">
       
    29          <sizepolicy hsizetype="Expanding" vsizetype="Maximum">
       
    30           <horstretch>0</horstretch>
       
    31           <verstretch>0</verstretch>
       
    32          </sizepolicy>
       
    33         </property>
       
    34         <property name="baseSize">
       
    35          <size>
       
    36           <width>0</width>
       
    37           <height>0</height>
       
    38          </size>
       
    39         </property>
       
    40         <property name="readOnly">
       
    41          <bool>true</bool>
       
    42         </property>
       
    43        </widget>
       
    44        <widget class="QPlainTextEdit" name="inputEdit">
       
    45         <property name="sizePolicy">
       
    46          <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
       
    47           <horstretch>0</horstretch>
       
    48           <verstretch>0</verstretch>
       
    49          </sizepolicy>
       
    50         </property>
       
    51         <property name="minimumSize">
       
    52          <size>
       
    53           <width>0</width>
       
    54           <height>40</height>
       
    55          </size>
       
    56         </property>
       
    57         <property name="maximumSize">
       
    58          <size>
       
    59           <width>16777215</width>
       
    60           <height>16777215</height>
       
    61          </size>
       
    62         </property>
       
    63         <property name="baseSize">
       
    64          <size>
       
    65           <width>0</width>
       
    66           <height>0</height>
       
    67          </size>
       
    68         </property>
       
    69         <property name="toolTip">
       
    70          <string>Enter javascript here then press Evaluate</string>
       
    71         </property>
       
    72        </widget>
       
    73       </widget>
       
    74      </item>
       
    75      <item>
       
    76       <layout class="QHBoxLayout" name="horizontalLayout">
       
    77        <item>
       
    78         <widget class="QPushButton" name="clearButton">
       
    79          <property name="text">
       
    80           <string>Clear</string>
       
    81          </property>
       
    82         </widget>
       
    83        </item>
       
    84        <item>
       
    85         <spacer name="horizontalSpacer">
       
    86          <property name="orientation">
       
    87           <enum>Qt::Horizontal</enum>
       
    88          </property>
       
    89          <property name="sizeHint" stdset="0">
       
    90           <size>
       
    91            <width>40</width>
       
    92            <height>20</height>
       
    93           </size>
       
    94          </property>
       
    95         </spacer>
       
    96        </item>
       
    97        <item>
       
    98         <widget class="QPushButton" name="closeButton">
       
    99          <property name="toolTip">
       
   100           <string>Save and Close</string>
       
   101          </property>
       
   102          <property name="text">
       
   103           <string>Close</string>
       
   104          </property>
       
   105         </widget>
       
   106        </item>
       
   107        <item>
       
   108         <widget class="QPushButton" name="evalButton">
       
   109          <property name="toolTip">
       
   110           <string>Evaluate Expression (Ctrl+Enter)</string>
       
   111          </property>
       
   112          <property name="text">
       
   113           <string>Evaluate</string>
       
   114          </property>
       
   115          <property name="default">
       
   116           <bool>true</bool>
       
   117          </property>
       
   118         </widget>
       
   119        </item>
       
   120       </layout>
       
   121      </item>
       
   122     </layout>
       
   123    </item>
       
   124   </layout>
       
   125  </widget>
       
   126  <tabstops>
       
   127   <tabstop>inputEdit</tabstop>
       
   128   <tabstop>evalButton</tabstop>
       
   129   <tabstop>closeButton</tabstop>
       
   130   <tabstop>outputEdit</tabstop>
       
   131  </tabstops>
       
   132  <resources/>
       
   133  <connections>
       
   134   <connection>
       
   135    <sender>closeButton</sender>
       
   136    <signal>clicked()</signal>
       
   137    <receiver>ConsoleDialog</receiver>
       
   138    <slot>accept()</slot>
       
   139    <hints>
       
   140     <hint type="sourcelabel">
       
   141      <x>302</x>
       
   142      <y>589</y>
       
   143     </hint>
       
   144     <hint type="destinationlabel">
       
   145      <x>786</x>
       
   146      <y>805</y>
       
   147     </hint>
       
   148    </hints>
       
   149   </connection>
       
   150   <connection>
       
   151    <sender>evalButton</sender>
       
   152    <signal>clicked()</signal>
       
   153    <receiver>ConsoleDialog</receiver>
       
   154    <slot>evaluate()</slot>
       
   155    <hints>
       
   156     <hint type="sourcelabel">
       
   157      <x>367</x>
       
   158      <y>586</y>
       
   159     </hint>
       
   160     <hint type="destinationlabel">
       
   161      <x>374</x>
       
   162      <y>607</y>
       
   163     </hint>
       
   164    </hints>
       
   165   </connection>
       
   166   <connection>
       
   167    <sender>clearButton</sender>
       
   168    <signal>clicked()</signal>
       
   169    <receiver>outputEdit</receiver>
       
   170    <slot>clear()</slot>
       
   171    <hints>
       
   172     <hint type="sourcelabel">
       
   173      <x>32</x>
       
   174      <y>580</y>
       
   175     </hint>
       
   176     <hint type="destinationlabel">
       
   177      <x>101</x>
       
   178      <y>266</y>
       
   179     </hint>
       
   180    </hints>
       
   181   </connection>
       
   182  </connections>
       
   183  <slots>
       
   184   <slot>evaluate()</slot>
       
   185  </slots>
       
   186 </ui>