프로젝트

일반

사용자정보

개정판 d8ad8a2c

IDd8ad8a2c20106b19fb07b0729722a3bc9dc266a4
상위 5a288f04
하위 4893668b

gaqhf 이(가) 6년 이상 전에 추가함

dev issue #646: 등록된 심볼 뷰 추가

차이점 보기:

DTI_PID/DTI_PID/DetectSymbol_UI.py
29 29
        self.gridLayout_2.addLayout(self.formLayout, 0, 0, 1, 1)
30 30
        self.horizontalLayout = QtWidgets.QHBoxLayout()
31 31
        self.horizontalLayout.setObjectName("horizontalLayout")
32
        self.verticalLayout = QtWidgets.QVBoxLayout()
33
        self.verticalLayout.setObjectName("verticalLayout")
32 34
        self.listWidgetDrawings = QtWidgets.QListWidget(DetectSymbolDialog)
35
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
36
        sizePolicy.setHorizontalStretch(0)
37
        sizePolicy.setVerticalStretch(0)
38
        sizePolicy.setHeightForWidth(self.listWidgetDrawings.sizePolicy().hasHeightForWidth())
39
        self.listWidgetDrawings.setSizePolicy(sizePolicy)
33 40
        self.listWidgetDrawings.setMaximumSize(QtCore.QSize(250, 16777215))
34 41
        self.listWidgetDrawings.setObjectName("listWidgetDrawings")
35
        self.horizontalLayout.addWidget(self.listWidgetDrawings)
42
        self.verticalLayout.addWidget(self.listWidgetDrawings)
43
        self.tableWidgetAllSymbols = QtWidgets.QTableWidget(DetectSymbolDialog)
44
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
45
        sizePolicy.setHorizontalStretch(0)
46
        sizePolicy.setVerticalStretch(0)
47
        sizePolicy.setHeightForWidth(self.tableWidgetAllSymbols.sizePolicy().hasHeightForWidth())
48
        self.tableWidgetAllSymbols.setSizePolicy(sizePolicy)
49
        self.tableWidgetAllSymbols.setMaximumSize(QtCore.QSize(250, 16777215))
50
        self.tableWidgetAllSymbols.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
51
        self.tableWidgetAllSymbols.setSelectionMode(QtWidgets.QAbstractItemView.NoSelection)
52
        self.tableWidgetAllSymbols.setColumnCount(1)
53
        self.tableWidgetAllSymbols.setObjectName("tableWidgetAllSymbols")
54
        self.tableWidgetAllSymbols.setRowCount(0)
55
        self.tableWidgetAllSymbols.horizontalHeader().setVisible(False)
56
        self.tableWidgetAllSymbols.verticalHeader().setVisible(False)
57
        self.verticalLayout.addWidget(self.tableWidgetAllSymbols)
58
        self.horizontalLayout.addLayout(self.verticalLayout)
36 59
        self.tableWidgetSymbol = QtWidgets.QTableWidget(DetectSymbolDialog)
37 60
        self.tableWidgetSymbol.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
38 61
        self.tableWidgetSymbol.setAlternatingRowColors(False)
39 62
        self.tableWidgetSymbol.setSelectionMode(QtWidgets.QAbstractItemView.SingleSelection)
63
        self.tableWidgetSymbol.setVerticalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel)
64
        self.tableWidgetSymbol.setHorizontalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel)
40 65
        self.tableWidgetSymbol.setShowGrid(False)
41 66
        self.tableWidgetSymbol.setGridStyle(QtCore.Qt.NoPen)
42 67
        self.tableWidgetSymbol.setRowCount(0)

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)