ginebra2/emulator/ui/console.ui
author hgs
Fri, 15 Oct 2010 17:30:59 -0400
changeset 16 3c88a81ff781
parent 0 1450b09d0cfd
permissions -rw-r--r--
201041

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>ConsoleDialog</class>
 <widget class="QDialog" name="ConsoleDialog">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>411</width>
    <height>607</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>Javascript Console</string>
  </property>
  <layout class="QGridLayout" name="gridLayout">
   <item row="0" column="0">
    <layout class="QHBoxLayout" name="horizontalLayout_2">
     <item>
      <widget class="QPushButton" name="reloadChromeButton">
       <property name="toolTip">
        <string>Reload Chrome</string>
       </property>
       <property name="text">
        <string>&amp;Reload</string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="dumpButton">
       <property name="toolTip">
        <string>Dump Debug Info</string>
       </property>
       <property name="text">
        <string>&amp;Dump</string>
       </property>
      </widget>
     </item>
     <item>
      <spacer name="horizontalSpacer_2">
       <property name="orientation">
        <enum>Qt::Horizontal</enum>
       </property>
       <property name="sizeHint" stdset="0">
        <size>
         <width>40</width>
         <height>20</height>
        </size>
       </property>
      </spacer>
     </item>
     <item>
      <widget class="QPushButton" name="exitButton">
       <property name="toolTip">
        <string>Exit Application</string>
       </property>
       <property name="text">
        <string>E&amp;xit</string>
       </property>
      </widget>
     </item>
    </layout>
   </item>
   <item row="1" column="0">
    <widget class="QSplitter" name="splitter">
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
     <property name="childrenCollapsible">
      <bool>false</bool>
     </property>
     <widget class="QPlainTextEdit" name="outputEdit">
      <property name="sizePolicy">
       <sizepolicy hsizetype="Expanding" vsizetype="Maximum">
        <horstretch>0</horstretch>
        <verstretch>0</verstretch>
       </sizepolicy>
      </property>
      <property name="baseSize">
       <size>
        <width>0</width>
        <height>0</height>
       </size>
      </property>
      <property name="readOnly">
       <bool>true</bool>
      </property>
     </widget>
     <widget class="QPlainTextEdit" name="inputEdit">
      <property name="sizePolicy">
       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
        <horstretch>0</horstretch>
        <verstretch>0</verstretch>
       </sizepolicy>
      </property>
      <property name="minimumSize">
       <size>
        <width>0</width>
        <height>40</height>
       </size>
      </property>
      <property name="maximumSize">
       <size>
        <width>16777215</width>
        <height>16777215</height>
       </size>
      </property>
      <property name="baseSize">
       <size>
        <width>0</width>
        <height>0</height>
       </size>
      </property>
      <property name="toolTip">
       <string>Enter javascript here then press Evaluate</string>
      </property>
     </widget>
    </widget>
   </item>
   <item row="2" column="0">
    <layout class="QHBoxLayout" name="horizontalLayout">
     <item>
      <widget class="QPushButton" name="clearButton">
       <property name="text">
        <string>C&amp;lear</string>
       </property>
      </widget>
     </item>
     <item>
      <spacer name="horizontalSpacer">
       <property name="orientation">
        <enum>Qt::Horizontal</enum>
       </property>
       <property name="sizeHint" stdset="0">
        <size>
         <width>40</width>
         <height>20</height>
        </size>
       </property>
      </spacer>
     </item>
     <item>
      <widget class="QPushButton" name="closeButton">
       <property name="toolTip">
        <string>Save and Close</string>
       </property>
       <property name="text">
        <string>&amp;Close</string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="evalButton">
       <property name="toolTip">
        <string>Evaluate Expression (Ctrl+Enter)</string>
       </property>
       <property name="text">
        <string>&amp;Evaluate</string>
       </property>
       <property name="default">
        <bool>true</bool>
       </property>
      </widget>
     </item>
    </layout>
   </item>
  </layout>
 </widget>
 <tabstops>
  <tabstop>inputEdit</tabstop>
  <tabstop>evalButton</tabstop>
  <tabstop>closeButton</tabstop>
  <tabstop>outputEdit</tabstop>
 </tabstops>
 <resources/>
 <connections>
  <connection>
   <sender>closeButton</sender>
   <signal>clicked()</signal>
   <receiver>ConsoleDialog</receiver>
   <slot>accept()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>302</x>
     <y>589</y>
    </hint>
    <hint type="destinationlabel">
     <x>410</x>
     <y>606</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>evalButton</sender>
   <signal>clicked()</signal>
   <receiver>ConsoleDialog</receiver>
   <slot>evaluate()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>367</x>
     <y>586</y>
    </hint>
    <hint type="destinationlabel">
     <x>374</x>
     <y>606</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>clearButton</sender>
   <signal>clicked()</signal>
   <receiver>outputEdit</receiver>
   <slot>clear()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>32</x>
     <y>580</y>
    </hint>
    <hint type="destinationlabel">
     <x>110</x>
     <y>563</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>reloadChromeButton</sender>
   <signal>clicked()</signal>
   <receiver>ConsoleDialog</receiver>
   <slot>reloadChrome()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>52</x>
     <y>23</y>
    </hint>
    <hint type="destinationlabel">
     <x>209</x>
     <y>303</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>exitButton</sender>
   <signal>clicked()</signal>
   <receiver>ConsoleDialog</receiver>
   <slot>exit()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>358</x>
     <y>23</y>
    </hint>
    <hint type="destinationlabel">
     <x>205</x>
     <y>303</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>dumpButton</sender>
   <signal>clicked()</signal>
   <receiver>ConsoleDialog</receiver>
   <slot>dump()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>143</x>
     <y>23</y>
    </hint>
    <hint type="destinationlabel">
     <x>205</x>
     <y>303</y>
    </hint>
   </hints>
  </connection>
 </connections>
 <slots>
  <slot>evaluate()</slot>
 </slots>
</ui>