/
Jackmas
/
isr
Обзор
Документация
Войти
/
Jackmas
/
isr
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
client/linux/ui/ui_object_element.ui
872 строки
25 KB
jackmas
20102025_7
20 окт 2025, 11:29
20 окт 2025, 11:29
f911ab3
Код
Авторство
О чём код?
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>Obj_form</class> <widget class="QWidget" name="Obj_form"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>1030</width> <height>571</height> </rect> </property> <property name="minimumSize"> <size> <width>0</width> <height>500</height> </size> </property> <property name="windowTitle"> <string>Form</string> </property> <property name="styleSheet"> <string notr="true"/> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <layout class="QHBoxLayout" name="horizontalLayout_5"> <item> <widget class="QPushButton" name="btn_save_close"> <property name="minimumSize"> <size> <width>170</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>170</width> <height>16777215</height> </size> </property> <property name="text"> <string>Сохранить и Закрыть</string> </property> <property name="icon"> <iconset> <normaloff>../img/save.png</normaloff>../img/save.png</iconset> </property> </widget> </item> <item> <widget class="QPushButton" name="btn_save"> <property name="minimumSize"> <size> <width>120</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>170</width> <height>16777215</height> </size> </property> <property name="text"> <string>Сохранить</string> </property> <property name="icon"> <iconset> <normaloff>../img/save.png</normaloff>../img/save.png</iconset> </property> </widget> </item> <item> <spacer name="horizontalSpacer_19"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="btn_i"> <property name="minimumSize"> <size> <width>30</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>30</width> <height>16777215</height> </size> </property> <property name="toolTip"> <string>История</string> </property> <property name="text"> <string/> </property> <property name="icon"> <iconset> <normaloff>../img/info.png</normaloff>../img/info.png</iconset> </property> </widget> </item> </layout> </item> <item> <layout class="QGridLayout" name="gridLayout_2"> <item row="1" column="1"> <widget class="QLineEdit" name="inp_name"> <property name="minimumSize"> <size> <width>610</width> <height>27</height> </size> </property> <property name="maximumSize"> <size> <width>610</width> <height>27</height> </size> </property> <property name="styleSheet"> <string notr="true"/> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="l_up_10"> <property name="minimumSize"> <size> <width>170</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>170</width> <height>16777215</height> </size> </property> <property name="font"> <font> <weight>75</weight> <bold>true</bold> </font> </property> <property name="text"> <string>Краткое название объекта:</string> </property> </widget> </item> <item row="0" column="0"> <widget class="QLabel" name="l_up_7"> <property name="minimumSize"> <size> <width>150</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>150</width> <height>16777215</height> </size> </property> <property name="text"> <string>Код:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QLineEdit" name="inp_code"> <property name="minimumSize"> <size> <width>150</width> <height>27</height> </size> </property> <property name="maximumSize"> <size> <width>150</width> <height>27</height> </size> </property> <property name="styleSheet"> <string notr="true"/> </property> <property name="readOnly"> <bool>true</bool> </property> </widget> </item> <item row="0" column="2"> <spacer name="horizontalSpacer_6"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item row="1" column="2"> <spacer name="horizontalSpacer_7"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> <item> <widget class="QTabWidget" name="tab_main"> <property name="currentIndex"> <number>0</number> </property> <widget class="QWidget" name="tab_3"> <attribute name="title"> <string>Реквизиты</string> </attribute> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <layout class="QGridLayout" name="gridLayout"> <item row="6" column="0"> <widget class="QLabel" name="l_up_6"> <property name="minimumSize"> <size> <width>200</width> <height>50</height> </size> </property> <property name="maximumSize"> <size> <width>200</width> <height>50</height> </size> </property> <property name="font"> <font> <weight>75</weight> <bold>true</bold> </font> </property> <property name="text"> <string>Наименование объекта полное:</string> </property> </widget> </item> <item row="5" column="1"> <widget class="QLineEdit" name="inp_reg"> <property name="minimumSize"> <size> <width>350</width> <height>30</height> </size> </property> <property name="maximumSize"> <size> <width>350</width> <height>16777215</height> </size> </property> <property name="styleSheet"> <string notr="true"/> </property> <property name="readOnly"> <bool>true</bool> </property> </widget> </item> <item row="9" column="1"> <widget class="QPlainTextEdit" name="plain_adr"> <property name="maximumSize"> <size> <width>16777215</width> <height>11111</height> </size> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="l_up_5"> <property name="maximumSize"> <size> <width>200</width> <height>16777215</height> </size> </property> <property name="font"> <font> <weight>75</weight> <bold>true</bold> </font> </property> <property name="text"> <string>Договор продажи:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QDateEdit" name="dt_start"> <property name="minimumSize"> <size> <width>120</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>120</width> <height>16777215</height> </size> </property> <property name="buttonSymbols"> <enum>QAbstractSpinBox::NoButtons</enum> </property> <property name="dateTime"> <datetime> <hour>0</hour> <minute>0</minute> <second>0</second> <year>2025</year> <month>1</month> <day>1</day> </datetime> </property> <property name="calendarPopup"> <bool>true</bool> </property> </widget> </item> <item row="1" column="1"> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QDateEdit" name="dt_end"> <property name="minimumSize"> <size> <width>120</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>120</width> <height>16777215</height> </size> </property> <property name="buttonSymbols"> <enum>QAbstractSpinBox::NoButtons</enum> </property> <property name="dateTime"> <datetime> <hour>0</hour> <minute>0</minute> <second>0</second> <year>2077</year> <month>1</month> <day>1</day> </datetime> </property> <property name="calendarPopup"> <bool>true</bool> </property> </widget> </item> <item> <spacer name="horizontalSpacer"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> <item row="1" column="0"> <widget class="QLabel" name="l_start_3"> <property name="minimumSize"> <size> <width>150</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>150</width> <height>16777215</height> </size> </property> <property name="text"> <string>Дата окончания р.периода:</string> </property> </widget> </item> <item row="0" column="0"> <widget class="QLabel" name="l_start_2"> <property name="minimumSize"> <size> <width>150</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>150</width> <height>16777215</height> </size> </property> <property name="text"> <string>Дата начала р.периода:</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QLineEdit" name="inp_dog"> <property name="minimumSize"> <size> <width>450</width> <height>30</height> </size> </property> <property name="maximumSize"> <size> <width>450</width> <height>16777215</height> </size> </property> <property name="styleSheet"> <string notr="true"/> </property> <property name="readOnly"> <bool>true</bool> </property> </widget> </item> <item row="9" column="0"> <widget class="QLabel" name="l_up_11"> <property name="minimumSize"> <size> <width>200</width> <height>50</height> </size> </property> <property name="maximumSize"> <size> <width>200</width> <height>16777215</height> </size> </property> <property name="text"> <string>Адрес расположения:</string> </property> </widget> </item> <item row="6" column="1"> <widget class="QPlainTextEdit" name="plain_fullname"> <property name="minimumSize"> <size> <width>500</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>16777215</width> <height>11111</height> </size> </property> </widget> </item> <item row="5" column="0"> <widget class="QLabel" name="l_up_14"> <property name="maximumSize"> <size> <width>200</width> <height>16777215</height> </size> </property> <property name="font"> <font> <weight>75</weight> <bold>true</bold> </font> </property> <property name="text"> <string>Регион:</string> </property> </widget> </item> </layout> </item> <item> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>55</height> </size> </property> </spacer> </item> </layout> </widget> <widget class="QWidget" name="tab"> <attribute name="title"> <string>Мощность</string> </attribute> <layout class="QVBoxLayout" name="verticalLayout_3"> <item> <layout class="QGridLayout" name="gridLayout_3"> <item row="5" column="0"> <widget class="QCheckBox" name="chk_obj_sale"> <property name="text"> <string>Использовать на объект</string> </property> <property name="checked"> <bool>true</bool> </property> </widget> </item> <item row="7" column="0"> <widget class="QLabel" name="l_up_21"> <property name="minimumSize"> <size> <width>250</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>200</width> <height>30</height> </size> </property> <property name="font"> <font> <pointsize>10</pointsize> <weight>75</weight> <bold>true</bold> </font> </property> <property name="text"> <string>Покупка:</string> </property> </widget> </item> <item row="9" column="0"> <widget class="QLabel" name="l_up_20"> <property name="minimumSize"> <size> <width>250</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>200</width> <height>16777215</height> </size> </property> <property name="text"> <string>Максимальная мощность объекта:</string> </property> </widget> </item> <item row="10" column="2"> <widget class="QPlainTextEdit" name="plain_prim"> <property name="minimumSize"> <size> <width>400</width> <height>50</height> </size> </property> <property name="maximumSize"> <size> <width>111111</width> <height>111111</height> </size> </property> </widget> </item> <item row="8" column="0"> <widget class="QCheckBox" name="chk_obj_buy"> <property name="text"> <string>Использовать на объект</string> </property> </widget> </item> <item row="10" column="0"> <widget class="QLabel" name="l_up_18"> <property name="minimumSize"> <size> <width>250</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>200</width> <height>16777215</height> </size> </property> <property name="text"> <string>Примечание:</string> </property> </widget> </item> <item row="6" column="0"> <widget class="QLabel" name="l_up_19"> <property name="minimumSize"> <size> <width>250</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>200</width> <height>16777215</height> </size> </property> <property name="text"> <string>Максимальная мощность объекта:</string> </property> </widget> </item> <item row="9" column="2"> <widget class="QDoubleSpinBox" name="int_power_buy"> <property name="maximumSize"> <size> <width>100</width> <height>16777215</height> </size> </property> <property name="decimals"> <number>2</number> </property> <property name="maximum"> <double>99999999.000000000000000</double> </property> </widget> </item> <item row="6" column="2"> <widget class="QDoubleSpinBox" name="int_power_sale"> <property name="maximumSize"> <size> <width>100</width> <height>16777215</height> </size> </property> <property name="decimals"> <number>2</number> </property> <property name="maximum"> <double>99999999.000000000000000</double> </property> </widget> </item> <item row="4" column="0"> <widget class="QLabel" name="l_up_16"> <property name="minimumSize"> <size> <width>250</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>200</width> <height>30</height> </size> </property> <property name="font"> <font> <pointsize>10</pointsize> <weight>75</weight> <bold>true</bold> </font> </property> <property name="text"> <string>Продажа:</string> </property> </widget> </item> </layout> </item> <item> <spacer name="verticalSpacer_2"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>99</height> </size> </property> </spacer> </item> </layout> </widget> <widget class="QWidget" name="tab_4"> <attribute name="title"> <string>Точки поставки</string> </attribute> <layout class="QVBoxLayout" name="verticalLayout_4"> <item> <layout class="QHBoxLayout" name="horizontalLayout_8"> <item> <widget class="QPushButton" name="btn_add_new_tp"> <property name="minimumSize"> <size> <width>100</width> <height>0</height> </size> </property> <property name="text"> <string>Добавить</string> </property> <property name="icon"> <iconset> <normaloff>../img/add.png</normaloff>../img/add.png</iconset> </property> </widget> </item> <item> <widget class="QPushButton" name="btn_del_tp"> <property name="minimumSize"> <size> <width>100</width> <height>0</height> </size> </property> <property name="text"> <string>Удалить</string> </property> <property name="icon"> <iconset> <normaloff>../img/del.png</normaloff>../img/del.png</iconset> </property> </widget> </item> <item> <spacer name="horizontalSpacer_5"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> <item> <widget class="QTableWidget" name="tbl_tp"> <property name="editTriggers"> <set>QAbstractItemView::NoEditTriggers</set> </property> <property name="selectionMode"> <enum>QAbstractItemView::SingleSelection</enum> </property> <property name="selectionBehavior"> <enum>QAbstractItemView::SelectRows</enum> </property> <property name="sortingEnabled"> <bool>true</bool> </property> <attribute name="horizontalHeaderMinimumSectionSize"> <number>0</number> </attribute> <attribute name="horizontalHeaderStretchLastSection"> <bool>true</bool> </attribute> <column> <property name="text"> <string>id</string> </property> </column> <column> <property name="text"> <string>Код</string> </property> </column> <column> <property name="text"> <string>Наименование</string> </property> </column> <column> <property name="text"> <string>Наименование полное</string> </property> </column> <column> <property name="text"> <string>Адрес</string> </property> </column> <column> <property name="text"> <string>Договор</string> </property> </column> <column> <property name="text"> <string>Дата начала</string> </property> </column> <column> <property name="text"> <string>Дата окончания</string> </property> </column> <column> <property name="text"> <string>Мощность</string> </property> </column> <column> <property name="text"> <string>ТУН</string> </property> </column> <column> <property name="text"> <string>ЦК</string> </property> </column> </widget> </item> </layout> </widget> </widget> </item> </layout> </widget> <resources/> <connections/> </ui>