From 0fabd772b714ac61c4f0656ca9f2ebf482a382ac Mon Sep 17 00:00:00 2001 From: vova <matmanskybrik@gmail.com> Date: Sat, 27 May 2023 11:01:43 +0300 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=B3=D1=80=D1=83=D0=B7=D0=B8?= =?UTF-8?q?=D0=BB(=D0=B0)=20=D1=84=D0=B0=D0=B9=D0=BB=D1=8B=20=D0=B2=20''?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PyQt_app.ui | 1028 +++++++++++++++++++++++++++++++++++++++++++ переименнование.txt | 30 ++ 2 files changed, 1058 insertions(+) create mode 100644 PyQt_app.ui create mode 100644 переименнование.txt diff --git a/PyQt_app.ui b/PyQt_app.ui new file mode 100644 index 0000000..7ccadba --- /dev/null +++ b/PyQt_app.ui @@ -0,0 +1,1028 @@ +<?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>1185</width> + <height>622</height> + </rect> + </property> + <property name="minimumSize"> + <size> + <width>1185</width> + <height>622</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>1185</width> + <height>622</height> + </size> + </property> + <property name="windowTitle"> + <string>IoT pgrm v0_1_13</string> + </property> + <widget class="QWidget" name="centralwidget"> + <widget class="QPushButton" name="pushButton_send_post"> + <property name="geometry"> + <rect> + <x>1050</x> + <y>10</y> + <width>101</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string>SEND Post</string> + </property> + </widget> + <widget class="QLabel" name="label_url"> + <property name="geometry"> + <rect> + <x>10</x> + <y>0</y> + <width>51</width> + <height>41</height> + </rect> + </property> + <property name="text"> + <string>URL</string> + </property> + </widget> + <widget class="QLineEdit" name="lineEdit"> + <property name="geometry"> + <rect> + <x>50</x> + <y>10</y> + <width>981</width> + <height>21</height> + </rect> + </property> + </widget> + <widget class="QLabel" name="label_message"> + <property name="geometry"> + <rect> + <x>10</x> + <y>40</y> + <width>71</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Body message</string> + </property> + </widget> + <widget class="QLCDNumber" name="lcdNumber"> + <property name="geometry"> + <rect> + <x>550</x> + <y>190</y> + <width>141</width> + <height>41</height> + </rect> + </property> + <property name="frameShape"> + <enum>QFrame::Box</enum> + </property> + <property name="value" stdset="0"> + <double>5.000000000000000</double> + </property> + </widget> + <widget class="QLabel" name="label_temp"> + <property name="geometry"> + <rect> + <x>310</x> + <y>190</y> + <width>211</width> + <height>41</height> + </rect> + </property> + <property name="font"> + <font> + <pointsize>14</pointsize> + <weight>75</weight> + <bold>true</bold> + </font> + </property> + <property name="text"> + <string>Температура</string> + </property> + <property name="textFormat"> + <enum>Qt::AutoText</enum> + </property> + <property name="scaledContents"> + <bool>false</bool> + </property> + </widget> + <widget class="QLCDNumber" name="lcdNumber_2"> + <property name="geometry"> + <rect> + <x>540</x> + <y>470</y> + <width>81</width> + <height>20</height> + </rect> + </property> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="toolTip"> + <string><html><head/><body><p><br/></p></body></html></string> + </property> + <property name="styleSheet"> + <string notr="true">QLCDNumber { color: black; }</string> + </property> + <property name="frameShape"> + <enum>QFrame::Box</enum> + </property> + <property name="segmentStyle"> + <enum>QLCDNumber::Flat</enum> + </property> + <property name="value" stdset="0"> + <double>5.000000000000000</double> + </property> + </widget> + <widget class="QLCDNumber" name="lcdNumber_3"> + <property name="geometry"> + <rect> + <x>620</x> + <y>470</y> + <width>81</width> + <height>20</height> + </rect> + </property> + <property name="styleSheet"> + <string notr="true">color: rgb(0, 0, 0);</string> + </property> + <property name="segmentStyle"> + <enum>QLCDNumber::Flat</enum> + </property> + <property name="value" stdset="0"> + <double>5.000000000000000</double> + </property> + </widget> + <widget class="QLCDNumber" name="lcdNumber_4"> + <property name="geometry"> + <rect> + <x>700</x> + <y>470</y> + <width>81</width> + <height>20</height> + </rect> + </property> + <property name="smallDecimalPoint"> + <bool>false</bool> + </property> + <property name="segmentStyle"> + <enum>QLCDNumber::Flat</enum> + </property> + </widget> + <widget class="QLabel" name="label_r"> + <property name="geometry"> + <rect> + <x>570</x> + <y>500</y> + <width>47</width> + <height>13</height> + </rect> + </property> + <property name="text"> + <string>R</string> + </property> + </widget> + <widget class="QLabel" name="label_g"> + <property name="geometry"> + <rect> + <x>650</x> + <y>500</y> + <width>47</width> + <height>13</height> + </rect> + </property> + <property name="text"> + <string>G</string> + </property> + </widget> + <widget class="QLabel" name="label_b"> + <property name="geometry"> + <rect> + <x>730</x> + <y>500</y> + <width>47</width> + <height>13</height> + </rect> + </property> + <property name="text"> + <string>B</string> + </property> + </widget> + <widget class="QLabel" name="off_1"> + <property name="geometry"> + <rect> + <x>804</x> + <y>100</y> + <width>61</width> + <height>51</height> + </rect> + </property> + <property name="text"> + <string/> + </property> + <property name="pixmap"> + <pixmap resource="../res/Res.qrc">:/img/off.svg</pixmap> + </property> + <property name="scaledContents"> + <bool>true</bool> + </property> + </widget> + <widget class="QLabel" name="on_1"> + <property name="geometry"> + <rect> + <x>804</x> + <y>100</y> + <width>61</width> + <height>51</height> + </rect> + </property> + <property name="text"> + <string/> + </property> + <property name="pixmap"> + <pixmap resource="../res/Res.qrc">:/img/ON.svg</pixmap> + </property> + <property name="scaledContents"> + <bool>true</bool> + </property> + </widget> + <widget class="QLabel" name="label_sensor_megalka1"> + <property name="geometry"> + <rect> + <x>390</x> + <y>70</y> + <width>61</width> + <height>61</height> + </rect> + </property> + <property name="text"> + <string/> + </property> + <property name="pixmap"> + <pixmap resource="../res/Res.qrc">:/img/led_on.svg</pixmap> + </property> + <property name="scaledContents"> + <bool>true</bool> + </property> + </widget> + <widget class="QLabel" name="label_sensor_print1"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="geometry"> + <rect> + <x>390</x> + <y>70</y> + <width>61</width> + <height>61</height> + </rect> + </property> + <property name="text"> + <string/> + </property> + <property name="pixmap"> + <pixmap resource="../res/Res.qrc">:/img/led_off.svg</pixmap> + </property> + <property name="scaledContents"> + <bool>true</bool> + </property> + </widget> + <widget class="QPushButton" name="pushButton_sensor1"> + <property name="geometry"> + <rect> + <x>390</x> + <y>140</y> + <width>71</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string>Вкл</string> + </property> + </widget> + <widget class="QPushButton" name="pushButton_sensor2"> + <property name="geometry"> + <rect> + <x>480</x> + <y>140</y> + <width>71</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string>Вкл</string> + </property> + </widget> + <widget class="QLabel" name="label_sensor_megalka2"> + <property name="geometry"> + <rect> + <x>480</x> + <y>70</y> + <width>61</width> + <height>61</height> + </rect> + </property> + <property name="text"> + <string/> + </property> + <property name="pixmap"> + <pixmap resource="../res/Res.qrc">:/img/led_on.svg</pixmap> + </property> + <property name="scaledContents"> + <bool>true</bool> + </property> + </widget> + <widget class="QLabel" name="label_sensor_print2"> + <property name="geometry"> + <rect> + <x>480</x> + <y>70</y> + <width>61</width> + <height>61</height> + </rect> + </property> + <property name="text"> + <string/> + </property> + <property name="pixmap"> + <pixmap resource="../res/Res.qrc">:/img/led_off.svg</pixmap> + </property> + <property name="scaledContents"> + <bool>true</bool> + </property> + </widget> + <widget class="QPushButton" name="pushButton_sensor3"> + <property name="geometry"> + <rect> + <x>570</x> + <y>140</y> + <width>71</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string>Вкл</string> + </property> + </widget> + <widget class="QLabel" name="label_sensor_megalka3"> + <property name="geometry"> + <rect> + <x>570</x> + <y>70</y> + <width>61</width> + <height>61</height> + </rect> + </property> + <property name="text"> + <string/> + </property> + <property name="pixmap"> + <pixmap resource="../res/Res.qrc">:/img/led_on.svg</pixmap> + </property> + <property name="scaledContents"> + <bool>true</bool> + </property> + </widget> + <widget class="QLabel" name="label_sensor_print3 "> + <property name="geometry"> + <rect> + <x>570</x> + <y>70</y> + <width>61</width> + <height>61</height> + </rect> + </property> + <property name="text"> + <string/> + </property> + <property name="pixmap"> + <pixmap resource="../res/Res.qrc">:/img/led_off.svg</pixmap> + </property> + <property name="scaledContents"> + <bool>true</bool> + </property> + </widget> + <widget class="QLabel" name="off_2"> + <property name="geometry"> + <rect> + <x>904</x> + <y>100</y> + <width>61</width> + <height>51</height> + </rect> + </property> + <property name="text"> + <string/> + </property> + <property name="pixmap"> + <pixmap resource="../res/Res.qrc">:/img/off.svg</pixmap> + </property> + <property name="scaledContents"> + <bool>true</bool> + </property> + </widget> + <widget class="QLabel" name="on_2"> + <property name="geometry"> + <rect> + <x>904</x> + <y>100</y> + <width>61</width> + <height>51</height> + </rect> + </property> + <property name="text"> + <string/> + </property> + <property name="pixmap"> + <pixmap resource="../res/Res.qrc">:/img/ON.svg</pixmap> + </property> + <property name="scaledContents"> + <bool>true</bool> + </property> + </widget> + <widget class="QLabel" name="off_3"> + <property name="geometry"> + <rect> + <x>994</x> + <y>100</y> + <width>61</width> + <height>51</height> + </rect> + </property> + <property name="text"> + <string/> + </property> + <property name="pixmap"> + <pixmap resource="../res/Res.qrc">:/img/off.svg</pixmap> + </property> + <property name="scaledContents"> + <bool>true</bool> + </property> + </widget> + <widget class="QLabel" name="on_3"> + <property name="geometry"> + <rect> + <x>994</x> + <y>100</y> + <width>61</width> + <height>51</height> + </rect> + </property> + <property name="text"> + <string/> + </property> + <property name="pixmap"> + <pixmap resource="../res/Res.qrc">:/img/ON.svg</pixmap> + </property> + <property name="scaledContents"> + <bool>true</bool> + </property> + </widget> + <widget class="QLabel" name="label_pressure"> + <property name="geometry"> + <rect> + <x>310</x> + <y>260</y> + <width>211</width> + <height>41</height> + </rect> + </property> + <property name="font"> + <font> + <pointsize>14</pointsize> + <weight>75</weight> + <bold>true</bold> + </font> + </property> + <property name="text"> + <string>Давление</string> + </property> + </widget> + <widget class="QLCDNumber" name="lcd_pressure"> + <property name="geometry"> + <rect> + <x>550</x> + <y>260</y> + <width>141</width> + <height>41</height> + </rect> + </property> + <property name="frameShape"> + <enum>QFrame::Box</enum> + </property> + <property name="value" stdset="0"> + <double>5.000000000000000</double> + </property> + </widget> + <widget class="QLCDNumber" name="lcdNumber_7"> + <property name="geometry"> + <rect> + <x>550</x> + <y>330</y> + <width>141</width> + <height>41</height> + </rect> + </property> + <property name="frameShape"> + <enum>QFrame::Box</enum> + </property> + <property name="value" stdset="0"> + <double>5.000000000000000</double> + </property> + </widget> + <widget class="QLabel" name="label_illumination"> + <property name="geometry"> + <rect> + <x>310</x> + <y>330</y> + <width>211</width> + <height>41</height> + </rect> + </property> + <property name="font"> + <font> + <pointsize>14</pointsize> + <weight>75</weight> + <bold>true</bold> + </font> + </property> + <property name="text"> + <string>Освещенность</string> + </property> + </widget> + <widget class="QLCDNumber" name="lcdNumber_8"> + <property name="geometry"> + <rect> + <x>550</x> + <y>400</y> + <width>141</width> + <height>41</height> + </rect> + </property> + <property name="frameShape"> + <enum>QFrame::Box</enum> + </property> + <property name="value" stdset="0"> + <double>5.000000000000000</double> + </property> + </widget> + <widget class="QLabel" name="label_illumination2"> + <property name="geometry"> + <rect> + <x>310</x> + <y>400</y> + <width>211</width> + <height>41</height> + </rect> + </property> + <property name="font"> + <font> + <pointsize>14</pointsize> + <weight>75</weight> + <bold>true</bold> + </font> + </property> + <property name="text"> + <string>Освещенность</string> + </property> + </widget> + <widget class="QLabel" name="label_accelorometer"> + <property name="geometry"> + <rect> + <x>310</x> + <y>520</y> + <width>211</width> + <height>41</height> + </rect> + </property> + <property name="font"> + <font> + <pointsize>14</pointsize> + <weight>75</weight> + <bold>true</bold> + </font> + </property> + <property name="text"> + <string>Акселлерометр</string> + </property> + </widget> + <widget class="QPushButton" name="vkl_b"> + <property name="geometry"> + <rect> + <x>1099</x> + <y>482</y> + <width>75</width> + <height>23</height> + </rect> + </property> + <property name="text"> + <string>Вкл</string> + </property> + </widget> + <widget class="QPushButton" name="vikl_b"> + <property name="geometry"> + <rect> + <x>1099</x> + <y>512</y> + <width>75</width> + <height>23</height> + </rect> + </property> + <property name="text"> + <string>Выкл</string> + </property> + </widget> + <widget class="QPushButton" name="color_b"> + <property name="geometry"> + <rect> + <x>1099</x> + <y>542</y> + <width>75</width> + <height>23</height> + </rect> + </property> + <property name="text"> + <string>Цвет</string> + </property> + </widget> + <widget class="QLabel" name="leds1"> + <property name="geometry"> + <rect> + <x>1130</x> + <y>183</y> + <width>16</width> + <height>16</height> + </rect> + </property> + <property name="mouseTracking"> + <bool>false</bool> + </property> + <property name="tabletTracking"> + <bool>true</bool> + </property> + <property name="focusPolicy"> + <enum>Qt::NoFocus</enum> + </property> + <property name="autoFillBackground"> + <bool>false</bool> + </property> + <property name="styleSheet"> + <string notr="true">QLabel:pressed + { + border: 2px solid red; +}</string> + </property> + <property name="frameShape"> + <enum>QFrame::Panel</enum> + </property> + <property name="text"> + <string/> + </property> + </widget> + <widget class="QLabel" name="leds2"> + <property name="geometry"> + <rect> + <x>1130</x> + <y>221</y> + <width>16</width> + <height>16</height> + </rect> + </property> + <property name="autoFillBackground"> + <bool>true</bool> + </property> + <property name="frameShape"> + <enum>QFrame::Panel</enum> + </property> + <property name="text"> + <string/> + </property> + </widget> + <widget class="QLabel" name="leds3"> + <property name="geometry"> + <rect> + <x>1130</x> + <y>259</y> + <width>16</width> + <height>16</height> + </rect> + </property> + <property name="autoFillBackground"> + <bool>true</bool> + </property> + <property name="frameShape"> + <enum>QFrame::Panel</enum> + </property> + <property name="text"> + <string/> + </property> + </widget> + <widget class="QLabel" name="leds4"> + <property name="geometry"> + <rect> + <x>1130</x> + <y>297</y> + <width>16</width> + <height>16</height> + </rect> + </property> + <property name="autoFillBackground"> + <bool>true</bool> + </property> + <property name="frameShape"> + <enum>QFrame::Panel</enum> + </property> + <property name="text"> + <string/> + </property> + </widget> + <widget class="QLabel" name="leds5"> + <property name="geometry"> + <rect> + <x>1130</x> + <y>336</y> + <width>16</width> + <height>16</height> + </rect> + </property> + <property name="autoFillBackground"> + <bool>true</bool> + </property> + <property name="frameShape"> + <enum>QFrame::Panel</enum> + </property> + <property name="text"> + <string/> + </property> + </widget> + <widget class="QLabel" name="leds6"> + <property name="geometry"> + <rect> + <x>1130</x> + <y>374</y> + <width>16</width> + <height>16</height> + </rect> + </property> + <property name="autoFillBackground"> + <bool>true</bool> + </property> + <property name="frameShape"> + <enum>QFrame::Panel</enum> + </property> + <property name="text"> + <string/> + </property> + </widget> + <widget class="QLabel" name="leds7"> + <property name="geometry"> + <rect> + <x>1130</x> + <y>412</y> + <width>16</width> + <height>16</height> + </rect> + </property> + <property name="autoFillBackground"> + <bool>true</bool> + </property> + <property name="frameShape"> + <enum>QFrame::Panel</enum> + </property> + <property name="text"> + <string/> + </property> + </widget> + <widget class="QLabel" name="leds8"> + <property name="geometry"> + <rect> + <x>1130</x> + <y>450</y> + <width>16</width> + <height>16</height> + </rect> + </property> + <property name="autoFillBackground"> + <bool>true</bool> + </property> + <property name="frameShape"> + <enum>QFrame::Panel</enum> + </property> + <property name="text"> + <string/> + </property> + </widget> + <widget class="QWidget" name="plotwidget" native="true"> + <property name="geometry"> + <rect> + <x>740</x> + <y>190</y> + <width>351</width> + <height>251</height> + </rect> + </property> + </widget> + <widget class="QLCDNumber" name="lcdNumber_5"> + <property name="geometry"> + <rect> + <x>540</x> + <y>530</y> + <width>81</width> + <height>20</height> + </rect> + </property> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="toolTip"> + <string><html><head/><body><p><br/></p></body></html></string> + </property> + <property name="styleSheet"> + <string notr="true">QLCDNumber { color: black; }</string> + </property> + <property name="frameShape"> + <enum>QFrame::Box</enum> + </property> + <property name="segmentStyle"> + <enum>QLCDNumber::Flat</enum> + </property> + </widget> + <widget class="QLCDNumber" name="lcdNumber_6"> + <property name="geometry"> + <rect> + <x>700</x> + <y>530</y> + <width>81</width> + <height>20</height> + </rect> + </property> + <property name="smallDecimalPoint"> + <bool>false</bool> + </property> + <property name="segmentStyle"> + <enum>QLCDNumber::Flat</enum> + </property> + </widget> + <widget class="QLCDNumber" name="lcdNumber_9"> + <property name="geometry"> + <rect> + <x>620</x> + <y>530</y> + <width>81</width> + <height>20</height> + </rect> + </property> + <property name="styleSheet"> + <string notr="true">color: rgb(0, 0, 0);</string> + </property> + <property name="segmentStyle"> + <enum>QLCDNumber::Flat</enum> + </property> + </widget> + <widget class="QLabel" name="label_rgb_illumination"> + <property name="geometry"> + <rect> + <x>310</x> + <y>460</y> + <width>211</width> + <height>41</height> + </rect> + </property> + <property name="font"> + <font> + <pointsize>14</pointsize> + <weight>75</weight> + <bold>true</bold> + </font> + </property> + <property name="text"> + <string>Освещенность</string> + </property> + </widget> + <widget class="QLabel" name="label_x"> + <property name="geometry"> + <rect> + <x>570</x> + <y>560</y> + <width>47</width> + <height>13</height> + </rect> + </property> + <property name="text"> + <string>Х</string> + </property> + </widget> + <widget class="QLabel" name="label_y"> + <property name="geometry"> + <rect> + <x>650</x> + <y>560</y> + <width>47</width> + <height>13</height> + </rect> + </property> + <property name="text"> + <string>Y</string> + </property> + </widget> + <widget class="QLabel" name="label_z"> + <property name="geometry"> + <rect> + <x>730</x> + <y>560</y> + <width>47</width> + <height>13</height> + </rect> + </property> + <property name="text"> + <string>Z</string> + </property> + </widget> + <widget class="QLabel" name="lubel_tumblers"> + <property name="geometry"> + <rect> + <x>900</x> + <y>60</y> + <width>81</width> + <height>20</height> + </rect> + </property> + <property name="font"> + <font> + <family>Times New Roman</family> + <pointsize>12</pointsize> + <weight>75</weight> + <bold>true</bold> + </font> + </property> + <property name="text"> + <string>Тумблеры</string> + </property> + </widget> + <widget class="QTextEdit" name="textEdit"> + <property name="geometry"> + <rect> + <x>10</x> + <y>60</y> + <width>291</width> + <height>531</height> + </rect> + </property> + </widget> + <widget class="QPushButton" name="pushButton_send_get_request"> + <property name="geometry"> + <rect> + <x>1050</x> + <y>50</y> + <width>101</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string>SEND Get request</string> + </property> + </widget> + <widget class="QLineEdit" name="lineEdit_2"> + <property name="geometry"> + <rect> + <x>790</x> + <y>40</y> + <width>241</width> + <height>21</height> + </rect> + </property> + </widget> + </widget> + <widget class="QMenuBar" name="menubar"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>1185</width> + <height>18</height> + </rect> + </property> + </widget> + </widget> + <resources> + <include location="../res/Res.qrc"/> + </resources> + <connections/> +</ui> diff --git a/переименнование.txt b/переименнование.txt new file mode 100644 index 0000000..4d8a4ad --- /dev/null +++ b/переименнование.txt @@ -0,0 +1,30 @@ +label_6 = label_temp +label_13 = label_pressure +label_14 = label_illumination +label_15 = label_illumination2 +label_16 = label_rgb_illumination +label_34 = label_accelorometer +label_4 = lubel_tumblers +label = label_url +label_2 = label_message +label_7 = label_r +label_8 = label_g +label_9 = label_b +label_10 = label_x +label_11 = label_y +label_12 = label_z + +label_24 = label_sensor_print1 +label_27 = label_sensor_print2 +label_31 = label_sensor_print3 +label_20 = label_sensor_megalka1 +label_26 = label_sensor_megalka2 +label_29 = label_sensor_megalka3 + +pushButton = pushButton_send_post +pushButton_5 = pushButton_send_get_request +pushButton_2 = pushButton_sensor1 +pushButton_3 = pushButton_sensor2 +pushButton_4 = pushButton_sensor3 + +