mirea-projects/Third term/Industrial programming technologies/1_Calculator/calculator.ui

469 lines
10 KiB
Plaintext
Raw Permalink Normal View History

2024-09-23 23:22:33 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
2024-09-27 05:31:03 +00:00
<class>Calculator</class>
<widget class="QMainWindow" name="Calculator">
2024-09-23 23:22:33 +00:00
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>350</width>
2024-09-27 05:31:03 +00:00
<height>541</height>
2024-09-23 23:22:33 +00:00
</rect>
</property>
2024-09-27 05:31:03 +00:00
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2024-09-23 23:22:33 +00:00
<property name="windowTitle">
2024-09-27 05:31:03 +00:00
<string>Calculator</string>
2024-09-23 23:22:33 +00:00
</property>
<widget class="QWidget" name="centralwidget">
2024-09-27 05:31:03 +00:00
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2024-09-23 23:22:33 +00:00
<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>
2024-09-27 05:31:03 +00:00
<property name="shortcut">
<string>0</string>
</property>
2024-09-23 23:22:33 +00:00
</widget>
2024-09-27 05:31:03 +00:00
<widget class="QPushButton" name="buttonDot">
2024-09-23 23:22:33 +00:00
<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>
2024-09-27 05:31:03 +00:00
<property name="shortcut">
<string>.</string>
</property>
2024-09-23 23:22:33 +00:00
</widget>
2024-09-27 05:31:03 +00:00
<widget class="QPushButton" name="buttonEquals">
2024-09-23 23:22:33 +00:00
<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>
2024-09-27 05:31:03 +00:00
<property name="shortcut">
<string>Ctrl+S</string>
</property>
2024-09-23 23:22:33 +00:00
</widget>
2024-09-27 05:31:03 +00:00
<widget class="QPushButton" name="button4">
2024-09-23 23:22:33 +00:00
<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>
2024-09-27 05:31:03 +00:00
<property name="shortcut">
<string>4</string>
</property>
2024-09-23 23:22:33 +00:00
</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>
2024-09-27 05:31:03 +00:00
<property name="shortcut">
<string>6</string>
</property>
2024-09-23 23:22:33 +00:00
</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>
2024-09-27 05:31:03 +00:00
<property name="shortcut">
<string>5</string>
</property>
2024-09-23 23:22:33 +00:00
</widget>
2024-09-27 05:31:03 +00:00
<widget class="QPushButton" name="buttonSubtract">
2024-09-23 23:22:33 +00:00
<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>
2024-09-27 05:31:03 +00:00
<property name="shortcut">
<string>-</string>
</property>
2024-09-23 23:22:33 +00:00
</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>
2024-09-27 05:31:03 +00:00
<property name="shortcut">
<string>7</string>
</property>
2024-09-23 23:22:33 +00:00
</widget>
2024-09-27 05:31:03 +00:00
<widget class="QPushButton" name="button9">
2024-09-23 23:22:33 +00:00
<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>
2024-09-27 05:31:03 +00:00
<property name="shortcut">
<string>9</string>
</property>
2024-09-23 23:22:33 +00:00
</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>
2024-09-27 05:31:03 +00:00
<property name="shortcut">
<string>8</string>
</property>
2024-09-23 23:22:33 +00:00
</widget>
2024-09-27 05:31:03 +00:00
<widget class="QPushButton" name="buttonMultiply">
2024-09-23 23:22:33 +00:00
<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>
2024-09-27 05:31:03 +00:00
<property name="shortcut">
<string>*</string>
</property>
2024-09-23 23:22:33 +00:00
</widget>
2024-09-27 05:31:03 +00:00
<widget class="QPushButton" name="buttonClear">
2024-09-23 23:22:33 +00:00
<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>
2024-09-27 05:31:03 +00:00
<property name="shortcut">
<string>Backspace</string>
</property>
2024-09-23 23:22:33 +00:00
</widget>
2024-09-27 05:31:03 +00:00
<widget class="QPushButton" name="buttonPow">
2024-09-23 23:22:33 +00:00
<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">
2024-09-27 05:31:03 +00:00
<string>^</string>
</property>
<property name="shortcut">
<string>^</string>
2024-09-23 23:22:33 +00:00
</property>
</widget>
2024-09-27 05:31:03 +00:00
<widget class="QPushButton" name="buttonChangeSign">
2024-09-23 23:22:33 +00:00
<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>
2024-09-27 05:31:03 +00:00
<widget class="QPushButton" name="buttonDivide">
2024-09-23 23:22:33 +00:00
<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>
2024-09-27 05:31:03 +00:00
<property name="shortcut">
<string>/</string>
</property>
2024-09-23 23:22:33 +00:00
</widget>
2024-09-27 05:31:03 +00:00
<widget class="QLabel" name="display">
2024-09-23 23:22:33 +00:00
<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">
2024-09-27 05:31:03 +00:00
<string>0</string>
2024-09-23 23:22:33 +00:00
</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>
2024-09-27 05:31:03 +00:00
<property name="shortcut">
<string>2</string>
</property>
2024-09-23 23:22:33 +00:00
</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>
2024-09-27 05:31:03 +00:00
<property name="shortcut">
<string>+</string>
</property>
2024-09-23 23:22:33 +00:00
</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>
2024-09-27 05:31:03 +00:00
<property name="shortcut">
<string>3</string>
</property>
2024-09-23 23:22:33 +00:00
</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>
2024-09-27 05:31:03 +00:00
<property name="shortcut">
<string>1</string>
</property>
2024-09-23 23:22:33 +00:00
</widget>
</widget>
2024-09-27 05:31:03 +00:00
<action name="actiond">
<property name="text">
<string>d</string>
2024-09-23 23:22:33 +00:00
</property>
2024-09-27 05:31:03 +00:00
</action>
<action name="actionCalculator">
<property name="text">
<string>&amp;Calculator</string>
</property>
</action>
<action name="actionProgramming">
<property name="text">
<string>&amp;Programming</string>
</property>
</action>
2024-09-23 23:22:33 +00:00
</widget>
<resources/>
<connections/>
</ui>