瀏覽代碼

- added inverted icons

Marius Stanciu 6 年之前
父節點
當前提交
031a3a141e
共有 100 個文件被更改,包括 21 次插入15 次删除
  1. 4 1
      FlatCAM.py
  2. 1 0
      README.md
  3. 2 0
      flatcamGUI/VisPyCanvas.py
  4. 14 14
      flatcamTools/ToolRulesCheck.py
  5. 二進制
      share/dark/about32.png
  6. 二進制
      share/dark/active_static.png
  7. 二進制
      share/dark/addarray16.png
  8. 二進制
      share/dark/addarray20.png
  9. 二進制
      share/dark/addarray32.png
  10. 二進制
      share/dark/align_center32.png
  11. 二進制
      share/dark/align_justify32.png
  12. 二進制
      share/dark/align_left32.png
  13. 二進制
      share/dark/align_right32.png
  14. 二進制
      share/dark/aperture16.png
  15. 二進制
      share/dark/aperture32.png
  16. 二進制
      share/dark/arc16.png
  17. 二進制
      share/dark/arc24.png
  18. 二進制
      share/dark/arc32.png
  19. 二進制
      share/dark/axis32.png
  20. 二進制
      share/dark/backup24.png
  21. 二進制
      share/dark/backup_export24.png
  22. 二進制
      share/dark/backup_import24.png
  23. 二進制
      share/dark/blocked16.png
  24. 二進制
      share/dark/bluelight12.png
  25. 二進制
      share/dark/bold32.png
  26. 二進制
      share/dark/buffer16-2.png
  27. 二進制
      share/dark/buffer16.png
  28. 二進制
      share/dark/buffer20.png
  29. 二進制
      share/dark/buffer24.png
  30. 二進制
      share/dark/bug16.png
  31. 二進制
      share/dark/bug32.png
  32. 二進制
      share/dark/calculator16.png
  33. 二進制
      share/dark/calculator24.png
  34. 二進制
      share/dark/cancel_edit16.png
  35. 二進制
      share/dark/cancel_edit32.png
  36. 二進制
      share/dark/circle32.png
  37. 二進制
      share/dark/clear_plot16.png
  38. 二進制
      share/dark/clear_plot32.png
  39. 二進制
      share/dark/cnc16.png
  40. 二進制
      share/dark/cnc32.png
  41. 二進制
      share/dark/code.png
  42. 二進制
      share/dark/code_editor32.png
  43. 二進制
      share/dark/convert24.png
  44. 二進制
      share/dark/copy.png
  45. 二進制
      share/dark/copy16.png
  46. 二進制
      share/dark/copy32.png
  47. 二進制
      share/dark/copy_geo.png
  48. 二進制
      share/dark/corner32.png
  49. 二進制
      share/dark/cut16.png
  50. 二進制
      share/dark/cut16_bis.png
  51. 二進制
      share/dark/cut32.png
  52. 二進制
      share/dark/cut32_bis.png
  53. 二進制
      share/dark/cutpath16.png
  54. 二進制
      share/dark/cutpath24.png
  55. 二進制
      share/dark/cutpath32.png
  56. 二進制
      share/dark/defaults.png
  57. 二進制
      share/dark/delete32.png
  58. 二進制
      share/dark/deleteshape16.png
  59. 二進制
      share/dark/deleteshape24.png
  60. 二進制
      share/dark/deleteshape32.png
  61. 二進制
      share/dark/disable16.png
  62. 二進制
      share/dark/disable32.png
  63. 二進制
      share/dark/disc32.png
  64. 二進制
      share/dark/distance16.png
  65. 二進制
      share/dark/distance32.png
  66. 二進制
      share/dark/distance_min16.png
  67. 二進制
      share/dark/distance_min32.png
  68. 二進制
      share/dark/doubleside16.png
  69. 二進制
      share/dark/doubleside32.png
  70. 二進制
      share/dark/draw32.png
  71. 二進制
      share/dark/drill16.png
  72. 二進制
      share/dark/drill32.png
  73. 二進制
      share/dark/dxf16.png
  74. 二進制
      share/dark/edit16.png
  75. 二進制
      share/dark/edit32.png
  76. 二進制
      share/dark/edit_ok16.png
  77. 二進制
      share/dark/edit_ok32.png
  78. 二進制
      share/dark/edit_ok32_bis.png
  79. 二進制
      share/dark/eraser26.png
  80. 二進制
      share/dark/explode32.png
  81. 二進制
      share/dark/export.png
  82. 二進制
      share/dark/export_png32.png
  83. 二進制
      share/dark/file16.png
  84. 二進制
      share/dark/file32.png
  85. 二進制
      share/dark/film16.png
  86. 二進制
      share/dark/film32.png
  87. 二進制
      share/dark/flatcam_icon128.png
  88. 二進制
      share/dark/flatcam_icon128_inv.png
  89. 二進制
      share/dark/flatcam_icon16.ico
  90. 二進制
      share/dark/flatcam_icon16.png
  91. 二進制
      share/dark/flatcam_icon24.png
  92. 二進制
      share/dark/flatcam_icon256.ico
  93. 二進制
      share/dark/flatcam_icon256.png
  94. 二進制
      share/dark/flatcam_icon32.ico
  95. 二進制
      share/dark/flatcam_icon32.png
  96. 二進制
      share/dark/flatcam_icon32_green.png
  97. 二進制
      share/dark/flatcam_icon48.ico
  98. 二進制
      share/dark/flatcam_icon48.png
  99. 二進制
      share/dark/flipx.png
  100. 二進制
      share/dark/flipy.png

+ 4 - 1
FlatCAM.py

@@ -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"):

+ 1 - 0
README.md

@@ -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
 

+ 2 - 0
flatcamGUI/VisPyCanvas.py

@@ -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

+ 14 - 14
flatcamTools/ToolRulesCheck.py

@@ -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()

二進制
share/dark/about32.png


二進制
share/dark/active_static.png


二進制
share/dark/addarray16.png


二進制
share/dark/addarray20.png


二進制
share/dark/addarray32.png


二進制
share/dark/align_center32.png


二進制
share/dark/align_justify32.png


二進制
share/dark/align_left32.png


二進制
share/dark/align_right32.png


二進制
share/dark/aperture16.png


二進制
share/dark/aperture32.png


二進制
share/dark/arc16.png


二進制
share/dark/arc24.png


二進制
share/dark/arc32.png


二進制
share/dark/axis32.png


二進制
share/dark/backup24.png


二進制
share/dark/backup_export24.png


二進制
share/dark/backup_import24.png


二進制
share/dark/blocked16.png


二進制
share/dark/bluelight12.png


二進制
share/dark/bold32.png


二進制
share/dark/buffer16-2.png


二進制
share/dark/buffer16.png


二進制
share/dark/buffer20.png


二進制
share/dark/buffer24.png


二進制
share/dark/bug16.png


二進制
share/dark/bug32.png


二進制
share/dark/calculator16.png


二進制
share/dark/calculator24.png


二進制
share/dark/cancel_edit16.png


二進制
share/dark/cancel_edit32.png


二進制
share/dark/circle32.png


二進制
share/dark/clear_plot16.png


二進制
share/dark/clear_plot32.png


二進制
share/dark/cnc16.png


二進制
share/dark/cnc32.png


二進制
share/dark/code.png


二進制
share/dark/code_editor32.png


二進制
share/dark/convert24.png


二進制
share/dark/copy.png


二進制
share/dark/copy16.png


二進制
share/dark/copy32.png


二進制
share/dark/copy_geo.png


二進制
share/dark/corner32.png


二進制
share/dark/cut16.png


二進制
share/dark/cut16_bis.png


二進制
share/dark/cut32.png


二進制
share/dark/cut32_bis.png


二進制
share/dark/cutpath16.png


二進制
share/dark/cutpath24.png


二進制
share/dark/cutpath32.png


二進制
share/dark/defaults.png


二進制
share/dark/delete32.png


二進制
share/dark/deleteshape16.png


二進制
share/dark/deleteshape24.png


二進制
share/dark/deleteshape32.png


二進制
share/dark/disable16.png


二進制
share/dark/disable32.png


二進制
share/dark/disc32.png


二進制
share/dark/distance16.png


二進制
share/dark/distance32.png


二進制
share/dark/distance_min16.png


二進制
share/dark/distance_min32.png


二進制
share/dark/doubleside16.png


二進制
share/dark/doubleside32.png


二進制
share/dark/draw32.png


二進制
share/dark/drill16.png


二進制
share/dark/drill32.png


二進制
share/dark/dxf16.png


二進制
share/dark/edit16.png


二進制
share/dark/edit32.png


二進制
share/dark/edit_ok16.png


二進制
share/dark/edit_ok32.png


二進制
share/dark/edit_ok32_bis.png


二進制
share/dark/eraser26.png


二進制
share/dark/explode32.png


二進制
share/dark/export.png


二進制
share/dark/export_png32.png


二進制
share/dark/file16.png


二進制
share/dark/file32.png


二進制
share/dark/film16.png


二進制
share/dark/film32.png


二進制
share/dark/flatcam_icon128.png


二進制
share/dark/flatcam_icon128_inv.png


二進制
share/dark/flatcam_icon16.ico


二進制
share/dark/flatcam_icon16.png


二進制
share/dark/flatcam_icon24.png


二進制
share/dark/flatcam_icon256.ico


二進制
share/dark/flatcam_icon256.png


二進制
share/dark/flatcam_icon32.ico


二進制
share/dark/flatcam_icon32.png


二進制
share/dark/flatcam_icon32_green.png


二進制
share/dark/flatcam_icon48.ico


二進制
share/dark/flatcam_icon48.png


二進制
share/dark/flipx.png


二進制
share/dark/flipy.png


部分文件因文件數量過多而無法顯示