Explorar o código

- some PEP changes, some method descriptions updated
- added a placeholder text to 2Sided Tool

Marius Stanciu %!s(int64=5) %!d(string=hai) anos
pai
achega
ea4502b965
Modificáronse 3 ficheiros con 282 adicións e 174 borrados
  1. 5 0
      CHANGELOG.md
  2. 276 173
      FlatCAMApp.py
  3. 1 1
      flatcamTools/ToolDblSided.py

+ 5 - 0
CHANGELOG.md

@@ -7,6 +7,11 @@ CHANGELOG for FlatCAM beta
 
 =================================================
 
+24.04.2020
+
+- some PEP changes, some method descriptions updated
+- added a placeholder text to 2Sided Tool
+
 23.04.2020 
 
 - fixed the Tcl Command Help to work as expected; made the text of the commands to be colored in Red color and bold

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 276 - 173
FlatCAMApp.py


+ 1 - 1
flatcamTools/ToolDblSided.py

@@ -315,6 +315,7 @@ class DblSidedTool(FlatCAMTool):
 
         # Center point value
         self.center_entry = FCEntry()
+        self.center_entry.setPlaceholderText(_("Center point coordinates"))
 
         self.center_btn = FCButton('%s:' % _("Centroid"))
         self.center_btn.setToolTip(
@@ -503,7 +504,6 @@ class DblSidedTool(FlatCAMTool):
             lambda: self.point_entry.set_value(self.center_entry.get_value())
         )
 
-
         self.create_alignment_hole_button.clicked.connect(self.on_create_alignment_holes)
         self.calculate_bb_button.clicked.connect(self.on_bbox_coordinates)
 

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio