2 Star 0 Fork 1

seraph2047/excel2json

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
UiTreeView.py 1.99 KB
一键复制 编辑 原始数据 按行查看 历史
seraph2047 提交于 2022-07-30 14:03 . 优化整个UI结构
# -*- coding: utf-8 -*-
################################################################################
## Form generated from reading UI file 'treeview.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_TreeViewDialog(object):
def setupUi(self, TreeViewDialog):
if not TreeViewDialog.objectName():
TreeViewDialog.setObjectName(u"TreeViewDialog")
TreeViewDialog.setWindowModality(Qt.WindowModal)
TreeViewDialog.resize(400, 360)
self.verticalLayout = QVBoxLayout(TreeViewDialog)
self.verticalLayout.setSpacing(1)
self.verticalLayout.setObjectName(u"verticalLayout")
self.verticalLayout.setContentsMargins(1, 1, 1, 1)
self.treeWidget = QTreeWidget(TreeViewDialog)
__qtreewidgetitem = QTreeWidgetItem()
__qtreewidgetitem.setText(0, u"1");
self.treeWidget.setHeaderItem(__qtreewidgetitem)
self.treeWidget.setObjectName(u"treeWidget")
sizePolicy = QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(3)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.treeWidget.sizePolicy().hasHeightForWidth())
self.treeWidget.setSizePolicy(sizePolicy)
self.treeWidget.setMinimumSize(QSize(202, 0))
self.treeWidget.setFrameShape(QFrame.WinPanel)
self.treeWidget.header().setVisible(False)
self.verticalLayout.addWidget(self.treeWidget)
self.retranslateUi(TreeViewDialog)
QMetaObject.connectSlotsByName(TreeViewDialog)
# setupUi
def retranslateUi(self, TreeViewDialog):
TreeViewDialog.setWindowTitle(QCoreApplication.translate("TreeViewDialog", u"\u6570\u636e\u7ed3\u6784", None))
# retranslateUi
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/seraph2047/excel2json.git
git@gitee.com:seraph2047/excel2json.git
seraph2047
excel2json
excel2json
master

搜索帮助