257 lines
6.3 KiB
XML
257 lines
6.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>CalculatorDialog</class>
|
|
<widget class="QDialog" name="CalculatorDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>502</width>
|
|
<height>254</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Calculator</string>
|
|
</property>
|
|
<property name="windowIcon">
|
|
<iconset resource="../../resource.qrc">
|
|
<normaloff>:/icons/images/calculator.png</normaloff>:/icons/images/calculator.png</iconset>
|
|
</property>
|
|
<widget class="QPushButton" name="btnGoto">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>220</y>
|
|
<width>141</width>
|
|
<height>23</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Follow in Disassembler</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QWidget" name="layoutWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>11</x>
|
|
<y>8</y>
|
|
<width>481</width>
|
|
<height>201</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="8" column="1">
|
|
<widget class="QLineEdit" name="txtUnicode">
|
|
<property name="font">
|
|
<font>
|
|
<family>Courier New</family>
|
|
</font>
|
|
</property>
|
|
<property name="inputMask">
|
|
<string>XXXX</string>
|
|
</property>
|
|
<property name="readOnly">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Expression:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLineEdit" name="txtExpression">
|
|
<property name="font">
|
|
<font>
|
|
<family>Courier New</family>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="text">
|
|
<string>Octal:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string>Unsigned:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QLineEdit" name="txtUnsignedDec">
|
|
<property name="font">
|
|
<font>
|
|
<family>Courier New</family>
|
|
</font>
|
|
</property>
|
|
<property name="readOnly">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QLineEdit" name="txtHex">
|
|
<property name="font">
|
|
<font>
|
|
<family>Courier New</family>
|
|
</font>
|
|
</property>
|
|
<property name="readOnly">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>Hexadecimal:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="0">
|
|
<widget class="QLabel" name="label_6">
|
|
<property name="text">
|
|
<string>ASCII:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<widget class="QLineEdit" name="txtOct">
|
|
<property name="font">
|
|
<font>
|
|
<family>Courier New</family>
|
|
</font>
|
|
</property>
|
|
<property name="readOnly">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="1">
|
|
<widget class="QLineEdit" name="txtBin">
|
|
<property name="font">
|
|
<font>
|
|
<family>Lucida Console</family>
|
|
<pointsize>7</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0001 0010</string>
|
|
</property>
|
|
<property name="readOnly">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="0">
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="text">
|
|
<string>Binary:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="1">
|
|
<widget class="QLineEdit" name="txtAscii">
|
|
<property name="font">
|
|
<font>
|
|
<family>Courier New</family>
|
|
</font>
|
|
</property>
|
|
<property name="inputMask">
|
|
<string>XXX</string>
|
|
</property>
|
|
<property name="readOnly">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="8" column="0">
|
|
<widget class="QLabel" name="label_7">
|
|
<property name="text">
|
|
<string>Unicode:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label_8">
|
|
<property name="text">
|
|
<string>Signed:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QLineEdit" name="txtSignedDec">
|
|
<property name="font">
|
|
<font>
|
|
<family>Courier New</family>
|
|
</font>
|
|
</property>
|
|
<property name="readOnly">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QPushButton" name="pushButton">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>417</x>
|
|
<y>220</y>
|
|
<width>75</width>
|
|
<height>23</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Close</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<tabstops>
|
|
<tabstop>txtExpression</tabstop>
|
|
<tabstop>txtHex</tabstop>
|
|
<tabstop>txtUnsignedDec</tabstop>
|
|
<tabstop>txtOct</tabstop>
|
|
<tabstop>txtBin</tabstop>
|
|
<tabstop>txtAscii</tabstop>
|
|
<tabstop>txtUnicode</tabstop>
|
|
<tabstop>btnGoto</tabstop>
|
|
<tabstop>pushButton</tabstop>
|
|
</tabstops>
|
|
<resources>
|
|
<include location="../../resource.qrc"/>
|
|
</resources>
|
|
<connections>
|
|
<connection>
|
|
<sender>pushButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>CalculatorDialog</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>347</x>
|
|
<y>216</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>284</x>
|
|
<y>215</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|