개정판 d8ad8a2c
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