mirea-projects/Third term/Industrial programming technologies/3_Calculator/calculator.ui
2024-09-27 08:31:03 +03:00

469 lines
11 KiB
XML
Executable File

<?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>
<height>702</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>Programming</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QLineEdit" name="secondNumberInput">
<property name="geometry">
<rect>
<x>12</x>
<y>118</y>
<width>328</width>
<height>60</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
</widget>
<widget class="QLabel" name="label_1">
<property name="geometry">
<rect>
<x>12</x>
<y>6</y>
<width>328</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>NUMBERS</string>
</property>
<property name="textFormat">
<enum>Qt::TextFormat::AutoText</enum>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignCenter</set>
</property>
</widget>
<widget class="QPushButton" name="buttonAdd">
<property name="geometry">
<rect>
<x>6</x>
<y>356</y>
<width>80</width>
<height>80</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>+</string>
</property>
<property name="shortcut">
<string>Backspace</string>
</property>
</widget>
<widget class="QPushButton" name="buttonSubtract">
<property name="geometry">
<rect>
<x>92</x>
<y>356</y>
<width>80</width>
<height>80</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>-</string>
</property>
<property name="shortcut">
<string>Backspace</string>
</property>
</widget>
<widget class="QPushButton" name="buttonMultiply">
<property name="geometry">
<rect>
<x>178</x>
<y>356</y>
<width>80</width>
<height>80</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>*</string>
</property>
<property name="shortcut">
<string>Backspace</string>
</property>
</widget>
<widget class="QPushButton" name="buttonDivide">
<property name="geometry">
<rect>
<x>264</x>
<y>356</y>
<width>80</width>
<height>80</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>/</string>
</property>
<property name="shortcut">
<string>Backspace</string>
</property>
</widget>
<widget class="QLineEdit" name="firstNumberInput">
<property name="geometry">
<rect>
<x>12</x>
<y>46</y>
<width>328</width>
<height>60</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>6</x>
<y>320</y>
<width>338</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>ACTIONS</string>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignCenter</set>
</property>
</widget>
<widget class="QTextEdit" name="plainTextEdit">
<property name="geometry">
<rect>
<x>12</x>
<y>190</y>
<width>328</width>
<height>60</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="inputMethodHints">
<set>Qt::InputMethodHint::ImhNone</set>
</property>
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarPolicy::ScrollBarAlwaysOff</enum>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarPolicy::ScrollBarAsNeeded</enum>
</property>
<property name="sizeAdjustPolicy">
<enum>QAbstractScrollArea::SizeAdjustPolicy::AdjustIgnored</enum>
</property>
<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>
</property>
</widget>
<widget class="QPushButton" name="buttonCot">
<property name="geometry">
<rect>
<x>264</x>
<y>442</y>
<width>80</width>
<height>80</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>COT</string>
</property>
<property name="shortcut">
<string>Backspace</string>
</property>
</widget>
<widget class="QPushButton" name="buttonTan">
<property name="geometry">
<rect>
<x>178</x>
<y>442</y>
<width>80</width>
<height>80</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>TAN</string>
</property>
<property name="shortcut">
<string>Backspace</string>
</property>
</widget>
<widget class="QPushButton" name="buttonCos">
<property name="geometry">
<rect>
<x>92</x>
<y>442</y>
<width>80</width>
<height>80</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>COS</string>
</property>
<property name="shortcut">
<string>Backspace</string>
</property>
</widget>
<widget class="QPushButton" name="buttonSin">
<property name="geometry">
<rect>
<x>6</x>
<y>442</y>
<width>80</width>
<height>80</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>SIN</string>
</property>
<property name="shortcut">
<string>Backspace</string>
</property>
</widget>
<widget class="QPushButton" name="buttonArccos">
<property name="geometry">
<rect>
<x>178</x>
<y>528</y>
<width>166</width>
<height>80</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>ARCCOS</string>
</property>
<property name="shortcut">
<string>Backspace</string>
</property>
</widget>
<widget class="QRadioButton" name="radioButtonRadians">
<property name="geometry">
<rect>
<x>12</x>
<y>294</y>
<width>160</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>RADIANS</string>
</property>
<property name="iconSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QRadioButton" name="radioButtonDegrees">
<property name="geometry">
<rect>
<x>184</x>
<y>294</y>
<width>160</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>DEGREES</string>
</property>
<property name="iconSize">
<size>
<width>18</width>
<height>18</height>
</size>
</property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>6</x>
<y>256</y>
<width>338</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>UNITS</string>
</property>
<property name="textFormat">
<enum>Qt::TextFormat::AutoText</enum>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignCenter</set>
</property>
</widget>
<widget class="QPushButton" name="buttonArcsin">
<property name="geometry">
<rect>
<x>6</x>
<y>528</y>
<width>166</width>
<height>80</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>ARCSIN</string>
</property>
<property name="shortcut">
<string>Backspace</string>
</property>
</widget>
<widget class="QPushButton" name="buttonArctan">
<property name="geometry">
<rect>
<x>6</x>
<y>614</y>
<width>338</width>
<height>80</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>ARCTAN</string>
</property>
<property name="shortcut">
<string>Backspace</string>
</property>
</widget>
</widget>
<action name="actionCalculator">
<property name="text">
<string>&amp;Calculator</string>
</property>
</action>
<action name="actionProgramming">
<property name="text">
<string>&amp;Programming</string>
</property>
</action>
</widget>
<resources/>
<connections/>
</ui>