This repository has been archived on 2024-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
justhomework/SoftwareDesign/Lab2/Lab2-3_Calculator4490_v3/mainwindow.ui
2022-04-26 14:51:03 +08:00

180 lines
4.5 KiB
XML

<?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>
<width>405</width>
<height>320</height>
</rect>
</property>
<property name="windowTitle">
<string>Calculator_v3_4490</string>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextOnly</enum>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QGridLayout" name="gridLayout">
<item row="3" column="1">
<widget class="QPushButton" name="digitBtn5">
<property name="text">
<string>5</string>
</property>
</widget>
</item>
<item row="5" column="3">
<widget class="QPushButton" name="divisionBtn">
<property name="text">
<string>/</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QPushButton" name="digitBtn3">
<property name="text">
<string>3</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QPushButton" name="digitBtn4">
<property name="text">
<string>4</string>
</property>
</widget>
</item>
<item row="4" column="3">
<widget class="QPushButton" name="mulBtn">
<property name="text">
<string>*</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QPushButton" name="digitBtn2">
<property name="text">
<string>2</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="clearBtn">
<property name="text">
<string>Back</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="clearAllBtn">
<property name="text">
<string>ClearAll</string>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QPushButton" name="pointBtn">
<property name="text">
<string>.</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QPushButton" name="digitBtn0">
<property name="text">
<string>0</string>
</property>
</widget>
</item>
<item row="1" column="2" colspan="2">
<widget class="QPushButton" name="equalBtn">
<property name="text">
<string>=</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QPushButton" name="digitBtn1">
<property name="text">
<string>1</string>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QPushButton" name="digitBtn6">
<property name="text">
<string>6</string>
</property>
</widget>
</item>
<item row="3" column="3">
<widget class="QPushButton" name="subtractionBtn">
<property name="text">
<string>-</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QPushButton" name="digitBtn7">
<property name="text">
<string>7</string>
</property>
</widget>
</item>
<item row="0" column="0" colspan="4">
<widget class="QLineEdit" name="lineEdit">
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QPushButton" name="digitBtn8">
<property name="text">
<string>8</string>
</property>
</widget>
</item>
<item row="4" column="2">
<widget class="QPushButton" name="digitBtn9">
<property name="text">
<string>9</string>
</property>
</widget>
</item>
<item row="2" column="3">
<widget class="QPushButton" name="addBtn">
<property name="text">
<string>+</string>
</property>
</widget>
</item>
<item row="5" column="2">
<widget class="QPushButton" name="squareBtn">
<property name="text">
<string>^</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>405</width>
<height>30</height>
</rect>
</property>
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<resources/>
<connections/>
</ui>