/
sxfour
/
python_all_projects
Обзор
Документация
Войти
/
sxfour
/
python_all_projects
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
python_pyqt5_calcForm/calc.ui
372 строки
9 KB
Egor Levashov
Add files via upload
27 апр 2024, 09:37
Не верифицирован
27 апр 2024, 09:37
0311fbb
Код
Авторство
О чём код?
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>MainWindow</class> <widget class="QMainWindow" name="MainWindow"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>220</width> <height>359</height> </rect> </property> <property name="windowTitle"> <string>calc</string> </property> <widget class="QWidget" name="centralwidget"> <widget class="QLabel" name="label_result"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>221</width> <height>51</height> </rect> </property> <property name="font"> <font> <pointsize>12</pointsize> <weight>75</weight> <italic>false</italic> <bold>true</bold> <underline>false</underline> </font> </property> <property name="styleSheet"> <string notr="true">background-color: rgb(163, 163, 163); color: rgb(255, 255, 255);</string> </property> <property name="text"> <string>0</string> </property> <property name="margin"> <number>10</number> </property> </widget> <widget class="QPushButton" name="btn_zero"> <property name="geometry"> <rect> <x>150</x> <y>240</y> <width>60</width> <height>50</height> </rect> </property> <property name="font"> <font> <pointsize>12</pointsize> <weight>75</weight> <bold>true</bold> </font> </property> <property name="styleSheet"> <string notr="true">background-color: rgb(163, 163, 163);</string> </property> <property name="text"> <string>0</string> </property> </widget> <widget class="QPushButton" name="btn_result"> <property name="geometry"> <rect> <x>80</x> <y>300</y> <width>131</width> <height>50</height> </rect> </property> <property name="font"> <font> <pointsize>14</pointsize> <weight>75</weight> <bold>true</bold> </font> </property> <property name="styleSheet"> <string notr="true">background-color: rgb(163, 163, 163);</string> </property> <property name="text"> <string>=</string> </property> </widget> <widget class="QPushButton" name="btn_1"> <property name="geometry"> <rect> <x>10</x> <y>180</y> <width>60</width> <height>50</height> </rect> </property> <property name="font"> <font> <pointsize>12</pointsize> <weight>75</weight> <bold>true</bold> </font> </property> <property name="styleSheet"> <string notr="true">background-color: rgb(163, 163, 163);</string> </property> <property name="text"> <string>1</string> </property> </widget> <widget class="QPushButton" name="btn_2"> <property name="geometry"> <rect> <x>80</x> <y>180</y> <width>60</width> <height>50</height> </rect> </property> <property name="font"> <font> <pointsize>12</pointsize> <weight>75</weight> <bold>true</bold> </font> </property> <property name="styleSheet"> <string notr="true">background-color: rgb(163, 163, 163);</string> </property> <property name="text"> <string>2</string> </property> </widget> <widget class="QPushButton" name="btn_3"> <property name="geometry"> <rect> <x>150</x> <y>180</y> <width>60</width> <height>50</height> </rect> </property> <property name="font"> <font> <pointsize>12</pointsize> <weight>75</weight> <bold>true</bold> </font> </property> <property name="styleSheet"> <string notr="true">background-color: rgb(163, 163, 163);</string> </property> <property name="text"> <string>3</string> </property> </widget> <widget class="QPushButton" name="btn_4"> <property name="geometry"> <rect> <x>150</x> <y>120</y> <width>60</width> <height>50</height> </rect> </property> <property name="font"> <font> <pointsize>12</pointsize> <weight>75</weight> <bold>true</bold> </font> </property> <property name="styleSheet"> <string notr="true">background-color: rgb(163, 163, 163);</string> </property> <property name="text"> <string>4</string> </property> </widget> <widget class="QPushButton" name="btn_5"> <property name="geometry"> <rect> <x>80</x> <y>120</y> <width>60</width> <height>50</height> </rect> </property> <property name="font"> <font> <pointsize>12</pointsize> <weight>75</weight> <bold>true</bold> </font> </property> <property name="styleSheet"> <string notr="true">background-color: rgb(163, 163, 163);</string> </property> <property name="text"> <string>5</string> </property> </widget> <widget class="QPushButton" name="btn_6"> <property name="geometry"> <rect> <x>10</x> <y>120</y> <width>60</width> <height>50</height> </rect> </property> <property name="font"> <font> <pointsize>12</pointsize> <weight>75</weight> <bold>true</bold> </font> </property> <property name="styleSheet"> <string notr="true">background-color: rgb(163, 163, 163);</string> </property> <property name="text"> <string>6</string> </property> </widget> <widget class="QPushButton" name="btn_7"> <property name="geometry"> <rect> <x>150</x> <y>60</y> <width>60</width> <height>50</height> </rect> </property> <property name="font"> <font> <pointsize>12</pointsize> <weight>75</weight> <bold>true</bold> </font> </property> <property name="styleSheet"> <string notr="true">background-color: rgb(163, 163, 163);</string> </property> <property name="text"> <string>7</string> </property> </widget> <widget class="QPushButton" name="btn_8"> <property name="geometry"> <rect> <x>80</x> <y>60</y> <width>60</width> <height>50</height> </rect> </property> <property name="font"> <font> <pointsize>12</pointsize> <weight>75</weight> <bold>true</bold> </font> </property> <property name="styleSheet"> <string notr="true">background-color: rgb(163, 163, 163);</string> </property> <property name="text"> <string>8</string> </property> </widget> <widget class="QPushButton" name="btn_9"> <property name="geometry"> <rect> <x>10</x> <y>60</y> <width>60</width> <height>50</height> </rect> </property> <property name="font"> <font> <pointsize>12</pointsize> <weight>75</weight> <bold>true</bold> </font> </property> <property name="styleSheet"> <string notr="true">background-color: rgb(163, 163, 163);</string> </property> <property name="text"> <string>9</string> </property> </widget> <widget class="QPushButton" name="btn_plus"> <property name="geometry"> <rect> <x>10</x> <y>240</y> <width>60</width> <height>50</height> </rect> </property> <property name="font"> <font> <pointsize>13</pointsize> <weight>75</weight> <bold>true</bold> </font> </property> <property name="styleSheet"> <string notr="true">background-color: rgb(163, 163, 163);</string> </property> <property name="text"> <string>+</string> </property> </widget> <widget class="QPushButton" name="btn_minus"> <property name="geometry"> <rect> <x>80</x> <y>240</y> <width>60</width> <height>50</height> </rect> </property> <property name="font"> <font> <pointsize>14</pointsize> <weight>75</weight> <bold>true</bold> </font> </property> <property name="styleSheet"> <string notr="true">background-color: rgb(163, 163, 163);</string> </property> <property name="text"> <string>-</string> </property> </widget> <widget class="QPushButton" name="btn_minus_2"> <property name="geometry"> <rect> <x>10</x> <y>300</y> <width>60</width> <height>50</height> </rect> </property> <property name="font"> <font> <pointsize>14</pointsize> <weight>75</weight> <bold>true</bold> </font> </property> <property name="styleSheet"> <string notr="true">background-color: rgb(163, 163, 163);</string> </property> <property name="text"> <string>/</string> </property> </widget> </widget> </widget> <resources/> <connections/> </ui>