ginebra2/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>411</width>
       
    10     <height>607</height>
       
    11    </rect>
       
    12   </property>
       
    13   <property name="windowTitle">
       
    14    <string>Javascript Console</string>
       
    15   </property>
       
    16   <layout class="QGridLayout" name="gridLayout">
       
    17    <item row="0" column="0">
       
    18     <layout class="QHBoxLayout" name="horizontalLayout_2">
       
    19      <item>
       
    20       <widget class="QPushButton" name="reloadChromeButton">
       
    21        <property name="toolTip">
       
    22         <string>Reload Chrome</string>
       
    23        </property>
       
    24        <property name="text">
       
    25         <string>&amp;Reload</string>
       
    26        </property>
       
    27       </widget>
       
    28      </item>
       
    29      <item>
       
    30       <widget class="QPushButton" name="dumpButton">
       
    31        <property name="toolTip">
       
    32         <string>Dump Debug Info</string>
       
    33        </property>
       
    34        <property name="text">
       
    35         <string>&amp;Dump</string>
       
    36        </property>
       
    37       </widget>
       
    38      </item>
       
    39      <item>
       
    40       <spacer name="horizontalSpacer_2">
       
    41        <property name="orientation">
       
    42         <enum>Qt::Horizontal</enum>
       
    43        </property>
       
    44        <property name="sizeHint" stdset="0">
       
    45         <size>
       
    46          <width>40</width>
       
    47          <height>20</height>
       
    48         </size>
       
    49        </property>
       
    50       </spacer>
       
    51      </item>
       
    52      <item>
       
    53       <widget class="QPushButton" name="exitButton">
       
    54        <property name="toolTip">
       
    55         <string>Exit Application</string>
       
    56        </property>
       
    57        <property name="text">
       
    58         <string>E&amp;xit</string>
       
    59        </property>
       
    60       </widget>
       
    61      </item>
       
    62     </layout>
       
    63    </item>
       
    64    <item row="1" column="0">
       
    65     <widget class="QSplitter" name="splitter">
       
    66      <property name="orientation">
       
    67       <enum>Qt::Vertical</enum>
       
    68      </property>
       
    69      <property name="childrenCollapsible">
       
    70       <bool>false</bool>
       
    71      </property>
       
    72      <widget class="QPlainTextEdit" name="outputEdit">
       
    73       <property name="sizePolicy">
       
    74        <sizepolicy hsizetype="Expanding" vsizetype="Maximum">
       
    75         <horstretch>0</horstretch>
       
    76         <verstretch>0</verstretch>
       
    77        </sizepolicy>
       
    78       </property>
       
    79       <property name="baseSize">
       
    80        <size>
       
    81         <width>0</width>
       
    82         <height>0</height>
       
    83        </size>
       
    84       </property>
       
    85       <property name="readOnly">
       
    86        <bool>true</bool>
       
    87       </property>
       
    88      </widget>
       
    89      <widget class="QPlainTextEdit" name="inputEdit">
       
    90       <property name="sizePolicy">
       
    91        <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
       
    92         <horstretch>0</horstretch>
       
    93         <verstretch>0</verstretch>
       
    94        </sizepolicy>
       
    95       </property>
       
    96       <property name="minimumSize">
       
    97        <size>
       
    98         <width>0</width>
       
    99         <height>40</height>
       
   100        </size>
       
   101       </property>
       
   102       <property name="maximumSize">
       
   103        <size>
       
   104         <width>16777215</width>
       
   105         <height>16777215</height>
       
   106        </size>
       
   107       </property>
       
   108       <property name="baseSize">
       
   109        <size>
       
   110         <width>0</width>
       
   111         <height>0</height>
       
   112        </size>
       
   113       </property>
       
   114       <property name="toolTip">
       
   115        <string>Enter javascript here then press Evaluate</string>
       
   116       </property>
       
   117      </widget>
       
   118     </widget>
       
   119    </item>
       
   120    <item row="2" column="0">
       
   121     <layout class="QHBoxLayout" name="horizontalLayout">
       
   122      <item>
       
   123       <widget class="QPushButton" name="clearButton">
       
   124        <property name="text">
       
   125         <string>C&amp;lear</string>
       
   126        </property>
       
   127       </widget>
       
   128      </item>
       
   129      <item>
       
   130       <spacer name="horizontalSpacer">
       
   131        <property name="orientation">
       
   132         <enum>Qt::Horizontal</enum>
       
   133        </property>
       
   134        <property name="sizeHint" stdset="0">
       
   135         <size>
       
   136          <width>40</width>
       
   137          <height>20</height>
       
   138         </size>
       
   139        </property>
       
   140       </spacer>
       
   141      </item>
       
   142      <item>
       
   143       <widget class="QPushButton" name="closeButton">
       
   144        <property name="toolTip">
       
   145         <string>Save and Close</string>
       
   146        </property>
       
   147        <property name="text">
       
   148         <string>&amp;Close</string>
       
   149        </property>
       
   150       </widget>
       
   151      </item>
       
   152      <item>
       
   153       <widget class="QPushButton" name="evalButton">
       
   154        <property name="toolTip">
       
   155         <string>Evaluate Expression (Ctrl+Enter)</string>
       
   156        </property>
       
   157        <property name="text">
       
   158         <string>&amp;Evaluate</string>
       
   159        </property>
       
   160        <property name="default">
       
   161         <bool>true</bool>
       
   162        </property>
       
   163       </widget>
       
   164      </item>
       
   165     </layout>
       
   166    </item>
       
   167   </layout>
       
   168  </widget>
       
   169  <tabstops>
       
   170   <tabstop>inputEdit</tabstop>
       
   171   <tabstop>evalButton</tabstop>
       
   172   <tabstop>closeButton</tabstop>
       
   173   <tabstop>outputEdit</tabstop>
       
   174  </tabstops>
       
   175  <resources/>
       
   176  <connections>
       
   177   <connection>
       
   178    <sender>closeButton</sender>
       
   179    <signal>clicked()</signal>
       
   180    <receiver>ConsoleDialog</receiver>
       
   181    <slot>accept()</slot>
       
   182    <hints>
       
   183     <hint type="sourcelabel">
       
   184      <x>302</x>
       
   185      <y>589</y>
       
   186     </hint>
       
   187     <hint type="destinationlabel">
       
   188      <x>410</x>
       
   189      <y>606</y>
       
   190     </hint>
       
   191    </hints>
       
   192   </connection>
       
   193   <connection>
       
   194    <sender>evalButton</sender>
       
   195    <signal>clicked()</signal>
       
   196    <receiver>ConsoleDialog</receiver>
       
   197    <slot>evaluate()</slot>
       
   198    <hints>
       
   199     <hint type="sourcelabel">
       
   200      <x>367</x>
       
   201      <y>586</y>
       
   202     </hint>
       
   203     <hint type="destinationlabel">
       
   204      <x>374</x>
       
   205      <y>606</y>
       
   206     </hint>
       
   207    </hints>
       
   208   </connection>
       
   209   <connection>
       
   210    <sender>clearButton</sender>
       
   211    <signal>clicked()</signal>
       
   212    <receiver>outputEdit</receiver>
       
   213    <slot>clear()</slot>
       
   214    <hints>
       
   215     <hint type="sourcelabel">
       
   216      <x>32</x>
       
   217      <y>580</y>
       
   218     </hint>
       
   219     <hint type="destinationlabel">
       
   220      <x>110</x>
       
   221      <y>563</y>
       
   222     </hint>
       
   223    </hints>
       
   224   </connection>
       
   225   <connection>
       
   226    <sender>reloadChromeButton</sender>
       
   227    <signal>clicked()</signal>
       
   228    <receiver>ConsoleDialog</receiver>
       
   229    <slot>reloadChrome()</slot>
       
   230    <hints>
       
   231     <hint type="sourcelabel">
       
   232      <x>52</x>
       
   233      <y>23</y>
       
   234     </hint>
       
   235     <hint type="destinationlabel">
       
   236      <x>209</x>
       
   237      <y>303</y>
       
   238     </hint>
       
   239    </hints>
       
   240   </connection>
       
   241   <connection>
       
   242    <sender>exitButton</sender>
       
   243    <signal>clicked()</signal>
       
   244    <receiver>ConsoleDialog</receiver>
       
   245    <slot>exit()</slot>
       
   246    <hints>
       
   247     <hint type="sourcelabel">
       
   248      <x>358</x>
       
   249      <y>23</y>
       
   250     </hint>
       
   251     <hint type="destinationlabel">
       
   252      <x>205</x>
       
   253      <y>303</y>
       
   254     </hint>
       
   255    </hints>
       
   256   </connection>
       
   257   <connection>
       
   258    <sender>dumpButton</sender>
       
   259    <signal>clicked()</signal>
       
   260    <receiver>ConsoleDialog</receiver>
       
   261    <slot>dump()</slot>
       
   262    <hints>
       
   263     <hint type="sourcelabel">
       
   264      <x>143</x>
       
   265      <y>23</y>
       
   266     </hint>
       
   267     <hint type="destinationlabel">
       
   268      <x>205</x>
       
   269      <y>303</y>
       
   270     </hint>
       
   271    </hints>
       
   272   </connection>
       
   273  </connections>
       
   274  <slots>
       
   275   <slot>evaluate()</slot>
       
   276  </slots>
       
   277 </ui>