- more changes in strings throughout the app
- made some minor changes in the GUI of the FlatCAM Tools - in Tools Database made sure that each new tool added has a unique name - in AppTool made some methods to be class methods
This commit is contained in:
@@ -63,9 +63,6 @@ class ToolFiducials(AppTool):
|
||||
self.points_table = FCTable()
|
||||
self.points_table.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectRows)
|
||||
|
||||
self.layout.addWidget(self.points_table)
|
||||
self.layout.addWidget(QtWidgets.QLabel(''))
|
||||
|
||||
self.points_table.setColumnCount(3)
|
||||
self.points_table.setHorizontalHeaderLabels(
|
||||
[
|
||||
@@ -76,7 +73,6 @@ class ToolFiducials(AppTool):
|
||||
)
|
||||
self.points_table.setRowCount(3)
|
||||
row = 0
|
||||
|
||||
flags = QtCore.Qt.ItemIsEnabled
|
||||
|
||||
# BOTTOM LEFT
|
||||
@@ -140,6 +136,13 @@ class ToolFiducials(AppTool):
|
||||
for row in range(self.points_table.rowCount()):
|
||||
self.points_table.cellWidget(row, 2).setFrame(False)
|
||||
|
||||
self.layout.addWidget(self.points_table)
|
||||
|
||||
separator_line = QtWidgets.QFrame()
|
||||
separator_line.setFrameShape(QtWidgets.QFrame.HLine)
|
||||
separator_line.setFrameShadow(QtWidgets.QFrame.Sunken)
|
||||
self.layout.addWidget(separator_line)
|
||||
|
||||
# ## Grid Layout
|
||||
grid_lay = QtWidgets.QGridLayout()
|
||||
self.layout.addLayout(grid_lay)
|
||||
|
||||
Reference in New Issue
Block a user