eric6/Plugins/PluginWizardQColorDialog.py

changeset 8143
2c730d5fd177
parent 7923
91e843545d9a
child 8218
7c09585bd960
equal deleted inserted replaced
8141:27f636beebad 8143:2c730d5fd177
101 """ 101 """
102 from WizardPlugins.ColorDialogWizard.ColorDialogWizardDialog import ( 102 from WizardPlugins.ColorDialogWizard.ColorDialogWizardDialog import (
103 ColorDialogWizardDialog 103 ColorDialogWizardDialog
104 ) 104 )
105 dlg = ColorDialogWizardDialog(None) 105 dlg = ColorDialogWizardDialog(None)
106 if dlg.exec() == QDialog.Accepted: 106 if dlg.exec() == QDialog.DialogCode.Accepted:
107 line, index = editor.getCursorPosition() 107 line, index = editor.getCursorPosition()
108 indLevel = editor.indentation(line) // editor.indentationWidth() 108 indLevel = editor.indentation(line) // editor.indentationWidth()
109 if editor.indentationsUseTabs(): 109 if editor.indentationsUseTabs():
110 indString = '\t' 110 indString = '\t'
111 else: 111 else:

eric ide

mercurial