- PEP8 changes and PyCharm suggestions
This commit is contained in:
committed by
Marius Stanciu
parent
9abe11ff42
commit
dea7ce3028
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user