476 lines
10 KiB
XML
Executable File
476 lines
10 KiB
XML
Executable File
<?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>350</width>
|
|
<height>564</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>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<widget class="QPushButton" name="button0">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>6</x>
|
|
<y>456</y>
|
|
<width>166</width>
|
|
<height>80</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>18</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>0</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>0</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="buttonDot">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>178</x>
|
|
<y>456</y>
|
|
<width>80</width>
|
|
<height>80</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>18</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>.</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="buttonEquals">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>264</x>
|
|
<y>456</y>
|
|
<width>80</width>
|
|
<height>80</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>18</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>=</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+S</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="button4">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>6</x>
|
|
<y>284</y>
|
|
<width>80</width>
|
|
<height>80</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>18</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>4</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>4</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="button6">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>178</x>
|
|
<y>284</y>
|
|
<width>80</width>
|
|
<height>80</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>18</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>6</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>6</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="button5">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>92</x>
|
|
<y>284</y>
|
|
<width>80</width>
|
|
<height>80</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>18</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>5</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>5</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="buttonSubtract">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>264</x>
|
|
<y>284</y>
|
|
<width>80</width>
|
|
<height>80</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>18</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>-</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>-</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="button7">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>6</x>
|
|
<y>198</y>
|
|
<width>80</width>
|
|
<height>80</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>18</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>7</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>7</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="button9">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>178</x>
|
|
<y>198</y>
|
|
<width>80</width>
|
|
<height>80</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>18</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>9</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>9</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="button8">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>92</x>
|
|
<y>198</y>
|
|
<width>80</width>
|
|
<height>80</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>18</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>8</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>8</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="buttonMultiply">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>264</x>
|
|
<y>198</y>
|
|
<width>80</width>
|
|
<height>80</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>18</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>*</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>*</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="buttonClear">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>6</x>
|
|
<y>112</y>
|
|
<width>80</width>
|
|
<height>80</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>18</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>C</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Backspace</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="buttonPow">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>178</x>
|
|
<y>112</y>
|
|
<width>80</width>
|
|
<height>80</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>18</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>^</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>^</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="buttonChangeSign">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>92</x>
|
|
<y>112</y>
|
|
<width>80</width>
|
|
<height>80</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>18</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>+/-</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="buttonDivide">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>264</x>
|
|
<y>112</y>
|
|
<width>80</width>
|
|
<height>80</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>18</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>/</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>/</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="display">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>12</x>
|
|
<y>6</y>
|
|
<width>326</width>
|
|
<height>100</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>18</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="layoutDirection">
|
|
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
|
</property>
|
|
<property name="autoFillBackground">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>0</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="button2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>92</x>
|
|
<y>370</y>
|
|
<width>80</width>
|
|
<height>80</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>18</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>2</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>2</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="buttonAdd">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>264</x>
|
|
<y>370</y>
|
|
<width>80</width>
|
|
<height>80</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>18</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>+</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>+</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="button3">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>178</x>
|
|
<y>370</y>
|
|
<width>80</width>
|
|
<height>80</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>18</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>3</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>3</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="button1">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>6</x>
|
|
<y>370</y>
|
|
<width>80</width>
|
|
<height>80</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>18</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>1</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>1</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menubar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>350</width>
|
|
<height>23</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QMenu" name="menuCalculator">
|
|
<property name="title">
|
|
<string>Calculator</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QMenu" name="menuProgarmming">
|
|
<property name="title">
|
|
<string>Programming</string>
|
|
</property>
|
|
</widget>
|
|
<addaction name="menuCalculator"/>
|
|
<addaction name="menuProgarmming"/>
|
|
</widget>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|