339 lines
8.3 KiB
XML
Executable File
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><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
<html><head><meta name="qrichtext" content="1" /><meta charset="utf-8" /><style type="text/css">
|
|
p, li { white-space: pre-wrap; }
|
|
hr { height: 1px; border-width: 0; }
|
|
li.unchecked::marker { content: "\2610"; }
|
|
li.checked::marker { content: "\2612"; }
|
|
</style></head><body style=" font-family:'Noto Sans'; font-size:18pt; font-weight:400; font-style:normal;">
|
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html></string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<action name="actionCalculator">
|
|
<property name="text">
|
|
<string>&Calculator</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionProgramming">
|
|
<property name="text">
|
|
<string>&Programming</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|