- in Preferences General, Gerber, Geometry, Excellon, CNCJob sections made all the input fields of type SpinBox (where possible)

- updated the Distance Tool utility geometry color to adapt to the dark theme canvas
This commit is contained in:
Marius Stanciu
2019-10-08 04:17:08 +03:00
committed by Marius
parent 031a3a141e
commit 24723509f8
9 changed files with 335 additions and 124 deletions

View File

@@ -9,14 +9,11 @@ from flatcamGUI import VisPyPatches
from multiprocessing import freeze_support
# import copyreg
# import types
import qdarkstyle
if sys.platform == "win32":
# cx_freeze 'module win32' workaround
pass
os.environ['QT_API'] = 'pyqt5'
def debug_trace():
"""
@@ -51,7 +48,7 @@ if __name__ == '__main__':
os.environ["QT_AUTO_SCREEN_SCALE_FACTOR"] = "0"
app = QtWidgets.QApplication(sys.argv)
app.setStyleSheet(qdarkstyle.load_stylesheet_pyqt5())
# apply style
settings = QSettings("Open Source", "FlatCAM")
if settings.contains("style"):