2019-09-28 13:35:30 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
# Form implementation generated from reading ui file 'D:\devel\rust\ed_lrr_gui\ed_lrr_gui\gui\widget_route.ui'
|
|
|
|
#
|
|
|
|
# Created by: PyQt5 UI code generator 5.13.1
|
|
|
|
#
|
|
|
|
# WARNING! All changes made in this file will be lost!
|
|
|
|
|
|
|
|
|
|
|
|
from PyQt5 import QtCore, QtGui, QtWidgets
|
|
|
|
|
|
|
|
|
2019-09-28 17:28:39 +00:00
|
|
|
class Ui_diag_route(object):
|
|
|
|
def setupUi(self, diag_route):
|
|
|
|
diag_route.setObjectName("diag_route")
|
|
|
|
diag_route.setWindowModality(QtCore.Qt.WindowModal)
|
|
|
|
diag_route.resize(430, 300)
|
|
|
|
self.layout_main = QtWidgets.QGridLayout(diag_route)
|
2019-09-28 13:35:30 +00:00
|
|
|
self.layout_main.setObjectName("layout_main")
|
|
|
|
self.layout_top = QtWidgets.QGridLayout()
|
|
|
|
self.layout_top.setObjectName("layout_top")
|
2019-09-28 17:28:39 +00:00
|
|
|
self.lst_route = QtWidgets.QTreeWidget(diag_route)
|
2019-09-28 13:35:30 +00:00
|
|
|
self.lst_route.setProperty("showDropIndicator", False)
|
|
|
|
self.lst_route.setDefaultDropAction(QtCore.Qt.IgnoreAction)
|
|
|
|
self.lst_route.setAlternatingRowColors(True)
|
|
|
|
self.lst_route.setSelectionMode(QtWidgets.QAbstractItemView.NoSelection)
|
|
|
|
self.lst_route.setVerticalScrollMode(QtWidgets.QAbstractItemView.ScrollPerItem)
|
2019-09-28 19:23:19 +00:00
|
|
|
self.lst_route.setHorizontalScrollMode(
|
|
|
|
QtWidgets.QAbstractItemView.ScrollPerPixel
|
|
|
|
)
|
2019-09-28 13:35:30 +00:00
|
|
|
self.lst_route.setItemsExpandable(False)
|
|
|
|
self.lst_route.setAllColumnsShowFocus(False)
|
|
|
|
self.lst_route.setObjectName("lst_route")
|
|
|
|
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 = QtWidgets.QGridLayout()
|
|
|
|
self.layout_bottom.setObjectName("layout_bottom")
|
2019-09-28 17:28:39 +00:00
|
|
|
self.chk_copy = QtWidgets.QCheckBox(diag_route)
|
2019-09-28 13:35:30 +00:00
|
|
|
self.chk_copy.setObjectName("chk_copy")
|
|
|
|
self.layout_bottom.addWidget(self.chk_copy, 1, 0, 1, 1)
|
2019-09-28 17:28:39 +00:00
|
|
|
self.btn_close = QtWidgets.QPushButton(diag_route)
|
|
|
|
self.btn_close.setObjectName("btn_close")
|
|
|
|
self.layout_bottom.addWidget(self.btn_close, 1, 2, 1, 1)
|
|
|
|
self.btn_export = QtWidgets.QPushButton(diag_route)
|
|
|
|
self.btn_export.setObjectName("btn_export")
|
|
|
|
self.layout_bottom.addWidget(self.btn_export, 1, 1, 1, 1)
|
2019-09-28 13:35:30 +00:00
|
|
|
self.layout_main.addLayout(self.layout_bottom, 1, 0, 1, 1)
|
|
|
|
|
2019-09-28 17:28:39 +00:00
|
|
|
self.retranslateUi(diag_route)
|
|
|
|
QtCore.QMetaObject.connectSlotsByName(diag_route)
|
2019-09-28 13:35:30 +00:00
|
|
|
|
2019-09-28 17:28:39 +00:00
|
|
|
def retranslateUi(self, diag_route):
|
2019-09-28 13:35:30 +00:00
|
|
|
_translate = QtCore.QCoreApplication.translate
|
2019-09-28 17:28:39 +00:00
|
|
|
diag_route.setWindowTitle(_translate("diag_route", "Route"))
|
|
|
|
self.lst_route.headerItem().setText(0, _translate("diag_route", "Num"))
|
|
|
|
self.lst_route.headerItem().setText(1, _translate("diag_route", "System"))
|
|
|
|
self.lst_route.headerItem().setText(2, _translate("diag_route", "Body"))
|
2019-09-28 19:23:19 +00:00
|
|
|
self.lst_route.headerItem().setText(
|
|
|
|
3, _translate("diag_route", "Distance (Ls)")
|
|
|
|
)
|
|
|
|
self.chk_copy.setText(
|
|
|
|
_translate("diag_route", "Auto-copy next hop to clipboard")
|
|
|
|
)
|
2019-09-28 17:28:39 +00:00
|
|
|
self.btn_close.setText(_translate("diag_route", "Close"))
|
|
|
|
self.btn_export.setText(_translate("diag_route", "Export"))
|