/
pi-svetlana
/
CalculatorPython
Обзор
Документация
Войти
/
pi-svetlana
/
CalculatorPython
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/view/view.ui
1 994 строки
50 KB
pi-svetlana
calculator
17 ноя 2024, 17:19
17 ноя 2024, 17:19
4ec612c
Код
Авторство
О чём код?
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>View</class> <widget class="QWidget" name="View"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>740</width> <height>635</height> </rect> </property> <property name="minimumSize"> <size> <width>740</width> <height>635</height> </size> </property> <property name="maximumSize"> <size> <width>740</width> <height>635</height> </size> </property> <property name="windowTitle"> <string>Калькулятор</string> </property> <widget class="QTabWidget" name="tabWidget"> <property name="geometry"> <rect> <x>20</x> <y>10</y> <width>701</width> <height>611</height> </rect> </property> <property name="currentIndex"> <number>1</number> </property> <widget class="QWidget" name="tab"> <attribute name="title"> <string>Инженерный</string> </attribute> <widget class="QPushButton" name="equal_btn"> <property name="geometry"> <rect> <x>130</x> <y>130</y> <width>111</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>22</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(171, 180, 180); color: black; border: 1px solid rgb(150, 158, 158); border-radius: 8px; } QPushButton:hover { background-color: rgb(147, 155, 155); } QPushButton:pressed { background-color: rgb(199, 210, 210); }</string> </property> <property name="text"> <string>=</string> </property> <property name="shortcut"> <string>Return</string> </property> </widget> <widget class="QPushButton" name="nine_btn"> <property name="geometry"> <rect> <x>130</x> <y>480</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>20</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(208, 212, 212); color: black; border: 1px solid rgb(182, 188, 188); border-radius: 8px; } QPushButton:hover { background-color:rgb(181, 188, 188); } QPushButton:pressed { background-color: rgb(225, 233, 233); }</string> </property> <property name="text"> <string>9</string> </property> </widget> <widget class="QPushButton" name="dot_btn"> <property name="geometry"> <rect> <x>70</x> <y>530</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>20</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(208, 212, 212); color: black; border: 1px solid rgb(182, 188, 188); border-radius: 8px; } QPushButton:hover { background-color:rgb(181, 188, 188); } QPushButton:pressed { background-color: rgb(225, 233, 233); }</string> </property> <property name="text"> <string>.</string> </property> </widget> <widget class="QPushButton" name="asin_btn"> <property name="geometry"> <rect> <x>10</x> <y>230</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>20</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(214, 221, 236); color: black; border: 1px solid rgb(185, 193, 207); border-radius: 8px; } QPushButton:hover { background-color: rgb(180, 188, 202); } QPushButton:pressed { background-color: rgb(221, 230, 247); }</string> </property> <property name="text"> <string>asin</string> </property> </widget> <widget class="QPushButton" name="five_btn"> <property name="geometry"> <rect> <x>70</x> <y>430</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>20</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(208, 212, 212); color: black; border: 1px solid rgb(182, 188, 188); border-radius: 8px; } QPushButton:hover { background-color:rgb(181, 188, 188); } QPushButton:pressed { background-color: rgb(225, 233, 233); }</string> </property> <property name="text"> <string>5</string> </property> </widget> <widget class="QPushButton" name="tan_btn"> <property name="geometry"> <rect> <x>130</x> <y>180</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>20</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(214, 221, 236); color: black; border: 1px solid rgb(185, 193, 207); border-radius: 8px; } QPushButton:hover { background-color: rgb(180, 188, 202); } QPushButton:pressed { background-color: rgb(221, 230, 247); }</string> </property> <property name="text"> <string>tan</string> </property> </widget> <widget class="QPushButton" name="six_btn"> <property name="geometry"> <rect> <x>130</x> <y>430</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>20</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(208, 212, 212); color: black; border: 1px solid rgb(182, 188, 188); border-radius: 8px; } QPushButton:hover { background-color:rgb(181, 188, 188); } QPushButton:pressed { background-color: rgb(225, 233, 233); }</string> </property> <property name="text"> <string>6</string> </property> </widget> <widget class="QPushButton" name="plus_btn"> <property name="geometry"> <rect> <x>190</x> <y>230</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>22</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(214, 221, 236); color: black; border: 1px solid rgb(185, 193, 207); border-radius: 8px; } QPushButton:hover { background-color: rgb(180, 188, 202); } QPushButton:pressed { background-color: rgb(221, 230, 247); }</string> </property> <property name="text"> <string>+</string> </property> </widget> <widget class="QPushButton" name="minus_btn"> <property name="geometry"> <rect> <x>190</x> <y>280</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>22</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(214, 221, 236); color: black; border: 1px solid rgb(185, 193, 207); border-radius: 8px; } QPushButton:hover { background-color: rgb(180, 188, 202); } QPushButton:pressed { background-color: rgb(221, 230, 247); }</string> </property> <property name="text"> <string>-</string> </property> </widget> <widget class="QPushButton" name="div_btn"> <property name="geometry"> <rect> <x>190</x> <y>330</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>22</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(214, 221, 236); color: black; border: 1px solid rgb(185, 193, 207); border-radius: 8px; } QPushButton:hover { background-color: rgb(180, 188, 202); } QPushButton:pressed { background-color: rgb(221, 230, 247); }</string> </property> <property name="text"> <string>/</string> </property> </widget> <widget class="QPushButton" name="atan_btn"> <property name="geometry"> <rect> <x>130</x> <y>230</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>20</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(214, 221, 236); color: black; border: 1px solid rgb(185, 193, 207); border-radius: 8px; } QPushButton:hover { background-color: rgb(180, 188, 202); } QPushButton:pressed { background-color: rgb(221, 230, 247); }</string> </property> <property name="text"> <string>atan</string> </property> </widget> <widget class="QPushButton" name="log_btn"> <property name="geometry"> <rect> <x>130</x> <y>280</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>20</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(214, 221, 236); color: black; border: 1px solid rgb(185, 193, 207); border-radius: 8px; } QPushButton:hover { background-color: rgb(180, 188, 202); } QPushButton:pressed { background-color: rgb(221, 230, 247); }</string> </property> <property name="text"> <string>log</string> </property> </widget> <widget class="QPushButton" name="two_btn"> <property name="geometry"> <rect> <x>70</x> <y>380</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>20</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(208, 212, 212); color: black; border: 1px solid rgb(182, 188, 188); border-radius: 8px; } QPushButton:hover { background-color:rgb(181, 188, 188); } QPushButton:pressed { background-color: rgb(225, 233, 233); }</string> </property> <property name="text"> <string>2</string> </property> </widget> <widget class="QPushButton" name="ln_btn"> <property name="geometry"> <rect> <x>70</x> <y>280</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>20</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(214, 221, 236); color: black; border: 1px solid rgb(185, 193, 207); border-radius: 8px; } QPushButton:hover { background-color: rgb(180, 188, 202); } QPushButton:pressed { background-color: rgb(221, 230, 247); }</string> </property> <property name="text"> <string>ln</string> </property> </widget> <widget class="QPushButton" name="seven_btn"> <property name="geometry"> <rect> <x>10</x> <y>480</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>20</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(208, 212, 212); color: black; border: 1px solid rgb(182, 188, 188); border-radius: 8px; } QPushButton:hover { background-color:rgb(181, 188, 188); } QPushButton:pressed { background-color: rgb(225, 233, 233); }</string> </property> <property name="text"> <string>7</string> </property> </widget> <widget class="QPushButton" name="eight_btn"> <property name="geometry"> <rect> <x>70</x> <y>480</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>20</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(208, 212, 212); color: black; border: 1px solid rgb(182, 188, 188); border-radius: 8px; } QPushButton:hover { background-color:rgb(181, 188, 188); } QPushButton:pressed { background-color: rgb(225, 233, 233); }</string> </property> <property name="text"> <string>8</string> </property> </widget> <widget class="QPushButton" name="cos_btn"> <property name="geometry"> <rect> <x>70</x> <y>180</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>20</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(214, 221, 236); color: black; border: 1px solid rgb(185, 193, 207); border-radius: 8px; } QPushButton:hover { background-color: rgb(180, 188, 202); } QPushButton:pressed { background-color: rgb(221, 230, 247); }</string> </property> <property name="text"> <string>cos</string> </property> </widget> <widget class="QPushButton" name="one_btn"> <property name="geometry"> <rect> <x>10</x> <y>380</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>20</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(208, 212, 212); color: black; border: 1px solid rgb(182, 188, 188); border-radius: 8px; } QPushButton:hover { background-color:rgb(181, 188, 188); } QPushButton:pressed { background-color: rgb(225, 233, 233); }</string> </property> <property name="text"> <string>1</string> </property> </widget> <widget class="QPushButton" name="backspace_btn"> <property name="geometry"> <rect> <x>190</x> <y>530</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>20</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(171, 180, 180); color: black; border: 1px solid rgb(150, 158, 158); border-radius: 8px; } QPushButton:hover { background-color: rgb(147, 155, 155); } QPushButton:pressed { background-color: rgb(199, 210, 210); }</string> </property> <property name="text"> <string><-</string> </property> </widget> <widget class="QPushButton" name="mod_btn"> <property name="geometry"> <rect> <x>10</x> <y>330</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>20</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(214, 221, 236); color: black; border: 1px solid rgb(185, 193, 207); border-radius: 8px; } QPushButton:hover { background-color: rgb(180, 188, 202); } QPushButton:pressed { background-color: rgb(221, 230, 247); }</string> </property> <property name="text"> <string>mod</string> </property> </widget> <widget class="QPushButton" name="sin_btn"> <property name="enabled"> <bool>true</bool> </property> <property name="geometry"> <rect> <x>10</x> <y>180</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>20</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(214, 221, 236); color: black; border: 1px solid rgb(185, 193, 207); border-radius: 8px; } QPushButton:hover { background-color: rgb(180, 188, 202); } QPushButton:pressed { background-color: rgb(221, 230, 247); } </string> </property> <property name="text"> <string>sin</string> </property> </widget> <widget class="QPushButton" name="pow_btn"> <property name="geometry"> <rect> <x>70</x> <y>330</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>22</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(214, 221, 236); color: black; border: 1px solid rgb(185, 193, 207); border-radius: 8px; } QPushButton:hover { background-color: rgb(180, 188, 202); } QPushButton:pressed { background-color: rgb(221, 230, 247); }</string> </property> <property name="text"> <string>^</string> </property> </widget> <widget class="QPushButton" name="x_btn"> <property name="geometry"> <rect> <x>130</x> <y>330</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>22</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(214, 221, 236); color: black; border: 1px solid rgb(185, 193, 207); border-radius: 8px; } QPushButton:hover { background-color: rgb(180, 188, 202); } QPushButton:pressed { background-color: rgb(221, 230, 247); }</string> </property> <property name="text"> <string>x</string> </property> </widget> <widget class="QPushButton" name="three_btn"> <property name="geometry"> <rect> <x>130</x> <y>380</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>20</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(208, 212, 212); color: black; border: 1px solid rgb(182, 188, 188); border-radius: 8px; } QPushButton:hover { background-color:rgb(181, 188, 188); } QPushButton:pressed { background-color: rgb(225, 233, 233); }</string> </property> <property name="text"> <string>3</string> </property> </widget> <widget class="QPushButton" name="four_btn"> <property name="geometry"> <rect> <x>10</x> <y>430</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>20</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(208, 212, 212); color: black; border: 1px solid rgb(182, 188, 188); border-radius: 8px; } QPushButton:hover { background-color:rgb(181, 188, 188); } QPushButton:pressed { background-color: rgb(225, 233, 233); }</string> </property> <property name="text"> <string>4</string> </property> </widget> <widget class="QPushButton" name="left_brc_btn"> <property name="geometry"> <rect> <x>190</x> <y>430</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>22</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(214, 221, 236); color: black; border: 1px solid rgb(185, 193, 207); border-radius: 8px; } QPushButton:hover { background-color: rgb(180, 188, 202); } QPushButton:pressed { background-color: rgb(221, 230, 247); }</string> </property> <property name="text"> <string>(</string> </property> </widget> <widget class="QPushButton" name="right_brc_btn"> <property name="geometry"> <rect> <x>190</x> <y>480</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>22</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(214, 221, 236); color: black; border: 1px solid rgb(185, 193, 207); border-radius: 8px; } QPushButton:hover { background-color: rgb(180, 188, 202); } QPushButton:pressed { background-color: rgb(221, 230, 247); }</string> </property> <property name="text"> <string>)</string> </property> </widget> <widget class="QPushButton" name="sqrt_btn"> <property name="geometry"> <rect> <x>10</x> <y>280</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>20</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(214, 221, 236); color: black; border: 1px solid rgb(185, 193, 207); border-radius: 8px; } QPushButton:hover { background-color: rgb(180, 188, 202); } QPushButton:pressed { background-color: rgb(221, 230, 247); }</string> </property> <property name="text"> <string>sqrt</string> </property> </widget> <widget class="QPushButton" name="acos_btn"> <property name="geometry"> <rect> <x>70</x> <y>230</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>20</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(214, 221, 236); color: black; border: 1px solid rgb(185, 193, 207); border-radius: 8px; } QPushButton:hover { background-color: rgb(180, 188, 202); } QPushButton:pressed { background-color: rgb(221, 230, 247); }</string> </property> <property name="text"> <string>acos</string> </property> </widget> <widget class="QPushButton" name="zero_btn"> <property name="geometry"> <rect> <x>10</x> <y>530</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>20</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(208, 212, 212); color: black; border: 1px solid rgb(182, 188, 188); border-radius: 8px; } QPushButton:hover { background-color:rgb(181, 188, 188); } QPushButton:pressed { background-color: rgb(225, 233, 233); }</string> </property> <property name="text"> <string>0</string> </property> </widget> <widget class="QPushButton" name="ac_btn"> <property name="geometry"> <rect> <x>190</x> <y>180</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>20</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(171, 180, 180); color: black; border: 1px solid rgb(150, 158, 158); border-radius: 8px; } QPushButton:hover { background-color: rgb(147, 155, 155); } QPushButton:pressed { background-color: rgb(199, 210, 210); }</string> </property> <property name="text"> <string>AC</string> </property> <property name="shortcut"> <string>Esc</string> </property> </widget> <widget class="QLineEdit" name="expression"> <property name="geometry"> <rect> <x>10</x> <y>10</y> <width>421</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>16</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QLineEdit { background-color: rgb(243, 243, 243); color: black; border: 1px solid rgb(230, 230, 230); border-radius: 8px; }</string> </property> <property name="text"> <string/> </property> <property name="maxLength"> <number>255</number> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLineEdit" name="x_val"> <property name="geometry"> <rect> <x>40</x> <y>130</y> <width>81</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>16</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">background-color: rgb(243, 243, 243); color: black; border: 1px solid rgb(230, 230, 230); border-radius: 8px;</string> </property> <property name="text"> <string>1</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLabel" name="label"> <property name="geometry"> <rect> <x>10</x> <y>130</y> <width>21</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>20</pointsize> </font> </property> <property name="text"> <string>x =</string> </property> </widget> <widget class="QLabel" name="label_2"> <property name="geometry"> <rect> <x>440</x> <y>10</y> <width>21</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>26</pointsize> </font> </property> <property name="text"> <string>=</string> </property> <property name="alignment"> <set>Qt::AlignCenter</set> </property> </widget> <widget class="QLabel" name="result"> <property name="geometry"> <rect> <x>470</x> <y>10</y> <width>211</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>16</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">background-color: rgb(243, 243, 243); color: black; border: 1px solid rgb(230, 230, 230); border-radius: 8px;</string> </property> <property name="text"> <string/> </property> </widget> <widget class="QLabel" name="label_4"> <property name="geometry"> <rect> <x>430</x> <y>490</y> <width>51</width> <height>31</height> </rect> </property> <property name="font"> <font> <pointsize>17</pointsize> </font> </property> <property name="text"> <string>x min =</string> </property> </widget> <widget class="QPushButton" name="show_grath_btn"> <property name="geometry"> <rect> <x>580</x> <y>490</y> <width>101</width> <height>61</height> </rect> </property> <property name="font"> <font> <pointsize>17</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(171, 180, 180); color: black; border: 1px solid rgb(150, 158, 158); border-radius: 8px; } QPushButton:hover { background-color: rgb(147, 155, 155); } QPushButton:pressed { background-color: rgb(199, 210, 210); }</string> </property> <property name="text"> <string>Показать график</string> </property> </widget> <widget class="QLabel" name="label_6"> <property name="geometry"> <rect> <x>430</x> <y>530</y> <width>61</width> <height>31</height> </rect> </property> <property name="font"> <font> <pointsize>17</pointsize> </font> </property> <property name="text"> <string>x max =</string> </property> </widget> <widget class="QLabel" name="label_8"> <property name="geometry"> <rect> <x>270</x> <y>530</y> <width>61</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>17</pointsize> </font> </property> <property name="text"> <string>y max =</string> </property> </widget> <widget class="QLabel" name="label_11"> <property name="geometry"> <rect> <x>270</x> <y>480</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>17</pointsize> </font> </property> <property name="text"> <string>y min =</string> </property> </widget> <widget class="QLineEdit" name="x_min"> <property name="geometry"> <rect> <x>490</x> <y>480</y> <width>81</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>16</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">background-color: rgb(243, 243, 243); color: black; border: 1px solid rgb(230, 230, 230); border-radius: 8px;</string> </property> <property name="text"> <string>-5</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLineEdit" name="x_max"> <property name="geometry"> <rect> <x>490</x> <y>530</y> <width>81</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>16</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">background-color: rgb(243, 243, 243); color: black; border: 1px solid rgb(230, 230, 230); border-radius: 8px;</string> </property> <property name="text"> <string>5</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLineEdit" name="y_min"> <property name="geometry"> <rect> <x>330</x> <y>480</y> <width>81</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>16</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">background-color: rgb(243, 243, 243); color: black; border: 1px solid rgb(230, 230, 230); border-radius: 8px;</string> </property> <property name="text"> <string>-5</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLineEdit" name="y_max"> <property name="geometry"> <rect> <x>330</x> <y>530</y> <width>81</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>16</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">background-color: rgb(243, 243, 243); color: black; border: 1px solid rgb(230, 230, 230); border-radius: 8px;</string> </property> <property name="text"> <string>5</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QWidget" name="graph" native="true"> <property name="geometry"> <rect> <x>260</x> <y>140</y> <width>421</width> <height>331</height> </rect> </property> </widget> <widget class="QPushButton" name="e_btn"> <property name="geometry"> <rect> <x>130</x> <y>530</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>20</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(208, 212, 212); color: black; border: 1px solid rgb(182, 188, 188); border-radius: 8px; } QPushButton:hover { background-color:rgb(181, 188, 188); } QPushButton:pressed { background-color: rgb(225, 233, 233); }</string> </property> <property name="text"> <string>e</string> </property> </widget> <widget class="QPushButton" name="mul_btn"> <property name="geometry"> <rect> <x>190</x> <y>380</y> <width>51</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>22</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(214, 221, 236); color: black; border: 1px solid rgb(185, 193, 207); border-radius: 8px; } QPushButton:hover { background-color: rgb(180, 188, 202); } QPushButton:pressed { background-color: rgb(221, 230, 247); }</string> </property> <property name="text"> <string>*</string> </property> </widget> <widget class="QLabel" name="error"> <property name="geometry"> <rect> <x>20</x> <y>60</y> <width>651</width> <height>16</height> </rect> </property> <property name="styleSheet"> <string notr="true">color:rgb(214, 69, 44)</string> </property> <property name="text"> <string/> </property> <property name="alignment"> <set>Qt::AlignCenter</set> </property> </widget> <widget class="QComboBox" name="history"> <property name="geometry"> <rect> <x>10</x> <y>80</y> <width>541</width> <height>41</height> </rect> </property> <property name="styleSheet"> <string notr="true">QComboBox { background-color: rgb(243, 243, 243); color: black; border: 1px solid rgb(230, 230, 230); border-radius: 8px; } </string> </property> </widget> <widget class="QPushButton" name="clear_history_btn"> <property name="geometry"> <rect> <x>570</x> <y>80</y> <width>111</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>15</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(214, 221, 236); color: black; border: 1px solid rgb(185, 193, 207); border-radius: 8px; } QPushButton:hover { background-color: rgb(180, 188, 202); } QPushButton:pressed { background-color: rgb(221, 230, 247); }</string> </property> <property name="text"> <string>Очистить историю</string> </property> </widget> </widget> <widget class="QWidget" name="tab_2"> <property name="enabled"> <bool>true</bool> </property> <attribute name="title"> <string>Кредитный</string> </attribute> <widget class="QLabel" name="label_3"> <property name="geometry"> <rect> <x>20</x> <y>20</y> <width>181</width> <height>31</height> </rect> </property> <property name="font"> <font> <pointsize>18</pointsize> </font> </property> <property name="text"> <string>Сумма кредита, руб</string> </property> </widget> <widget class="QDoubleSpinBox" name="credit_sum"> <property name="geometry"> <rect> <x>60</x> <y>60</y> <width>141</width> <height>31</height> </rect> </property> <property name="font"> <font> <pointsize>14</pointsize> </font> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="maximum"> <double>1000000000000.000000000000000</double> </property> <property name="singleStep"> <double>0.010000000000000</double> </property> </widget> <widget class="QLabel" name="label_5"> <property name="geometry"> <rect> <x>20</x> <y>100</y> <width>181</width> <height>31</height> </rect> </property> <property name="font"> <font> <pointsize>18</pointsize> </font> </property> <property name="text"> <string>Срок кредита, мес</string> </property> </widget> <widget class="QDoubleSpinBox" name="credit_percent"> <property name="geometry"> <rect> <x>60</x> <y>230</y> <width>141</width> <height>31</height> </rect> </property> <property name="font"> <font> <pointsize>14</pointsize> </font> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="maximum"> <double>1000.000000000000000</double> </property> <property name="singleStep"> <double>0.010000000000000</double> </property> </widget> <widget class="QLabel" name="label_7"> <property name="geometry"> <rect> <x>20</x> <y>190</y> <width>181</width> <height>31</height> </rect> </property> <property name="font"> <font> <pointsize>18</pointsize> </font> </property> <property name="text"> <string>Прoцентная ставка, %</string> </property> </widget> <widget class="QLabel" name="label_9"> <property name="geometry"> <rect> <x>20</x> <y>280</y> <width>181</width> <height>31</height> </rect> </property> <property name="font"> <font> <pointsize>18</pointsize> </font> </property> <property name="text"> <string>Тип платежей:</string> </property> </widget> <widget class="QRadioButton" name="annuity"> <property name="geometry"> <rect> <x>60</x> <y>320</y> <width>131</width> <height>21</height> </rect> </property> <property name="font"> <font> <pointsize>16</pointsize> </font> </property> <property name="text"> <string>аннуитетные</string> </property> <property name="checked"> <bool>true</bool> </property> </widget> <widget class="QRadioButton" name="differentiated"> <property name="geometry"> <rect> <x>60</x> <y>350</y> <width>201</width> <height>21</height> </rect> </property> <property name="font"> <font> <pointsize>16</pointsize> </font> </property> <property name="text"> <string>дифференцированные</string> </property> </widget> <widget class="QPushButton" name="count_credit_btn"> <property name="geometry"> <rect> <x>80</x> <y>430</y> <width>111</width> <height>41</height> </rect> </property> <property name="font"> <font> <pointsize>16</pointsize> </font> </property> <property name="styleSheet"> <string notr="true">QPushButton { background-color: rgb(208, 212, 212); color: black; border: 1px solid rgb(182, 188, 188); border-radius: 8px; } QPushButton:hover { background-color:rgb(181, 188, 188); } QPushButton:pressed { background-color: rgb(225, 233, 233); }</string> </property> <property name="text"> <string>Рассчитать</string> </property> </widget> <widget class="QLabel" name="label_10"> <property name="geometry"> <rect> <x>300</x> <y>20</y> <width>241</width> <height>31</height> </rect> </property> <property name="font"> <font> <pointsize>18</pointsize> </font> </property> <property name="text"> <string>Ежемесячный платёж, руб</string> </property> </widget> <widget class="QLabel" name="label_12"> <property name="geometry"> <rect> <x>300</x> <y>100</y> <width>241</width> <height>31</height> </rect> </property> <property name="font"> <font> <pointsize>18</pointsize> </font> </property> <property name="text"> <string>Начисленные проценты, руб</string> </property> </widget> <widget class="QLabel" name="label_13"> <property name="geometry"> <rect> <x>300</x> <y>180</y> <width>241</width> <height>31</height> </rect> </property> <property name="font"> <font> <pointsize>18</pointsize> </font> </property> <property name="text"> <string>Долг + проценты, руб</string> </property> </widget> <widget class="QTableWidget" name="month_payment"> <property name="geometry"> <rect> <x>290</x> <y>280</y> <width>381</width> <height>251</height> </rect> </property> <property name="styleSheet"> <string notr="true">background-color:rgb(241, 239, 243); </string> </property> </widget> <widget class="QLabel" name="payment"> <property name="geometry"> <rect> <x>400</x> <y>60</y> <width>241</width> <height>31</height> </rect> </property> <property name="font"> <font> <pointsize>18</pointsize> </font> </property> <property name="text"> <string/> </property> <property name="alignment"> <set>Qt::AlignCenter</set> </property> </widget> <widget class="QLabel" name="percent_out"> <property name="geometry"> <rect> <x>400</x> <y>140</y> <width>241</width> <height>31</height> </rect> </property> <property name="font"> <font> <pointsize>18</pointsize> </font> </property> <property name="text"> <string/> </property> <property name="alignment"> <set>Qt::AlignCenter</set> </property> </widget> <widget class="QLabel" name="credit_and_percent"> <property name="geometry"> <rect> <x>400</x> <y>220</y> <width>241</width> <height>31</height> </rect> </property> <property name="font"> <font> <pointsize>18</pointsize> </font> </property> <property name="text"> <string/> </property> <property name="alignment"> <set>Qt::AlignCenter</set> </property> </widget> <widget class="QSpinBox" name="credit_term"> <property name="geometry"> <rect> <x>60</x> <y>140</y> <width>141</width> <height>31</height> </rect> </property> <property name="font"> <font> <pointsize>14</pointsize> </font> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="maximum"> <number>600</number> </property> </widget> </widget> <widget class="QWidget" name="tab_3"> <attribute name="title"> <string>Справка</string> </attribute> <widget class="QTextEdit" name="textEdit"> <property name="geometry"> <rect> <x>13</x> <y>23</y> <width>671</width> <height>551</height> </rect> </property> <property name="styleSheet"> <string notr="true">background-color:rgb(236, 236, 236)</string> </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; } </style></head><body style=" font-family:'.AppleSystemUIFont'; font-size:13pt; font-weight:400; font-style:normal;"> <p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Menlo'; font-size:24pt; font-weight:700;">Инженерный калькулятор с режимом &quot;Кредитный калькулятор&quot;</span></p> <p align="center" 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-family:'Menlo'; font-size:24pt; font-weight:700;"><br /></p> <p align="center" 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-family:'Menlo'; font-weight:700;"><br /></p> <p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a name="LC14"></a><span style=" font-family:'Menlo'; font-size:18pt;">И</span><span style=" font-family:'Menlo'; font-size:18pt;">нженерный калькулятор поддерживает следующие функции:</span></p> <p align="justify" 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-family:'Menlo'; font-size:18pt;"><br /></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a name="LC15"></a><span style=" font-family:'Menlo'; font-size:18pt;"> </span><span style=" font-family:'Menlo'; font-size:18pt;">- математические операции +, -, *, /, ^;</span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a name="LC16"></a><span style=" font-family:'Menlo'; font-size:18pt;"> </span><span style=" font-family:'Menlo'; font-size:18pt;">- функции cos, sin, tan, acos, asin, atan, log, ln, sqrt, mod;</span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a name="LC17"></a><span style=" font-family:'Menlo'; font-size:18pt;"> </span><span style=" font-family:'Menlo'; font-size:18pt;">- вставка переменной х с присвоением ей значения;</span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a name="LC18"></a><span style=" font-family:'Menlo'; font-size:18pt;"> </span><span style=" font-family:'Menlo'; font-size:18pt;">- определение порядка выполнения команд с помощью скобок;</span></p> <p style=" margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a name="LC19"></a><span style=" font-family:'Menlo'; font-size:18pt;"> </span><span style=" font-family:'Menlo'; font-size:18pt;">- отрисовка графика у(х).</span></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Menlo'; font-size:18pt;"><br /></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a name="LC21"></a><span style=" font-family:'Menlo'; font-size:18pt;">Р</span><span style=" font-family:'Menlo'; 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-family:'Menlo'; font-size:18pt;"><br /></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Menlo'; font-size:18pt;"> - ежемесячный платеж;</span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a name="LC24"></a><span style=" font-family:'Menlo'; font-size:18pt;"> </span><span style=" font-family:'Menlo'; font-size:18pt;">- переплату по кредиту;</span></p> <p style=" margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a name="LC25"></a><span style=" font-family:'Menlo'; font-size:18pt;"> </span><span style=" font-family:'Menlo'; font-size:18pt;">- общую сумму выплат.</span></p></body></html></string> </property> </widget> </widget> </widget> </widget> <resources/> <connections/> </ui>