- PEP8 changes and PyCharm suggestions

This commit is contained in:
Marius Stanciu
2020-11-12 20:47:43 +02:00
committed by Marius Stanciu
parent 9abe11ff42
commit dea7ce3028
63 changed files with 527 additions and 659 deletions

View File

@@ -1,7 +1,7 @@
from PyQt5 import QtWidgets, QtGui
from PyQt5.QtCore import QSettings
from appGUI.GUIElements import FCButton, FCTextArea, FCEntry
from appGUI.GUIElements import FCButton, FCTextArea, FCEntry, FCLabel
from appGUI.preferences.OptionsGroupUI import OptionsGroupUI
import gettext
@@ -38,7 +38,7 @@ class FAGrbPrefGroupUI(OptionsGroupUI):
hlay0.addWidget(self.del_all_btn)
# ## Gerber associations
self.grb_list_label = QtWidgets.QLabel("<b>%s:</b>" % _("Extensions list"))
self.grb_list_label = FCLabel("<b>%s:</b>" % _("Extensions list"))
self.grb_list_label.setToolTip(
_("List of file extensions to be\n"
"associated with FlatCAM.")
@@ -59,7 +59,7 @@ class FAGrbPrefGroupUI(OptionsGroupUI):
font.setPointSize(tb_fsize)
self.grb_list_text.setFont(font)
self.ext_label = QtWidgets.QLabel('%s:' % _("Extension"))
self.ext_label = FCLabel('%s:' % _("Extension"))
self.ext_label.setToolTip(_("A file extension to be added or deleted to the list."))
self.ext_entry = FCEntry()