ED_LRR/.qt_for_python/uic/widget_route.py

80 lines
3.3 KiB
Python

# -*- coding: utf-8 -*-
################################################################################
## Form generated from reading UI file 'widget_route.ui'
##
## Created by: Qt User Interface Compiler version 5.15.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
from PySide2.QtCore import *
from PySide2.QtGui import *
from PySide2.QtWidgets import *
class Ui_diag_route(object):
def setupUi(self, diag_route):
if not diag_route.objectName():
diag_route.setObjectName(u"diag_route")
diag_route.setWindowModality(Qt.WindowModal)
diag_route.resize(430, 300)
self.layout_main = QGridLayout(diag_route)
self.layout_main.setObjectName(u"layout_main")
self.layout_top = QGridLayout()
self.layout_top.setObjectName(u"layout_top")
self.lst_route = QTreeWidget(diag_route)
self.lst_route.setObjectName(u"lst_route")
self.lst_route.setProperty("showDropIndicator", False)
self.lst_route.setDefaultDropAction(Qt.IgnoreAction)
self.lst_route.setAlternatingRowColors(True)
self.lst_route.setSelectionMode(QAbstractItemView.NoSelection)
self.lst_route.setVerticalScrollMode(QAbstractItemView.ScrollPerItem)
self.lst_route.setHorizontalScrollMode(QAbstractItemView.ScrollPerPixel)
self.lst_route.setItemsExpandable(False)
self.lst_route.setAllColumnsShowFocus(False)
self.layout_top.addWidget(self.lst_route, 0, 0, 1, 1)
self.layout_main.addLayout(self.layout_top, 0, 0, 1, 1)
self.layout_bottom = QGridLayout()
self.layout_bottom.setObjectName(u"layout_bottom")
self.chk_copy = QCheckBox(diag_route)
self.chk_copy.setObjectName(u"chk_copy")
self.layout_bottom.addWidget(self.chk_copy, 1, 0, 1, 1)
self.btn_close = QPushButton(diag_route)
self.btn_close.setObjectName(u"btn_close")
self.layout_bottom.addWidget(self.btn_close, 1, 2, 1, 1)
self.btn_export = QPushButton(diag_route)
self.btn_export.setObjectName(u"btn_export")
self.layout_bottom.addWidget(self.btn_export, 1, 1, 1, 1)
self.layout_main.addLayout(self.layout_bottom, 1, 0, 1, 1)
self.retranslateUi(diag_route)
QMetaObject.connectSlotsByName(diag_route)
# setupUi
def retranslateUi(self, diag_route):
diag_route.setWindowTitle(QCoreApplication.translate("diag_route", u"Route", None))
___qtreewidgetitem = self.lst_route.headerItem()
___qtreewidgetitem.setText(3, QCoreApplication.translate("diag_route", u"Distance (Ls)", None));
___qtreewidgetitem.setText(2, QCoreApplication.translate("diag_route", u"Body", None));
___qtreewidgetitem.setText(1, QCoreApplication.translate("diag_route", u"System", None));
___qtreewidgetitem.setText(0, QCoreApplication.translate("diag_route", u"Num", None));
self.chk_copy.setText(QCoreApplication.translate("diag_route", u"Auto-copy next hop to clipboard", None))
self.btn_close.setText(QCoreApplication.translate("diag_route", u"Close", None))
self.btn_export.setText(QCoreApplication.translate("diag_route", u"Export", None))
# retranslateUi