Punov/Project/ui/device.ui

179 lines
4.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Device</class>
<widget class="QWidget" name="Device">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>506</width>
<height>374</height>
</rect>
</property>
<property name="font">
<font>
<family>Ubuntu</family>
<pointsize>-1</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="windowTitle">
<string>none</string>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">background-color:rgb(35,39,42);
color:white;
font-size:16px;
label{
font:bold}</string>
</property>
<widget class="QWidget" name="gridLayoutWidget">
<property name="geometry">
<rect>
<x>40</x>
<y>20</y>
<width>431</width>
<height>341</height>
</rect>
</property>
<layout class="QGridLayout" name="device_params_grid">
<item row="0" column="0" colspan="2">
<widget class="QLabel" name="device_params_label">
<property name="styleSheet">
<string notr="true">font-size:20px;
font:bold;
border:1px solid white;
border-radius:10px;</string>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Параметры устройства&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="status_label">
<property name="styleSheet">
<string notr="true">font:bold;
font-size:16px;</string>
</property>
<property name="text">
<string>Статус устройства</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="device_status">
<property name="toolTip">
<string/>
</property>
<property name="styleSheet">
<string notr="true">font-size:16px;</string>
</property>
<property name="text">
<string>none</string>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="baud_rate_label">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>235</horstretch>
<verstretch>57</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">font:bold;</string>
</property>
<property name="text">
<string>Скорость передачи данных (ред.)</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLabel" name="device_name">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">font-size:16px;</string>
</property>
<property name="text">
<string>none</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="name_label">
<property name="styleSheet">
<string notr="true">font:bold;
font-size:16px;</string>
</property>
<property name="text">
<string>Название устройства</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QLineEdit" name="baud_rate_edit">
<property name="focusPolicy">
<enum>Qt::ClickFocus</enum>
</property>
<property name="styleSheet">
<string notr="true">color:white;
font-size:16px;
border:none;
</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="id_label">
<property name="font">
<font>
<pointsize>-1</pointsize>
<weight>75</weight>
<italic>false</italic>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">font:bold;</string>
</property>
<property name="text">
<string>ID (ред.)</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="id_edit">
<property name="focusPolicy">
<enum>Qt::ClickFocus</enum>
</property>
<property name="styleSheet">
<string notr="true">QLineEdit
{color:white;
font-size:16px;
border:none;
}
</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<resources/>
<connections/>
</ui>