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

469 lines
11 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">
<class>Calculator</class>
<widget class="QMainWindow" name="Calculator">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>350</width>
2024-09-27 05:31:03 +00:00
<height>702</height>
2024-09-23 23:22:33 +00:00
</rect>
</property>
<property name="sizePolicy">
2024-09-27 05:31:03 +00:00
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
2024-09-23 23:22:33 +00:00
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
2024-09-27 05:31:03 +00:00
<string>Programming</string>
2024-09-23 23:22:33 +00:00
</property>
<widget class="QWidget" name="centralwidget">
2024-09-27 05:31:03 +00:00
<widget class="QLineEdit" name="secondNumberInput">
2024-09-23 23:22:33 +00:00
<property name="geometry">
<rect>
2024-09-27 05:31:03 +00:00
<x>12</x>
<y>118</y>
<width>328</width>
<height>60</height>
2024-09-23 23:22:33 +00:00
</rect>
</property>
<property name="font">
<font>
2024-09-27 05:31:03 +00:00
<pointsize>14</pointsize>
2024-09-23 23:22:33 +00:00
</font>
</property>
</widget>
2024-09-27 05:31:03 +00:00
<widget class="QLabel" name="label_1">
2024-09-23 23:22:33 +00:00
<property name="geometry">
<rect>
2024-09-27 05:31:03 +00:00
<x>12</x>
<y>6</y>
<width>328</width>
<height>31</height>
2024-09-23 23:22:33 +00:00
</rect>
</property>
<property name="font">
<font>
2024-09-27 05:31:03 +00:00
<pointsize>14</pointsize>
<bold>true</bold>
2024-09-23 23:22:33 +00:00
</font>
</property>
<property name="text">
2024-09-27 05:31:03 +00:00
<string>NUMBERS</string>
2024-09-23 23:22:33 +00:00
</property>
2024-09-27 05:31:03 +00:00
<property name="textFormat">
<enum>Qt::TextFormat::AutoText</enum>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignCenter</set>
2024-09-23 23:22:33 +00:00
</property>
</widget>
2024-09-27 05:31:03 +00:00
<widget class="QPushButton" name="buttonAdd">
2024-09-23 23:22:33 +00:00
<property name="geometry">
<rect>
2024-09-27 05:31:03 +00:00
<x>6</x>
<y>356</y>
2024-09-23 23:22:33 +00:00
<width>80</width>
<height>80</height>
</rect>
</property>
<property name="font">
<font>
2024-09-27 05:31:03 +00:00
<pointsize>14</pointsize>
2024-09-23 23:22:33 +00:00
</font>
</property>
<property name="text">
2024-09-27 05:31:03 +00:00
<string>+</string>
2024-09-23 23:22:33 +00:00
</property>
<property name="shortcut">
2024-09-27 05:31:03 +00:00
<string>Backspace</string>
2024-09-23 23:22:33 +00:00
</property>
</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>
2024-09-27 05:31:03 +00:00
<x>92</x>
<y>356</y>
2024-09-23 23:22:33 +00:00
<width>80</width>
<height>80</height>
</rect>
</property>
<property name="font">
<font>
2024-09-27 05:31:03 +00:00
<pointsize>14</pointsize>
2024-09-23 23:22:33 +00:00
</font>
</property>
<property name="text">
2024-09-27 05:31:03 +00:00
<string>-</string>
2024-09-23 23:22:33 +00:00
</property>
<property name="shortcut">
2024-09-27 05:31:03 +00:00
<string>Backspace</string>
2024-09-23 23:22:33 +00:00
</property>
</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>178</x>
2024-09-27 05:31:03 +00:00
<y>356</y>
2024-09-23 23:22:33 +00:00
<width>80</width>
<height>80</height>
</rect>
</property>
<property name="font">
<font>
2024-09-27 05:31:03 +00:00
<pointsize>14</pointsize>
2024-09-23 23:22:33 +00:00
</font>
</property>
<property name="text">
2024-09-27 05:31:03 +00:00
<string>*</string>
2024-09-23 23:22:33 +00:00
</property>
<property name="shortcut">
2024-09-27 05:31:03 +00:00
<string>Backspace</string>
2024-09-23 23:22:33 +00:00
</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>
2024-09-27 05:31:03 +00:00
<x>264</x>
<y>356</y>
2024-09-23 23:22:33 +00:00
<width>80</width>
<height>80</height>
</rect>
</property>
<property name="font">
<font>
2024-09-27 05:31:03 +00:00
<pointsize>14</pointsize>
2024-09-23 23:22:33 +00:00
</font>
</property>
<property name="text">
2024-09-27 05:31:03 +00:00
<string>/</string>
2024-09-23 23:22:33 +00:00
</property>
<property name="shortcut">
2024-09-27 05:31:03 +00:00
<string>Backspace</string>
2024-09-23 23:22:33 +00:00
</property>
</widget>
2024-09-27 05:31:03 +00:00
<widget class="QLineEdit" name="firstNumberInput">
2024-09-23 23:22:33 +00:00
<property name="geometry">
<rect>
2024-09-27 05:31:03 +00:00
<x>12</x>
<y>46</y>
<width>328</width>
<height>60</height>
2024-09-23 23:22:33 +00:00
</rect>
</property>
<property name="font">
<font>
2024-09-27 05:31:03 +00:00
<pointsize>14</pointsize>
2024-09-23 23:22:33 +00:00
</font>
</property>
</widget>
2024-09-27 05:31:03 +00:00
<widget class="QLabel" name="label_3">
2024-09-23 23:22:33 +00:00
<property name="geometry">
<rect>
<x>6</x>
2024-09-27 05:31:03 +00:00
<y>320</y>
<width>338</width>
<height>30</height>
2024-09-23 23:22:33 +00:00
</rect>
</property>
<property name="font">
<font>
2024-09-27 05:31:03 +00:00
<pointsize>14</pointsize>
<bold>true</bold>
2024-09-23 23:22:33 +00:00
</font>
</property>
<property name="text">
2024-09-27 05:31:03 +00:00
<string>ACTIONS</string>
2024-09-23 23:22:33 +00:00
</property>
2024-09-27 05:31:03 +00:00
<property name="alignment">
<set>Qt::AlignmentFlag::AlignCenter</set>
2024-09-23 23:22:33 +00:00
</property>
</widget>
2024-09-27 05:31:03 +00:00
<widget class="QTextEdit" name="plainTextEdit">
2024-09-23 23:22:33 +00:00
<property name="geometry">
<rect>
2024-09-27 05:31:03 +00:00
<x>12</x>
<y>190</y>
<width>328</width>
<height>60</height>
2024-09-23 23:22:33 +00:00
</rect>
</property>
<property name="font">
<font>
2024-09-27 05:31:03 +00:00
<pointsize>14</pointsize>
2024-09-23 23:22:33 +00:00
</font>
</property>
2024-09-27 05:31:03 +00:00
<property name="autoFillBackground">
<bool>false</bool>
2024-09-23 23:22:33 +00:00
</property>
2024-09-27 05:31:03 +00:00
<property name="inputMethodHints">
<set>Qt::InputMethodHint::ImhNone</set>
2024-09-23 23:22:33 +00:00
</property>
2024-09-27 05:31:03 +00:00
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarPolicy::ScrollBarAlwaysOff</enum>
2024-09-23 23:22:33 +00:00
</property>
2024-09-27 05:31:03 +00:00
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarPolicy::ScrollBarAsNeeded</enum>
2024-09-23 23:22:33 +00:00
</property>
2024-09-27 05:31:03 +00:00
<property name="sizeAdjustPolicy">
<enum>QAbstractScrollArea::SizeAdjustPolicy::AdjustIgnored</enum>
2024-09-23 23:22:33 +00:00
</property>
2024-09-27 05:31:03 +00:00
<property name="lineWrapMode">
<enum>QTextEdit::LineWrapMode::NoWrap</enum>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;meta charset=&quot;utf-8&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
hr { height: 1px; border-width: 0; }
li.unchecked::marker { content: &quot;\2610&quot;; }
li.checked::marker { content: &quot;\2612&quot;; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Noto Sans'; font-size:14pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:18pt;&quot;&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:18pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
2024-09-23 23:22:33 +00:00
</property>
</widget>
2024-09-27 05:31:03 +00:00
<widget class="QPushButton" name="buttonCot">
2024-09-23 23:22:33 +00:00
<property name="geometry">
<rect>
<x>264</x>
2024-09-27 05:31:03 +00:00
<y>442</y>
2024-09-23 23:22:33 +00:00
<width>80</width>
<height>80</height>
</rect>
</property>
<property name="font">
<font>
2024-09-27 05:31:03 +00:00
<pointsize>14</pointsize>
2024-09-23 23:22:33 +00:00
</font>
</property>
<property name="text">
2024-09-27 05:31:03 +00:00
<string>COT</string>
2024-09-23 23:22:33 +00:00
</property>
<property name="shortcut">
2024-09-27 05:31:03 +00:00
<string>Backspace</string>
2024-09-23 23:22:33 +00:00
</property>
</widget>
2024-09-27 05:31:03 +00:00
<widget class="QPushButton" name="buttonTan">
2024-09-23 23:22:33 +00:00
<property name="geometry">
<rect>
2024-09-27 05:31:03 +00:00
<x>178</x>
<y>442</y>
2024-09-23 23:22:33 +00:00
<width>80</width>
<height>80</height>
</rect>
</property>
<property name="font">
<font>
2024-09-27 05:31:03 +00:00
<pointsize>14</pointsize>
2024-09-23 23:22:33 +00:00
</font>
</property>
<property name="text">
2024-09-27 05:31:03 +00:00
<string>TAN</string>
2024-09-23 23:22:33 +00:00
</property>
<property name="shortcut">
<string>Backspace</string>
</property>
</widget>
2024-09-27 05:31:03 +00:00
<widget class="QPushButton" name="buttonCos">
2024-09-23 23:22:33 +00:00
<property name="geometry">
<rect>
2024-09-27 05:31:03 +00:00
<x>92</x>
<y>442</y>
2024-09-23 23:22:33 +00:00
<width>80</width>
<height>80</height>
</rect>
</property>
<property name="font">
<font>
2024-09-27 05:31:03 +00:00
<pointsize>14</pointsize>
2024-09-23 23:22:33 +00:00
</font>
</property>
<property name="text">
2024-09-27 05:31:03 +00:00
<string>COS</string>
2024-09-23 23:22:33 +00:00
</property>
<property name="shortcut">
2024-09-27 05:31:03 +00:00
<string>Backspace</string>
2024-09-23 23:22:33 +00:00
</property>
</widget>
2024-09-27 05:31:03 +00:00
<widget class="QPushButton" name="buttonSin">
2024-09-23 23:22:33 +00:00
<property name="geometry">
<rect>
2024-09-27 05:31:03 +00:00
<x>6</x>
<y>442</y>
2024-09-23 23:22:33 +00:00
<width>80</width>
<height>80</height>
</rect>
</property>
<property name="font">
<font>
2024-09-27 05:31:03 +00:00
<pointsize>14</pointsize>
2024-09-23 23:22:33 +00:00
</font>
</property>
<property name="text">
2024-09-27 05:31:03 +00:00
<string>SIN</string>
</property>
<property name="shortcut">
<string>Backspace</string>
2024-09-23 23:22:33 +00:00
</property>
</widget>
2024-09-27 05:31:03 +00:00
<widget class="QPushButton" name="buttonArccos">
2024-09-23 23:22:33 +00:00
<property name="geometry">
<rect>
2024-09-27 05:31:03 +00:00
<x>178</x>
<y>528</y>
<width>166</width>
2024-09-23 23:22:33 +00:00
<height>80</height>
</rect>
</property>
<property name="font">
<font>
2024-09-27 05:31:03 +00:00
<pointsize>14</pointsize>
2024-09-23 23:22:33 +00:00
</font>
</property>
<property name="text">
2024-09-27 05:31:03 +00:00
<string>ARCCOS</string>
2024-09-23 23:22:33 +00:00
</property>
<property name="shortcut">
2024-09-27 05:31:03 +00:00
<string>Backspace</string>
2024-09-23 23:22:33 +00:00
</property>
</widget>
2024-09-27 05:31:03 +00:00
<widget class="QRadioButton" name="radioButtonRadians">
2024-09-23 23:22:33 +00:00
<property name="geometry">
<rect>
<x>12</x>
2024-09-27 05:31:03 +00:00
<y>294</y>
<width>160</width>
<height>20</height>
2024-09-23 23:22:33 +00:00
</rect>
</property>
<property name="font">
<font>
2024-09-27 05:31:03 +00:00
<pointsize>14</pointsize>
2024-09-23 23:22:33 +00:00
</font>
</property>
2024-09-27 05:31:03 +00:00
<property name="text">
<string>RADIANS</string>
2024-09-23 23:22:33 +00:00
</property>
2024-09-27 05:31:03 +00:00
<property name="iconSize">
<size>
<width>20</width>
<height>20</height>
</size>
2024-09-23 23:22:33 +00:00
</property>
2024-09-27 05:31:03 +00:00
<property name="checked">
<bool>true</bool>
2024-09-23 23:22:33 +00:00
</property>
</widget>
2024-09-27 05:31:03 +00:00
<widget class="QRadioButton" name="radioButtonDegrees">
2024-09-23 23:22:33 +00:00
<property name="geometry">
<rect>
2024-09-27 05:31:03 +00:00
<x>184</x>
<y>294</y>
<width>160</width>
<height>20</height>
2024-09-23 23:22:33 +00:00
</rect>
</property>
<property name="font">
<font>
2024-09-27 05:31:03 +00:00
<pointsize>14</pointsize>
2024-09-23 23:22:33 +00:00
</font>
</property>
<property name="text">
2024-09-27 05:31:03 +00:00
<string>DEGREES</string>
2024-09-23 23:22:33 +00:00
</property>
2024-09-27 05:31:03 +00:00
<property name="iconSize">
<size>
<width>18</width>
<height>18</height>
</size>
2024-09-23 23:22:33 +00:00
</property>
</widget>
2024-09-27 05:31:03 +00:00
<widget class="QLabel" name="label_4">
2024-09-23 23:22:33 +00:00
<property name="geometry">
<rect>
2024-09-27 05:31:03 +00:00
<x>6</x>
<y>256</y>
<width>338</width>
<height>30</height>
2024-09-23 23:22:33 +00:00
</rect>
</property>
<property name="font">
<font>
2024-09-27 05:31:03 +00:00
<pointsize>14</pointsize>
<bold>true</bold>
2024-09-23 23:22:33 +00:00
</font>
</property>
<property name="text">
2024-09-27 05:31:03 +00:00
<string>UNITS</string>
2024-09-23 23:22:33 +00:00
</property>
2024-09-27 05:31:03 +00:00
<property name="textFormat">
<enum>Qt::TextFormat::AutoText</enum>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignCenter</set>
2024-09-23 23:22:33 +00:00
</property>
</widget>
2024-09-27 05:31:03 +00:00
<widget class="QPushButton" name="buttonArcsin">
2024-09-23 23:22:33 +00:00
<property name="geometry">
<rect>
2024-09-27 05:31:03 +00:00
<x>6</x>
<y>528</y>
<width>166</width>
2024-09-23 23:22:33 +00:00
<height>80</height>
</rect>
</property>
<property name="font">
<font>
2024-09-27 05:31:03 +00:00
<pointsize>14</pointsize>
2024-09-23 23:22:33 +00:00
</font>
</property>
<property name="text">
2024-09-27 05:31:03 +00:00
<string>ARCSIN</string>
2024-09-23 23:22:33 +00:00
</property>
<property name="shortcut">
2024-09-27 05:31:03 +00:00
<string>Backspace</string>
2024-09-23 23:22:33 +00:00
</property>
</widget>
2024-09-27 05:31:03 +00:00
<widget class="QPushButton" name="buttonArctan">
2024-09-23 23:22:33 +00:00
<property name="geometry">
<rect>
<x>6</x>
2024-09-27 05:31:03 +00:00
<y>614</y>
<width>338</width>
2024-09-23 23:22:33 +00:00
<height>80</height>
</rect>
</property>
<property name="font">
<font>
2024-09-27 05:31:03 +00:00
<pointsize>14</pointsize>
2024-09-23 23:22:33 +00:00
</font>
</property>
<property name="text">
2024-09-27 05:31:03 +00:00
<string>ARCTAN</string>
2024-09-23 23:22:33 +00:00
</property>
<property name="shortcut">
2024-09-27 05:31:03 +00:00
<string>Backspace</string>
2024-09-23 23:22:33 +00:00
</property>
</widget>
</widget>
2024-09-27 05:31:03 +00:00
<action name="actionCalculator">
<property name="text">
<string>&amp;Calculator</string>
2024-09-23 23:22:33 +00:00
</property>
2024-09-27 05:31:03 +00:00
</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>