469 lines
11 KiB
XML
Executable File
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><!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:14pt; font-weight:400; font-style:normal;">
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:18pt;"> </span></p>
|
|
<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; font-size:18pt;"><br /></p></body></html></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>&Calculator</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionProgramming">
|
|
<property name="text">
|
|
<string>&Programming</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|