- trying to optimize Gerber Editor selection with the mouse

- optimized some of the strings
This commit is contained in:
Marius Stanciu
2020-11-03 06:21:53 +02:00
committed by Marius
parent b6d4d5e85f
commit 5170505f53
46 changed files with 5790 additions and 5714 deletions

View File

@@ -449,7 +449,7 @@ class AppObject(QtCore.QObject):
# here it is done the object plotting
def plotting_task(t_obj):
with self.app.proc_container.new(_("Plotting")):
with self.app.proc_container.new('%s ...' % _("Plotting")):
if t_obj.kind == 'cncjob':
t_obj.plot(kind=self.app.defaults["cncjob_plot_kind"])
if t_obj.kind == 'gerber':

View File

@@ -1891,7 +1891,7 @@ class CNCJobObject(FlatCAMObj, CNCjob):
kind = self.ui.cncplot_method_combo.get_value()
def worker_task():
with self.app.proc_container.new(_("Plotting...")):
with self.app.proc_container.new('%s ...' % _("Plotting")):
self.plot(kind=kind)
self.app.worker_task.emit({'fcn': worker_task, 'params': []})

View File

@@ -2561,7 +2561,7 @@ class GeometryObject(FlatCAMObj, Geometry):
def on_polish(self):
def job_thread(obj):
with obj.app.proc_container.new(_("Working...")):
with obj.app.proc_container.new(_("Working ...")):
tooldia = obj.ui.polish_dia_entry.get_value()
depth = obj.ui.polish_pressure_entry.get_value()
travelz = obj.ui.polish_travelz_entry.get_value()

View File

@@ -365,7 +365,7 @@ class GerberObject(FlatCAMObj, Gerber):
self.app.inform.emit('[WARNING_NOTCL] %s...' % _("Buffering solid geometry"))
def buffer_task():
with self.app.proc_container.new('%s...' % _("Buffering")):
with self.app.proc_container.new('%s ...' % _("Buffering")):
output = self.app.pool.apply_async(self.buffer_handler, args=([self.solid_geometry]))
self.solid_geometry = output.get()
@@ -992,7 +992,7 @@ class GerberObject(FlatCAMObj, Gerber):
visibility = kwargs['visible']
def job_thread(app_obj):
with self.app.proc_container.new(_("Plotting Apertures")):
with self.app.proc_container.new('%s ...' % _("Plotting")):
try:
if aperture_to_plot_mark in self.apertures:
for elem in app_obj.apertures[aperture_to_plot_mark]['geometry']:

View File

@@ -263,7 +263,7 @@ class FlatCAMObj(QtCore.QObject):
with self.app.proc_container.new(_("Offsetting...")):
self.offset(vector_val)
self.app.proc_container.update_view_text('')
with self.app.proc_container.new('%s...' % _("Plotting")):
with self.app.proc_container.new('%s ...' % _("Plotting")):
self.plot()
self.app.app_obj.object_changed.emit(self)
@@ -294,7 +294,7 @@ class FlatCAMObj(QtCore.QObject):
self.app.inform.emit('[success] %s' % _("Scale done."))
self.app.proc_container.update_view_text('')
with self.app.proc_container.new('%s...' % _("Plotting")):
with self.app.proc_container.new('%s ...' % _("Plotting")):
self.plot()
self.app.app_obj.object_changed.emit(self)
@@ -310,7 +310,7 @@ class FlatCAMObj(QtCore.QObject):
with self.app.proc_container.new(_("Skewing...")):
self.skew(x_angle, y_angle)
self.app.proc_container.update_view_text('')
with self.app.proc_container.new('%s...' % _("Plotting")):
with self.app.proc_container.new('%s ...' % _("Plotting")):
self.plot()
self.app.app_obj.object_changed.emit(self)
@@ -390,7 +390,7 @@ class FlatCAMObj(QtCore.QObject):
def single_object_plot(self):
def plot_task():
with self.app.proc_container.new('%s...' % _("Plotting")):
with self.app.proc_container.new('%s ...' % _("Plotting")):
self.plot()
self.app.app_obj.object_changed.emit(self)