- added inverted icons

This commit is contained in:
Marius Stanciu 2019-10-07 18:52:05 +03:00
parent d815ae8a6a
commit 031a3a141e
232 changed files with 21 additions and 15 deletions

View File

@ -9,11 +9,14 @@ 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():
"""
@ -48,7 +51,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"):

View File

@ -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
- 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
- added inverted icons
6.10.2019

View File

@ -44,6 +44,8 @@ class VisPyCanvas(scene.SceneCanvas):
theme_color = Color('#000000')
tick_color = Color('gray')
back_color = Color('#000000')
# back_color = Color('#272822') # darker
# back_color = Color('#3c3f41') # lighter
self.central_widget.bgcolor = back_color
self.central_widget.border_color = back_color

View File

@ -51,7 +51,7 @@ class RulesCheck(FlatCAMTool):
self.gerber_title_lbl = QtWidgets.QLabel('<b>%s</b>:' % _("Gerber Files"))
self.gerber_title_lbl.setToolTip(
_("Gerber files for which to check rules.")
_("Gerber objects for which to check rules.")
)
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.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()
@ -77,7 +77,7 @@ class RulesCheck(FlatCAMTool):
self.copper_b_object_lbl = QtWidgets.QLabel('%s:' % _("Bottom"))
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()
@ -90,7 +90,7 @@ class RulesCheck(FlatCAMTool):
self.sm_t_object_lbl = QtWidgets.QLabel('%s:' % _("SM Top"))
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()
@ -103,7 +103,7 @@ class RulesCheck(FlatCAMTool):
self.sm_b_object_lbl = QtWidgets.QLabel('%s:' % _("SM Bottom"))
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()
@ -116,7 +116,7 @@ class RulesCheck(FlatCAMTool):
self.ss_t_object_lbl = QtWidgets.QLabel('%s:' % _("Silk Top"))
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()
@ -129,7 +129,7 @@ class RulesCheck(FlatCAMTool):
self.ss_b_object_lbl = QtWidgets.QLabel('%s:' % _("Silk Bottom"))
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()
@ -142,7 +142,7 @@ class RulesCheck(FlatCAMTool):
self.outline_object_lbl = QtWidgets.QLabel('%s:' % _("Outline"))
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()
@ -180,9 +180,9 @@ class RulesCheck(FlatCAMTool):
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(
_("Excellon files for which to check rules.")
_("Excellon objects for which to check rules.")
)
# Excellon 1 object
@ -193,8 +193,8 @@ class RulesCheck(FlatCAMTool):
self.e1_object_lbl = QtWidgets.QLabel('%s:' % _("Excellon 1"))
self.e1_object_lbl.setToolTip(
_("Object to be panelized. This means that it will\n"
"be duplicated in an array of rows and columns.")
_("Excellon object for which to check rules.\n"
"Holds the plated holes or a general Excellon file content.")
)
self.e1_cb = FCCheckBox()
@ -207,8 +207,8 @@ class RulesCheck(FlatCAMTool):
self.e2_object_lbl = QtWidgets.QLabel('%s:' % _("Excellon 2"))
self.e2_object_lbl.setToolTip(
_("Object to be panelized. This means that it will\n"
"be duplicated in an array of rows and columns.")
_("Excellon object for which to check rules.\n"
"Holds the non-plated holes.")
)
self.e2_cb = FCCheckBox()

BIN
share/dark/about32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 B

BIN
share/dark/addarray16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 B

BIN
share/dark/addarray20.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 B

BIN
share/dark/addarray32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 301 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 B

BIN
share/dark/align_left32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 B

BIN
share/dark/aperture16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 358 B

BIN
share/dark/aperture32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 787 B

BIN
share/dark/arc16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 387 B

BIN
share/dark/arc24.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 533 B

BIN
share/dark/arc32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 699 B

BIN
share/dark/axis32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 474 B

BIN
share/dark/backup24.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 B

BIN
share/dark/blocked16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
share/dark/bluelight12.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 921 B

BIN
share/dark/bold32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 489 B

BIN
share/dark/buffer16-2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 B

BIN
share/dark/buffer16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 B

BIN
share/dark/buffer20.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 B

BIN
share/dark/buffer24.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 355 B

BIN
share/dark/bug16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 390 B

BIN
share/dark/bug32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 889 B

BIN
share/dark/calculator16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 B

BIN
share/dark/calculator24.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 448 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

BIN
share/dark/circle32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 419 B

BIN
share/dark/clear_plot16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 612 B

BIN
share/dark/clear_plot32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
share/dark/cnc16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 422 B

BIN
share/dark/cnc32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 787 B

BIN
share/dark/code.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 484 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 B

BIN
share/dark/convert24.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 927 B

BIN
share/dark/copy.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 395 B

BIN
share/dark/copy16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

BIN
share/dark/copy32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 506 B

BIN
share/dark/copy_geo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 453 B

BIN
share/dark/corner32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 721 B

BIN
share/dark/cut16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

BIN
share/dark/cut16_bis.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 417 B

BIN
share/dark/cut32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 579 B

BIN
share/dark/cut32_bis.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
share/dark/cutpath16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 B

BIN
share/dark/cutpath24.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 410 B

BIN
share/dark/cutpath32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 481 B

BIN
share/dark/defaults.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 678 B

BIN
share/dark/delete32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 872 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 418 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 508 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 642 B

BIN
share/dark/disable16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 B

BIN
share/dark/disable32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 753 B

BIN
share/dark/disc32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 432 B

BIN
share/dark/distance16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 B

BIN
share/dark/distance32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 414 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 903 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 951 B

BIN
share/dark/doubleside16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 274 B

BIN
share/dark/doubleside32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 467 B

BIN
share/dark/draw32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 470 B

BIN
share/dark/drill16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 329 B

BIN
share/dark/drill32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 588 B

BIN
share/dark/dxf16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 313 B

BIN
share/dark/edit16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 440 B

BIN
share/dark/edit32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 861 B

BIN
share/dark/edit_ok16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 458 B

BIN
share/dark/edit_ok32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 731 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
share/dark/eraser26.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
share/dark/explode32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 638 B

BIN
share/dark/export.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 342 B

BIN
share/dark/export_png32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 633 B

BIN
share/dark/file16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 431 B

BIN
share/dark/file32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 339 B

BIN
share/dark/film16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 B

BIN
share/dark/film32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 349 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 454 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 605 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 973 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 893 B

BIN
share/dark/flipx.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 B

BIN
share/dark/flipy.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 B

Some files were not shown because too many files have changed in this diff Show More