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

339 lines
8.3 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>382</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>214</width>
<height>60</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>18</pointsize>
</font>
</property>
</widget>
<widget class="QSpinBox" name="secondNumberSystem">
<property name="geometry">
<rect>
<x>238</x>
<y>118</y>
<width>100</width>
<height>60</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>18</pointsize>
</font>
</property>
<property name="minimum">
<number>2</number>
</property>
<property name="maximum">
<number>36</number>
</property>
<property name="value">
<number>10</number>
</property>
</widget>
<widget class="QLabel" name="label_1">
<property name="geometry">
<rect>
<x>12</x>
<y>6</y>
<width>214</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>18</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="QSpinBox" name="outNumberSystem">
<property name="geometry">
<rect>
<x>238</x>
<y>190</y>
<width>100</width>
<height>60</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>18</pointsize>
</font>
</property>
<property name="minimum">
<number>2</number>
</property>
<property name="maximum">
<number>36</number>
</property>
<property name="value">
<number>10</number>
</property>
</widget>
<widget class="QPushButton" name="buttonAdd">
<property name="geometry">
<rect>
<x>6</x>
<y>296</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>Backspace</string>
</property>
</widget>
<widget class="QPushButton" name="buttonSubtract">
<property name="geometry">
<rect>
<x>92</x>
<y>296</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>Backspace</string>
</property>
</widget>
<widget class="QPushButton" name="buttonMultiply">
<property name="geometry">
<rect>
<x>178</x>
<y>296</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>Backspace</string>
</property>
</widget>
<widget class="QPushButton" name="buttonDivide">
<property name="geometry">
<rect>
<x>264</x>
<y>296</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>Backspace</string>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>238</x>
<y>6</y>
<width>100</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>18</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>SYSTEM</string>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignCenter</set>
</property>
</widget>
<widget class="QLineEdit" name="firstNumberInput">
<property name="geometry">
<rect>
<x>12</x>
<y>46</y>
<width>214</width>
<height>60</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>18</pointsize>
</font>
</property>
</widget>
<widget class="QSpinBox" name="firstNumberSystem">
<property name="geometry">
<rect>
<x>238</x>
<y>46</y>
<width>100</width>
<height>60</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>18</pointsize>
</font>
</property>
<property name="minimum">
<number>2</number>
</property>
<property name="maximum">
<number>36</number>
</property>
<property name="value">
<number>10</number>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>6</x>
<y>256</y>
<width>338</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>18</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>214</width>
<height>60</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>18</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:18pt; font-weight:400; font-style:normal;&quot;&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;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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>