55 lines
2.7 KiB
Python
55 lines
2.7 KiB
Python
# -*- 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
|
|
|
|
|
|
class Ui_Dialog(object):
|
|
def setupUi(self, Dialog):
|
|
Dialog.setObjectName("Dialog")
|
|
Dialog.setWindowModality(QtCore.Qt.WindowModal)
|
|
Dialog.resize(430, 300)
|
|
self.layout_main = QtWidgets.QGridLayout(Dialog)
|
|
self.layout_main.setObjectName("layout_main")
|
|
self.layout_top = QtWidgets.QGridLayout()
|
|
self.layout_top.setObjectName("layout_top")
|
|
self.lst_route = QtWidgets.QTreeWidget(Dialog)
|
|
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)
|
|
self.lst_route.setHorizontalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel)
|
|
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")
|
|
self.chk_copy = QtWidgets.QCheckBox(Dialog)
|
|
self.chk_copy.setObjectName("chk_copy")
|
|
self.layout_bottom.addWidget(self.chk_copy, 1, 0, 1, 1)
|
|
self.pushButton = QtWidgets.QPushButton(Dialog)
|
|
self.pushButton.setObjectName("pushButton")
|
|
self.layout_bottom.addWidget(self.pushButton, 1, 1, 1, 1)
|
|
self.layout_main.addLayout(self.layout_bottom, 1, 0, 1, 1)
|
|
|
|
self.retranslateUi(Dialog)
|
|
QtCore.QMetaObject.connectSlotsByName(Dialog)
|
|
|
|
def retranslateUi(self, Dialog):
|
|
_translate = QtCore.QCoreApplication.translate
|
|
Dialog.setWindowTitle(_translate("Dialog", "Route"))
|
|
self.lst_route.headerItem().setText(0, _translate("Dialog", "Num"))
|
|
self.lst_route.headerItem().setText(1, _translate("Dialog", "System"))
|
|
self.lst_route.headerItem().setText(2, _translate("Dialog", "Body"))
|
|
self.lst_route.headerItem().setText(3, _translate("Dialog", "Distance (Ls)"))
|
|
self.chk_copy.setText(_translate("Dialog", "Auto-copy next hop to clipboard"))
|
|
self.pushButton.setText(_translate("Dialog", "Close"))
|