forked from openlp/openlp
PEP Fixes
This commit is contained in:
parent
8696482f39
commit
04c6e27ac5
@ -2,6 +2,7 @@ from PyQt4 import QtCore, QtGui
|
|||||||
|
|
||||||
from openlp.core.common import translate
|
from openlp.core.common import translate
|
||||||
|
|
||||||
|
|
||||||
class ColorButton(QtGui.QPushButton):
|
class ColorButton(QtGui.QPushButton):
|
||||||
"""
|
"""
|
||||||
Subclasses QPushbutton to create a "Color Chooser" button
|
Subclasses QPushbutton to create a "Color Chooser" button
|
||||||
|
@ -66,7 +66,6 @@ class ThemeForm(QtGui.QWizard, Ui_ThemeWizard, RegistryProperties):
|
|||||||
self.background_combo_box.currentIndexChanged.connect(self.on_background_combo_box_current_index_changed)
|
self.background_combo_box.currentIndexChanged.connect(self.on_background_combo_box_current_index_changed)
|
||||||
self.gradient_combo_box.currentIndexChanged.connect(self.on_gradient_combo_box_current_index_changed)
|
self.gradient_combo_box.currentIndexChanged.connect(self.on_gradient_combo_box_current_index_changed)
|
||||||
self.color_button.colorChanged.connect(self.on_color_button_changed)
|
self.color_button.colorChanged.connect(self.on_color_button_changed)
|
||||||
#self.color_button.clicked.connect(self.on_color_button_clicked)
|
|
||||||
self.image_color_button.colorChanged.connect(self.on_image_color_button_changed)
|
self.image_color_button.colorChanged.connect(self.on_image_color_button_changed)
|
||||||
self.gradient_start_button.colorChanged.connect(self.on_gradient_start_button_changed)
|
self.gradient_start_button.colorChanged.connect(self.on_gradient_start_button_changed)
|
||||||
self.gradient_end_button.colorChanged.connect(self.on_gradient_end_button_changed)
|
self.gradient_end_button.colorChanged.connect(self.on_gradient_end_button_changed)
|
||||||
|
Loading…
Reference in New Issue
Block a user