- added inverted icons
|
@ -9,11 +9,14 @@ from flatcamGUI import VisPyPatches
|
||||||
from multiprocessing import freeze_support
|
from multiprocessing import freeze_support
|
||||||
# import copyreg
|
# import copyreg
|
||||||
# import types
|
# import types
|
||||||
|
import qdarkstyle
|
||||||
|
|
||||||
if sys.platform == "win32":
|
if sys.platform == "win32":
|
||||||
# cx_freeze 'module win32' workaround
|
# cx_freeze 'module win32' workaround
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
os.environ['QT_API'] = 'pyqt5'
|
||||||
|
|
||||||
|
|
||||||
def debug_trace():
|
def debug_trace():
|
||||||
"""
|
"""
|
||||||
|
@ -48,7 +51,7 @@ if __name__ == '__main__':
|
||||||
os.environ["QT_AUTO_SCREEN_SCALE_FACTOR"] = "0"
|
os.environ["QT_AUTO_SCREEN_SCALE_FACTOR"] = "0"
|
||||||
|
|
||||||
app = QtWidgets.QApplication(sys.argv)
|
app = QtWidgets.QApplication(sys.argv)
|
||||||
|
app.setStyleSheet(qdarkstyle.load_stylesheet_pyqt5())
|
||||||
# apply style
|
# apply style
|
||||||
settings = QSettings("Open Source", "FlatCAM")
|
settings = QSettings("Open Source", "FlatCAM")
|
||||||
if settings.contains("style"):
|
if settings.contains("style"):
|
||||||
|
|
|
@ -17,6 +17,7 @@ CAD program, and create G-Code for Isolation routing.
|
||||||
- updated the .POT file and worked a bit in the romanian translation
|
- updated the .POT file and worked a bit in the romanian translation
|
||||||
- small changes: reduced the thickness of the axis in 3D mode from 3 pixels to 1 pixel
|
- small changes: reduced the thickness of the axis in 3D mode from 3 pixels to 1 pixel
|
||||||
- made sure that is the text in the source file of a FlatCAMDocument is HTML is loaded as such
|
- made sure that is the text in the source file of a FlatCAMDocument is HTML is loaded as such
|
||||||
|
- added inverted icons
|
||||||
|
|
||||||
6.10.2019
|
6.10.2019
|
||||||
|
|
||||||
|
|
|
@ -44,6 +44,8 @@ class VisPyCanvas(scene.SceneCanvas):
|
||||||
theme_color = Color('#000000')
|
theme_color = Color('#000000')
|
||||||
tick_color = Color('gray')
|
tick_color = Color('gray')
|
||||||
back_color = Color('#000000')
|
back_color = Color('#000000')
|
||||||
|
# back_color = Color('#272822') # darker
|
||||||
|
# back_color = Color('#3c3f41') # lighter
|
||||||
|
|
||||||
self.central_widget.bgcolor = back_color
|
self.central_widget.bgcolor = back_color
|
||||||
self.central_widget.border_color = back_color
|
self.central_widget.border_color = back_color
|
||||||
|
|
|
@ -51,7 +51,7 @@ class RulesCheck(FlatCAMTool):
|
||||||
|
|
||||||
self.gerber_title_lbl = QtWidgets.QLabel('<b>%s</b>:' % _("Gerber Files"))
|
self.gerber_title_lbl = QtWidgets.QLabel('<b>%s</b>:' % _("Gerber Files"))
|
||||||
self.gerber_title_lbl.setToolTip(
|
self.gerber_title_lbl.setToolTip(
|
||||||
_("Gerber files for which to check rules.")
|
_("Gerber objects for which to check rules.")
|
||||||
)
|
)
|
||||||
|
|
||||||
self.all_obj_cb = FCCheckBox()
|
self.all_obj_cb = FCCheckBox()
|
||||||
|
@ -64,7 +64,7 @@ class RulesCheck(FlatCAMTool):
|
||||||
|
|
||||||
self.copper_t_object_lbl = QtWidgets.QLabel('%s:' % _("Top"))
|
self.copper_t_object_lbl = QtWidgets.QLabel('%s:' % _("Top"))
|
||||||
self.copper_t_object_lbl.setToolTip(
|
self.copper_t_object_lbl.setToolTip(
|
||||||
_("The Gerber Copper Top file for which rules are checked.")
|
_("The Top Gerber Copper object for which rules are checked.")
|
||||||
)
|
)
|
||||||
|
|
||||||
self.copper_t_cb = FCCheckBox()
|
self.copper_t_cb = FCCheckBox()
|
||||||
|
@ -77,7 +77,7 @@ class RulesCheck(FlatCAMTool):
|
||||||
|
|
||||||
self.copper_b_object_lbl = QtWidgets.QLabel('%s:' % _("Bottom"))
|
self.copper_b_object_lbl = QtWidgets.QLabel('%s:' % _("Bottom"))
|
||||||
self.copper_b_object_lbl.setToolTip(
|
self.copper_b_object_lbl.setToolTip(
|
||||||
_("The Gerber Copper Bottom file for which rules are checked.")
|
_("The Bottom Gerber Copper object for which rules are checked.")
|
||||||
)
|
)
|
||||||
|
|
||||||
self.copper_b_cb = FCCheckBox()
|
self.copper_b_cb = FCCheckBox()
|
||||||
|
@ -90,7 +90,7 @@ class RulesCheck(FlatCAMTool):
|
||||||
|
|
||||||
self.sm_t_object_lbl = QtWidgets.QLabel('%s:' % _("SM Top"))
|
self.sm_t_object_lbl = QtWidgets.QLabel('%s:' % _("SM Top"))
|
||||||
self.sm_t_object_lbl.setToolTip(
|
self.sm_t_object_lbl.setToolTip(
|
||||||
_("The Gerber Solder Mask Top file for which rules are checked.")
|
_("The Top Gerber Solder Mask object for which rules are checked.")
|
||||||
)
|
)
|
||||||
|
|
||||||
self.sm_t_cb = FCCheckBox()
|
self.sm_t_cb = FCCheckBox()
|
||||||
|
@ -103,7 +103,7 @@ class RulesCheck(FlatCAMTool):
|
||||||
|
|
||||||
self.sm_b_object_lbl = QtWidgets.QLabel('%s:' % _("SM Bottom"))
|
self.sm_b_object_lbl = QtWidgets.QLabel('%s:' % _("SM Bottom"))
|
||||||
self.sm_b_object_lbl.setToolTip(
|
self.sm_b_object_lbl.setToolTip(
|
||||||
_("The Gerber Solder Mask Top file for which rules are checked.")
|
_("The Bottom Gerber Solder Mask object for which rules are checked.")
|
||||||
)
|
)
|
||||||
|
|
||||||
self.sm_b_cb = FCCheckBox()
|
self.sm_b_cb = FCCheckBox()
|
||||||
|
@ -116,7 +116,7 @@ class RulesCheck(FlatCAMTool):
|
||||||
|
|
||||||
self.ss_t_object_lbl = QtWidgets.QLabel('%s:' % _("Silk Top"))
|
self.ss_t_object_lbl = QtWidgets.QLabel('%s:' % _("Silk Top"))
|
||||||
self.ss_t_object_lbl.setToolTip(
|
self.ss_t_object_lbl.setToolTip(
|
||||||
_("The Gerber Silkscreen Top file for which rules are checked.")
|
_("The Top Gerber Silkscreen object for which rules are checked.")
|
||||||
)
|
)
|
||||||
|
|
||||||
self.ss_t_cb = FCCheckBox()
|
self.ss_t_cb = FCCheckBox()
|
||||||
|
@ -129,7 +129,7 @@ class RulesCheck(FlatCAMTool):
|
||||||
|
|
||||||
self.ss_b_object_lbl = QtWidgets.QLabel('%s:' % _("Silk Bottom"))
|
self.ss_b_object_lbl = QtWidgets.QLabel('%s:' % _("Silk Bottom"))
|
||||||
self.ss_b_object_lbl.setToolTip(
|
self.ss_b_object_lbl.setToolTip(
|
||||||
_("The Gerber Silkscreen Bottom file for which rules are checked.")
|
_("The Bottom Gerber Silkscreen object for which rules are checked.")
|
||||||
)
|
)
|
||||||
|
|
||||||
self.ss_b_cb = FCCheckBox()
|
self.ss_b_cb = FCCheckBox()
|
||||||
|
@ -142,7 +142,7 @@ class RulesCheck(FlatCAMTool):
|
||||||
|
|
||||||
self.outline_object_lbl = QtWidgets.QLabel('%s:' % _("Outline"))
|
self.outline_object_lbl = QtWidgets.QLabel('%s:' % _("Outline"))
|
||||||
self.outline_object_lbl.setToolTip(
|
self.outline_object_lbl.setToolTip(
|
||||||
_("The Gerber Outline (Cutout) file for which rules are checked.")
|
_("The Gerber Outline (Cutout) object for which rules are checked.")
|
||||||
)
|
)
|
||||||
|
|
||||||
self.out_cb = FCCheckBox()
|
self.out_cb = FCCheckBox()
|
||||||
|
@ -180,9 +180,9 @@ class RulesCheck(FlatCAMTool):
|
||||||
|
|
||||||
self.grid_layout.addWidget(QtWidgets.QLabel(""), 8, 0, 1, 3)
|
self.grid_layout.addWidget(QtWidgets.QLabel(""), 8, 0, 1, 3)
|
||||||
|
|
||||||
self.excellon_title_lbl = QtWidgets.QLabel('<b>%s</b>:' % _("Excellon Files"))
|
self.excellon_title_lbl = QtWidgets.QLabel('<b>%s</b>:' % _("Excellon Objects"))
|
||||||
self.excellon_title_lbl.setToolTip(
|
self.excellon_title_lbl.setToolTip(
|
||||||
_("Excellon files for which to check rules.")
|
_("Excellon objects for which to check rules.")
|
||||||
)
|
)
|
||||||
|
|
||||||
# Excellon 1 object
|
# Excellon 1 object
|
||||||
|
@ -193,8 +193,8 @@ class RulesCheck(FlatCAMTool):
|
||||||
|
|
||||||
self.e1_object_lbl = QtWidgets.QLabel('%s:' % _("Excellon 1"))
|
self.e1_object_lbl = QtWidgets.QLabel('%s:' % _("Excellon 1"))
|
||||||
self.e1_object_lbl.setToolTip(
|
self.e1_object_lbl.setToolTip(
|
||||||
_("Object to be panelized. This means that it will\n"
|
_("Excellon object for which to check rules.\n"
|
||||||
"be duplicated in an array of rows and columns.")
|
"Holds the plated holes or a general Excellon file content.")
|
||||||
)
|
)
|
||||||
|
|
||||||
self.e1_cb = FCCheckBox()
|
self.e1_cb = FCCheckBox()
|
||||||
|
@ -207,8 +207,8 @@ class RulesCheck(FlatCAMTool):
|
||||||
|
|
||||||
self.e2_object_lbl = QtWidgets.QLabel('%s:' % _("Excellon 2"))
|
self.e2_object_lbl = QtWidgets.QLabel('%s:' % _("Excellon 2"))
|
||||||
self.e2_object_lbl.setToolTip(
|
self.e2_object_lbl.setToolTip(
|
||||||
_("Object to be panelized. This means that it will\n"
|
_("Excellon object for which to check rules.\n"
|
||||||
"be duplicated in an array of rows and columns.")
|
"Holds the non-plated holes.")
|
||||||
)
|
)
|
||||||
|
|
||||||
self.e2_cb = FCCheckBox()
|
self.e2_cb = FCCheckBox()
|
||||||
|
|
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 249 B |
After Width: | Height: | Size: 191 B |
After Width: | Height: | Size: 306 B |
After Width: | Height: | Size: 301 B |
After Width: | Height: | Size: 222 B |
After Width: | Height: | Size: 207 B |
After Width: | Height: | Size: 227 B |
After Width: | Height: | Size: 218 B |
After Width: | Height: | Size: 358 B |
After Width: | Height: | Size: 787 B |
After Width: | Height: | Size: 387 B |
After Width: | Height: | Size: 533 B |
After Width: | Height: | Size: 699 B |
After Width: | Height: | Size: 474 B |
After Width: | Height: | Size: 348 B |
After Width: | Height: | Size: 232 B |
After Width: | Height: | Size: 244 B |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 921 B |
After Width: | Height: | Size: 489 B |
After Width: | Height: | Size: 258 B |
After Width: | Height: | Size: 428 B |
After Width: | Height: | Size: 291 B |
After Width: | Height: | Size: 355 B |
After Width: | Height: | Size: 390 B |
After Width: | Height: | Size: 889 B |
After Width: | Height: | Size: 324 B |
After Width: | Height: | Size: 448 B |
After Width: | Height: | Size: 434 B |
After Width: | Height: | Size: 627 B |
After Width: | Height: | Size: 419 B |
After Width: | Height: | Size: 612 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 422 B |
After Width: | Height: | Size: 787 B |
After Width: | Height: | Size: 484 B |
After Width: | Height: | Size: 264 B |
After Width: | Height: | Size: 927 B |
After Width: | Height: | Size: 395 B |
After Width: | Height: | Size: 326 B |
After Width: | Height: | Size: 506 B |
After Width: | Height: | Size: 453 B |
After Width: | Height: | Size: 721 B |
After Width: | Height: | Size: 296 B |
After Width: | Height: | Size: 417 B |
After Width: | Height: | Size: 579 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 363 B |
After Width: | Height: | Size: 410 B |
After Width: | Height: | Size: 481 B |
After Width: | Height: | Size: 678 B |
After Width: | Height: | Size: 872 B |
After Width: | Height: | Size: 418 B |
After Width: | Height: | Size: 508 B |
After Width: | Height: | Size: 642 B |
After Width: | Height: | Size: 368 B |
After Width: | Height: | Size: 753 B |
After Width: | Height: | Size: 432 B |
After Width: | Height: | Size: 260 B |
After Width: | Height: | Size: 414 B |
After Width: | Height: | Size: 903 B |
After Width: | Height: | Size: 951 B |
After Width: | Height: | Size: 274 B |
After Width: | Height: | Size: 467 B |
After Width: | Height: | Size: 470 B |
After Width: | Height: | Size: 329 B |
After Width: | Height: | Size: 588 B |
After Width: | Height: | Size: 313 B |
After Width: | Height: | Size: 440 B |
After Width: | Height: | Size: 861 B |
After Width: | Height: | Size: 458 B |
After Width: | Height: | Size: 731 B |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 638 B |
After Width: | Height: | Size: 342 B |
After Width: | Height: | Size: 633 B |
After Width: | Height: | Size: 431 B |
After Width: | Height: | Size: 339 B |
After Width: | Height: | Size: 249 B |
After Width: | Height: | Size: 349 B |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 307 B |
After Width: | Height: | Size: 454 B |
After Width: | Height: | Size: 264 KiB |
After Width: | Height: | Size: 4.8 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 605 B |
After Width: | Height: | Size: 973 B |
After Width: | Height: | Size: 9.4 KiB |
After Width: | Height: | Size: 893 B |
After Width: | Height: | Size: 321 B |
After Width: | Height: | Size: 260 B |