FlowchartTemplate_pyside.py 2.32 KB
Newer Older
1
2
# -*- coding: utf-8 -*-

3
# Form implementation generated from reading ui file './flowchart/FlowchartTemplate.ui'
4
#
5
6
# Created: Sun Sep  9 14:41:30 2012
#      by: pyside-uic 0.2.13 running on PySide 1.1.0
7
8
9
#
# WARNING! All changes made in this file will be lost!

10
from PySide import QtCore, QtGui
11
12
13

class Ui_Form(object):
    def setupUi(self, Form):
14
        Form.setObjectName("Form")
15
16
17
        Form.resize(529, 329)
        self.selInfoWidget = QtGui.QWidget(Form)
        self.selInfoWidget.setGeometry(QtCore.QRect(260, 10, 264, 222))
18
        self.selInfoWidget.setObjectName("selInfoWidget")
19
        self.gridLayout = QtGui.QGridLayout(self.selInfoWidget)
20
21
        self.gridLayout.setContentsMargins(0, 0, 0, 0)
        self.gridLayout.setObjectName("gridLayout")
22
        self.selDescLabel = QtGui.QLabel(self.selInfoWidget)
23
        self.selDescLabel.setText("")
24
25
        self.selDescLabel.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.selDescLabel.setWordWrap(True)
26
        self.selDescLabel.setObjectName("selDescLabel")
27
28
29
30
31
32
        self.gridLayout.addWidget(self.selDescLabel, 0, 0, 1, 1)
        self.selNameLabel = QtGui.QLabel(self.selInfoWidget)
        font = QtGui.QFont()
        font.setWeight(75)
        font.setBold(True)
        self.selNameLabel.setFont(font)
33
34
        self.selNameLabel.setText("")
        self.selNameLabel.setObjectName("selNameLabel")
35
36
        self.gridLayout.addWidget(self.selNameLabel, 0, 1, 1, 1)
        self.selectedTree = DataTreeWidget(self.selInfoWidget)
37
38
        self.selectedTree.setObjectName("selectedTree")
        self.selectedTree.headerItem().setText(0, "1")
39
40
41
        self.gridLayout.addWidget(self.selectedTree, 1, 0, 1, 2)
        self.hoverText = QtGui.QTextEdit(Form)
        self.hoverText.setGeometry(QtCore.QRect(0, 240, 521, 81))
42
        self.hoverText.setObjectName("hoverText")
43
44
        self.view = FlowchartGraphicsView(Form)
        self.view.setGeometry(QtCore.QRect(0, 0, 256, 192))
45
        self.view.setObjectName("view")
46
47
48
49
50
51
52
53

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        Form.setWindowTitle(QtGui.QApplication.translate("Form", "Form", None, QtGui.QApplication.UnicodeUTF8))

from pyqtgraph.widgets.DataTreeWidget import DataTreeWidget
54
from FlowchartGraphicsView import FlowchartGraphicsView