2022-05-17 08:27:00 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>MainWindow</class>
|
|
|
|
<widget class="QMainWindow" name="MainWindow">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2022-05-17 09:22:31 +00:00
|
|
|
<width>414</width>
|
|
|
|
<height>479</height>
|
2022-05-17 08:27:00 +00:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
2022-05-17 09:22:31 +00:00
|
|
|
<string>Calculator_v6_4490</string>
|
2022-05-17 08:27:00 +00:00
|
|
|
</property>
|
|
|
|
<property name="toolButtonStyle">
|
|
|
|
<enum>Qt::ToolButtonTextOnly</enum>
|
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="centralwidget">
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
|
|
<item row="6" column="2">
|
|
|
|
<widget class="QPushButton" name="squareBtn">
|
|
|
|
<property name="text">
|
|
|
|
<string>^</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="5" column="0">
|
|
|
|
<widget class="QPushButton" name="digitBtn7">
|
|
|
|
<property name="text">
|
|
|
|
<string>7</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="5" column="2">
|
|
|
|
<widget class="QPushButton" name="digitBtn9">
|
|
|
|
<property name="text">
|
|
|
|
<string>9</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="7" column="0">
|
|
|
|
<widget class="QPushButton" name="LBtn">
|
|
|
|
<property name="text">
|
|
|
|
<string>(</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="0">
|
|
|
|
<widget class="QPushButton" name="digitBtn1">
|
|
|
|
<property name="text">
|
|
|
|
<string>1</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="2" colspan="2">
|
|
|
|
<widget class="QPushButton" name="clearLine">
|
|
|
|
<property name="text">
|
|
|
|
<string>ClearLine</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="0" colspan="4">
|
|
|
|
<widget class="QPlainTextEdit" name="lineEdit">
|
|
|
|
<property name="frameShape">
|
|
|
|
<enum>QFrame::StyledPanel</enum>
|
|
|
|
</property>
|
|
|
|
<property name="readOnly">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="1">
|
|
|
|
<widget class="QPushButton" name="digitBtn2">
|
|
|
|
<property name="text">
|
|
|
|
<string>2</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="5" column="1">
|
|
|
|
<widget class="QPushButton" name="digitBtn8">
|
|
|
|
<property name="text">
|
|
|
|
<string>8</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="4" column="3">
|
|
|
|
<widget class="QPushButton" name="subtractionBtn">
|
|
|
|
<property name="text">
|
|
|
|
<string>-</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="4" column="0">
|
|
|
|
<widget class="QPushButton" name="digitBtn4">
|
|
|
|
<property name="text">
|
|
|
|
<string>4</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="4" column="2">
|
|
|
|
<widget class="QPushButton" name="digitBtn6">
|
|
|
|
<property name="text">
|
|
|
|
<string>6</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="6" column="3">
|
|
|
|
<widget class="QPushButton" name="divisionBtn">
|
|
|
|
<property name="text">
|
|
|
|
<string>/</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="3">
|
|
|
|
<widget class="QPushButton" name="addBtn">
|
|
|
|
<property name="text">
|
|
|
|
<string>+</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="7" column="1">
|
|
|
|
<widget class="QPushButton" name="RBtn">
|
|
|
|
<property name="text">
|
|
|
|
<string>)</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="5" column="3">
|
|
|
|
<widget class="QPushButton" name="mulBtn">
|
|
|
|
<property name="text">
|
|
|
|
<string>*</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="4" column="1">
|
|
|
|
<widget class="QPushButton" name="digitBtn5">
|
|
|
|
<property name="text">
|
|
|
|
<string>5</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="6" column="0">
|
|
|
|
<widget class="QPushButton" name="pointBtn">
|
|
|
|
<property name="text">
|
|
|
|
<string>.</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="2">
|
|
|
|
<widget class="QPushButton" name="digitBtn3">
|
|
|
|
<property name="text">
|
|
|
|
<string>3</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0" colspan="2">
|
|
|
|
<widget class="QPushButton" name="clearBtn">
|
|
|
|
<property name="text">
|
|
|
|
<string>Back</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="6" column="1">
|
|
|
|
<widget class="QPushButton" name="digitBtn0">
|
|
|
|
<property name="text">
|
|
|
|
<string>0</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="7" column="3">
|
|
|
|
<widget class="QPushButton" name="cBtn">
|
|
|
|
<property name="text">
|
|
|
|
<string>c</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="7" column="2">
|
|
|
|
<widget class="QPushButton" name="sBtn">
|
|
|
|
<property name="text">
|
|
|
|
<string>s</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2022-05-17 09:22:31 +00:00
|
|
|
<item row="8" column="2" colspan="2">
|
|
|
|
<widget class="QPushButton" name="equalBtn">
|
|
|
|
<property name="text">
|
|
|
|
<string>=</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2022-05-17 08:27:00 +00:00
|
|
|
<item row="8" column="1">
|
|
|
|
<widget class="QPushButton" name="ansBtn">
|
|
|
|
<property name="text">
|
|
|
|
<string>Ans</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2022-05-17 09:22:31 +00:00
|
|
|
<item row="8" column="0">
|
|
|
|
<widget class="QPushButton" name="sciBtn">
|
2022-05-17 08:27:00 +00:00
|
|
|
<property name="text">
|
2022-05-17 09:22:31 +00:00
|
|
|
<string>*10^</string>
|
2022-05-17 08:27:00 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QMenuBar" name="menubar">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2022-05-17 09:22:31 +00:00
|
|
|
<width>414</width>
|
2022-05-17 08:27:00 +00:00
|
|
|
<height>30</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<widget class="QMenu" name="menuMenu">
|
|
|
|
<property name="title">
|
|
|
|
<string>Menu</string>
|
|
|
|
</property>
|
|
|
|
<addaction name="actionPaste"/>
|
|
|
|
<addaction name="actionClearHistroy"/>
|
2022-05-17 09:22:31 +00:00
|
|
|
<addaction name="actionShow_History_H"/>
|
|
|
|
</widget>
|
|
|
|
<widget class="QMenu" name="menuConstant">
|
|
|
|
<property name="title">
|
|
|
|
<string>Constant</string>
|
|
|
|
</property>
|
|
|
|
<addaction name="actionc"/>
|
|
|
|
<addaction name="actionpi"/>
|
2022-05-17 08:27:00 +00:00
|
|
|
</widget>
|
|
|
|
<addaction name="menuMenu"/>
|
2022-05-17 09:22:31 +00:00
|
|
|
<addaction name="menuConstant"/>
|
2022-05-17 08:27:00 +00:00
|
|
|
</widget>
|
|
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
|
|
<action name="actionPaste">
|
|
|
|
<property name="text">
|
|
|
|
<string>Paste (V)</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
|
|
|
<string>Ctrl+V</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="actionClearHistroy">
|
|
|
|
<property name="text">
|
2022-05-17 09:22:31 +00:00
|
|
|
<string>Clear Buffer(U)</string>
|
2022-05-17 08:27:00 +00:00
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
|
|
|
<string>Ctrl+U</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
2022-05-17 09:22:31 +00:00
|
|
|
<action name="actionc">
|
|
|
|
<property name="text">
|
|
|
|
<string>c</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="actionpi">
|
|
|
|
<property name="text">
|
|
|
|
<string>pi</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="actionShow_History_H">
|
|
|
|
<property name="text">
|
|
|
|
<string>Show History(H)</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
|
|
|
<string>Ctrl+H</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
2022-05-17 08:27:00 +00:00
|
|
|
</widget>
|
|
|
|
<resources/>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|