- added icons to some of the push buttons

This commit is contained in:
Marius Stanciu
2020-07-15 02:23:45 +03:00
committed by Marius
parent e67e676e45
commit 66adab95ca
17 changed files with 43 additions and 4 deletions

View File

@@ -872,6 +872,7 @@ class PreferencesUIManager:
# restore the default stylesheet by setting a blank one
self.ui.pref_apply_button.setStyleSheet("")
self.ui.pref_apply_button.setIcon(QtGui.QIcon(self.ui.app.resource_location + '/apply32.png'))
self.inform.emit('%s' % _("Preferences applied."))
@@ -1096,6 +1097,7 @@ class PreferencesUIManager:
self.ui.plot_tab_area.tabBar.setTabTextColor(idx, QtGui.QColor('red'))
self.ui.pref_apply_button.setStyleSheet("QPushButton {color: red;}")
self.ui.pref_apply_button.setIcon(QtGui.QIcon(self.ui.app.resource_location + '/apply_red32.png'))
self.preferences_changed_flag = True