- fixed a crash when creating a Document object due of changes in Qt6 (missing QtGui.Qt)

- in Document object fixed the issue with not setting selection color when in a dark theme (essentially got rid of using QPalette)
- in dark theme stylesheet changed the indent of the QCheckBox (and in Radio buttons too)
- updated the FClabel widget with some more properties
- updated the hack to make sure that the Editor sub-tools do not lose the stylesheet of the background
- updated the disabled project item color default value for the dark theme
This commit is contained in:
Marius Stanciu
2022-05-11 20:13:36 +03:00
committed by Marius
parent ab11367e3d
commit a973275f97
54 changed files with 204 additions and 180 deletions

View File

@@ -6,13 +6,13 @@ if '_' not in builtins.__dict__:
_ = gettext.gettext
class ExcSlotArrayEditorTool(AppTool):
class ExcSlotArrayEditorTool(AppToolEditor):
"""
Create an array of drill holes
"""
def __init__(self, app, draw_app, plugin_name):
AppTool.__init__(self, app)
AppToolEditor.__init__(self, app)
self.draw_app = draw_app
self.decimals = app.decimals
@@ -33,7 +33,7 @@ class ExcSlotArrayEditorTool(AppTool):
def run(self):
self.app.defaults.report_usage("Exc Editor ArrayTool()")
AppTool.run(self)
super().run()
# if the splitter us hidden, display it
if self.app.ui.splitter.sizes()[0] == 0: