- upgraded the Geometry Editor main UI
- upgraded the FCButton widget (and made it used everywhere instead of the QPushButton) so it can have the color and font weight properties settable
This commit is contained in:
@@ -1334,7 +1334,7 @@ class PreferencesUIManager(QtCore.QObject):
|
||||
self.old_color = self.ui.plot_tab_area.tabBar.tabTextColor(idx)
|
||||
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.color = 'red'
|
||||
self.ui.pref_apply_button.setIcon(QtGui.QIcon(self.ui.app.resource_location + '/apply_red32.png'))
|
||||
|
||||
self.preferences_changed_flag = True
|
||||
|
||||
Reference in New Issue
Block a user