Krita Source Code Documentation
Loading...
Searching...
No Matches
workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog Class Reference
+ Inheritance diagram for workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog:

Public Member Functions

 __init__ (self, parent=None, buttonsContentList=[], sizeIndex=2, settingsButtonPosition=0)
 
 addButton (self)
 
 buttonsSizeChanged (self, sizeIndex)
 
 clearBGColor (self)
 
 clearButtons (self)
 
 clearDialogFields (self)
 
 clearFGColor (self)
 
 createButton (self, buttonToCreate, buttonID)
 
 deleteButton (self)
 
 iconModeChanged (self, iconModeIndex)
 
 iconPathChanged (self)
 
 moveButtonLeft (self)
 
 moveButtonRight (self)
 
 populateButtons (self)
 
 populateIconModeList (self)
 
 populateSizeList (self)
 
 populateToolList (self)
 
 presetChanged (self)
 
 refreshButtons (self)
 
 scriptPathChanged (self)
 
 selectBGColor (self)
 
 selectButton (self, buttonID)
 
 selectFGColor (self)
 
 selectIcon (self)
 
 selectPreset (self)
 
 selectScript (self)
 
 setBGColorInfoLabel (self, values)
 
 setFGColorInfoLabel (self, values)
 
 settingsButtonPositionChanged (self, position)
 
 toolChanged (self, toolIndex)
 
 toolTipChanged (self)
 
 updateDialogFields (self)
 

Public Attributes

 accept
 
 addButton
 
 allBrushPresets
 
 BGColorInfoLabel
 
 BGColorPreview
 
 buttonsContentList
 
 buttonsLayout
 
 buttonsSizeChanged
 
 buttonsSizeSelector
 
 buttonsWidget
 
 clearBGColor
 
 clearFGColor
 
 defaultButtonContent
 
 deleteButton
 
 FGColorInfoLabel
 
 FGColorPreview
 
 globalButtonSize
 
 iconModeChanged
 
 iconModeSelector
 
 iconPathChanged
 
 iconPathInput
 
 moveButtonLeft
 
 moveButtonRight
 
 presetChanged
 
 presetSelectorInput
 
 reject
 
 scriptPathChanged
 
 scriptPathInput
 
 selectBGColor
 
 selectedButtonID
 
 selectedButtonIDLabel
 
 selectFGColor
 
 selectIcon
 
 selectPreset
 
 selectScript
 
 settingsButtonPosition
 
 settingsButtonPositionChanged
 
 settingsButtonPositionSelector
 
 sizeIndex
 
 toolChanged
 
 toolSelector
 
 toolTipChanged
 
 toolTipInput
 

Detailed Description

Definition at line 69 of file buttons_settings_dialog.py.

Constructor & Destructor Documentation

◆ __init__()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.__init__ ( self,
parent = None,
buttonsContentList = [],
sizeIndex = 2,
settingsButtonPosition = 0 )

Definition at line 70 of file buttons_settings_dialog.py.

70 def __init__(self, parent=None, buttonsContentList=[], sizeIndex=2, settingsButtonPosition=0):
71 super().__init__(parent)
72 self.setWindowTitle(i18n("Workflow Buttons settings"))
73 self.allBrushPresets = INSTANCE.resources('preset')
74
75 mainLayout = QVBoxLayout(self)
76
77 self.buttonsContentList = copy.deepcopy(buttonsContentList)
78 self.defaultButtonContent = { "iconMode": 0, "icon" : "", "tooltip": "", "toolIndex" : 0, "presetName" : "", "FGColorValues" : { "model":"","depth":"","components":[],"profile":"" }, "BGColorValues" : { "model":"","depth":"","components":[],"profile":"" }, "script" : "" }
79
80 # button ID starts at 1, 0 is no button selected when list is empty
81 self.selectedButtonID = 0
82 # if list is not empty, start with last button selected
83 if len(self.buttonsContentList) > 0:
84 self.selectedButtonID = len(self.buttonsContentList)
85
86 # list of custom buttons
87 buttonsScrollArea = QScrollArea(self)
88 self.buttonsWidget = QWidget(self)
89 self.buttonsLayout = FlowLayout(self.buttonsWidget)
90 buttonsScrollArea.setWidgetResizable(True)
91 buttonsScrollArea.setWidget(self.buttonsWidget)
92
93 mainLayout.addWidget(buttonsScrollArea)
94
95 self.sizeIndex = sizeIndex
96 self.globalButtonSize = QSize(LISTOFSIZES[self.sizeIndex], LISTOFSIZES[self.sizeIndex])
97
98 self.settingsButtonPosition = settingsButtonPosition
99
100 layoutForSelectorControls = QHBoxLayout()
101 controlsSize = QSize(22,22)
102
103 # label to show selected button id:
104 selectedButtonIDLabelTitle = QLabel(i18n("Selected button:"), self)
105 self.selectedButtonIDLabel = QLabel(str(self.selectedButtonID), self)
106 layoutForSelectorControls.addWidget(selectedButtonIDLabelTitle)
107 layoutForSelectorControls.addWidget(self.selectedButtonIDLabel)
108
109 spacer1 = QWidget(self)
110 spacer1.setSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding)
111 layoutForSelectorControls.addWidget(spacer1)
112
113 # button to add a custom button
114 addButtonButton = QToolButton(self)
115 addButtonButton.setIconSize(controlsSize)
116 addButtonButton.setIcon(INSTANCE.icon('addlayer'))
117 addButtonButton.setToolTip(i18n("Add a workflow button"))
118 addButtonButton.clicked.connect(self.addButton)
119 layoutForSelectorControls.addWidget(addButtonButton)
120
121 # buttons to move selected button to left/right
122 moveButtonLeftButton = QToolButton(self)
123 moveButtonLeftButton.setIconSize(controlsSize)
124 moveButtonLeftButton.setIcon(INSTANCE.icon('arrow-left'))
125 moveButtonLeftButton.setToolTip(i18n("Move selected workflow button to the left"))
126 moveButtonLeftButton.clicked.connect(self.moveButtonLeft)
127 layoutForSelectorControls.addWidget(moveButtonLeftButton)
128 moveButtonRightButton = QToolButton(self)
129 moveButtonRightButton.setIconSize(controlsSize)
130 moveButtonRightButton.setIcon(INSTANCE.icon('arrow-right'))
131 moveButtonRightButton.setToolTip(i18n("Move selected workflow button to the right"))
132 moveButtonRightButton.clicked.connect(self.moveButtonRight)
133 layoutForSelectorControls.addWidget(moveButtonRightButton)
134
135 # button to delete selected button
136 deleteButtonButton = QToolButton(self)
137 deleteButtonButton.setIconSize(controlsSize)
138 deleteButtonButton.setIcon(INSTANCE.icon('deletelayer'))
139 deleteButtonButton.setToolTip(i18n("Delete selected workflow button"))
140 deleteButtonButton.clicked.connect(self.deleteButton)
141 layoutForSelectorControls.addWidget(deleteButtonButton)
142 mainLayout.addLayout(layoutForSelectorControls)
143
144 # set selected button's icon mode
145 layoutForIconMode = QHBoxLayout()
146 iconModeLabel = QLabel(i18n("Select icon mode:"), self)
147 layoutForIconMode.addWidget(iconModeLabel)
148 self.iconModeSelector = QComboBox(self)
149 self.populateIconModeList()
150 self.iconModeSelector.activated.connect(self.iconModeChanged)
151 layoutForIconMode.addWidget(self.iconModeSelector)
152
153 spacer2 = QWidget(self)
154 spacer2.setSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding)
155 layoutForIconMode.addWidget(spacer2)
156
157 mainLayout.addLayout(layoutForIconMode)
158
159 # set selected button's custom icon
160 layoutForIconSelection = QHBoxLayout()
161
162 addIconLabel = QLabel(i18n("Select a custom icon:"), self)
163 layoutForIconSelection.addWidget(addIconLabel)
164 self.iconPathInput = QLineEdit(self)
165 self.iconPathInput.setToolTip(i18n("Custom icon path"))
166 self.iconPathInput.editingFinished.connect(self.iconPathChanged)
167 layoutForIconSelection.addWidget(self.iconPathInput)
168
169 iconPathDialogButton = QPushButton(i18n("..."), self)
170 iconPathDialogButton.setToolTip(i18n("Select the custom icon"))
171 iconPathDialogButton.clicked.connect(self.selectIcon)
172 layoutForIconSelection.addWidget(iconPathDialogButton)
173
174 mainLayout.addLayout(layoutForIconSelection)
175
176 # set custom button's tooltip
177 layoutForToolTip = QHBoxLayout()
178 toolTipLabel = QLabel(i18n("Enter a Tooltip:"), self)
179 layoutForToolTip.addWidget(toolTipLabel)
180 self.toolTipInput = QLineEdit(self)
181 self.toolTipInput.setToolTip(i18n("Tooltip text"))
182 self.toolTipInput.editingFinished.connect(self.toolTipChanged)
183 layoutForToolTip.addWidget(self.toolTipInput)
184
185 mainLayout.addLayout(layoutForToolTip)
186
187 # set custom button's' toolName
188 layoutForToolSelector = QHBoxLayout()
189 toolSelectorLabel = QLabel(i18n("Select a tool:"), self)
190 layoutForToolSelector.addWidget(toolSelectorLabel)
191 self.toolSelector = QComboBox(self)
192 self.populateToolList()
193 self.toolSelector.activated.connect(self.toolChanged)
194 layoutForToolSelector.addWidget(self.toolSelector)
195
196 spacer3 = QWidget(self)
197 spacer3.setSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding)
198 layoutForToolSelector.addWidget(spacer3)
199
200 mainLayout.addLayout(layoutForToolSelector)
201
202 # set custom button's presetName
203 layoutForPresetSelector = QHBoxLayout()
204 presetSelectorLabel = QLabel(i18n("Select a brush preset:"), self)
205 layoutForPresetSelector.addWidget(presetSelectorLabel)
206 self.presetSelectorInput = QLineEdit(self)
207 self.presetSelectorInput.setToolTip(i18n("Brush preset name"))
208 self.presetSelectorInput.editingFinished.connect(self.presetChanged)
209 layoutForPresetSelector.addWidget(self.presetSelectorInput)
210
211 presetDialogButton = QPushButton(i18n("..."), self)
212 presetDialogButton.setToolTip(i18n("Select the brush preset"))
213 presetDialogButton.clicked.connect(self.selectPreset)
214 layoutForPresetSelector.addWidget(presetDialogButton)
215
216 mainLayout.addLayout(layoutForPresetSelector)
217
218 # set custom button's FGColorValues
219 layoutForFGColorInput = QHBoxLayout()
220 FGColorLabel = QLabel(i18n("Select foreground color:"), self)
221 layoutForFGColorInput.addWidget(FGColorLabel)
222 FGColorInputSelector = QPushButton(i18n("Load current foreground color"), self)
223 FGColorInputSelector.clicked.connect(self.selectFGColor)
224 layoutForFGColorInput.addWidget(FGColorInputSelector)
225 FGColorClear = QPushButton(i18n("Clear foreground color"), self)
226 FGColorClear.clicked.connect(self.clearFGColor)
227 layoutForFGColorInput.addWidget(FGColorClear)
228
229 spacer4 = QWidget(self)
230 spacer4.setSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding)
231 layoutForFGColorInput.addWidget(spacer4)
232
233 mainLayout.addLayout(layoutForFGColorInput)
234
235 colorInfoToolTip = i18n("Color model ; depth ; profile ; components")
236
237 layoutForFGColorInfo = QHBoxLayout()
238 self.FGColorPreview = SelectedColorPreview(self, self.defaultButtonContent["FGColorValues"])
239 layoutForFGColorInfo.addWidget(self.FGColorPreview)
240 self.FGColorInfoLabel = QLabel(self)
241 self.FGColorInfoLabel.setToolTip(colorInfoToolTip)
242 layoutForFGColorInfo.addWidget(self.FGColorInfoLabel)
243
244 spacer5 = QWidget(self)
245 spacer5.setSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding)
246 layoutForFGColorInfo.addWidget(spacer5)
247
248 mainLayout.addLayout(layoutForFGColorInfo)
249
250 # set custom button's BGColorValues
251 layoutForBGColorInput = QHBoxLayout()
252 BGColorLabel = QLabel(i18n("Select background color:"), self)
253 layoutForBGColorInput.addWidget(BGColorLabel)
254 BGColorInputSelector = QPushButton(i18n("Load current background color"), self)
255 BGColorInputSelector.clicked.connect(self.selectBGColor)
256 layoutForBGColorInput.addWidget(BGColorInputSelector)
257 BGColorClear = QPushButton(i18n("Clear background color"), self)
258 BGColorClear.clicked.connect(self.clearBGColor)
259 layoutForBGColorInput.addWidget(BGColorClear)
260
261 spacer6 = QWidget(self)
262 spacer6.setSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding)
263 layoutForBGColorInput.addWidget(spacer6)
264
265 mainLayout.addLayout(layoutForBGColorInput)
266
267 layoutForBGColorInfo = QHBoxLayout()
268 self.BGColorPreview = SelectedColorPreview(self, self.defaultButtonContent["BGColorValues"])
269 layoutForBGColorInfo.addWidget(self.BGColorPreview)
270 self.BGColorInfoLabel = QLabel(self)
271 self.BGColorInfoLabel.setToolTip(colorInfoToolTip)
272 layoutForBGColorInfo.addWidget(self.BGColorInfoLabel)
273
274 spacer7 = QWidget(self)
275 spacer7.setSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding)
276 layoutForBGColorInfo.addWidget(spacer7)
277
278 mainLayout.addLayout(layoutForBGColorInfo)
279
280 # set custom button's extra script
281 layoutForScriptSelection = QHBoxLayout()
282
283 scriptLabel = QLabel(i18n("Select a script file:"), self)
284 layoutForScriptSelection.addWidget(scriptLabel)
285 self.scriptPathInput = QLineEdit(self)
286 self.scriptPathInput.setToolTip(i18n("Script path"))
287 self.scriptPathInput.editingFinished.connect(self.scriptPathChanged)
288 layoutForScriptSelection.addWidget(self.scriptPathInput)
289
290 scriptPathDialogButton = QPushButton(i18n("..."), self)
291 scriptPathDialogButton.setToolTip(i18n("Select the script"))
292 scriptPathDialogButton.clicked.connect(self.selectScript)
293 layoutForScriptSelection.addWidget(scriptPathDialogButton)
294
295 mainLayout.addLayout(layoutForScriptSelection)
296
297 # spacer for global controls
298 spacerLine = QFrame(self)
299 spacerLine.setFrameShape(QFrame.Shape.HLine)
300 spacerLine.setFrameShadow(QFrame.Shadow.Sunken)
301 mainLayout.addWidget(spacerLine)
302
303 # button's size selector
304 layoutForButtonsSize = QHBoxLayout()
305 buttonsSizeLabel = QLabel(i18n("Buttons size:"), self)
306 self.buttonsSizeSelector = QComboBox(self)
307 self.populateSizeList()
308 self.buttonsSizeSelector.setCurrentIndex(self.sizeIndex)
309 self.buttonsSizeSelector.activated.connect(self.buttonsSizeChanged)
310 layoutForButtonsSize.addWidget(buttonsSizeLabel)
311 layoutForButtonsSize.addWidget(self.buttonsSizeSelector)
312
313 spacer8 = QWidget(self)
314 spacer8.setSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding)
315 layoutForButtonsSize.addWidget(spacer8)
316
317 mainLayout.addLayout(layoutForButtonsSize)
318
319 # layout for settings button position option
320 layoutForSettingsButtonOption = QHBoxLayout()
321 settingsButtonOptionLabel = QLabel(i18n("Settings button position:"), self)
322 self.settingsButtonPositionSelector = QComboBox(self)
323 self.settingsButtonPositionSelector.insertItem(0, i18n("Bottom bar"))
324 self.settingsButtonPositionSelector.insertItem(1, i18n("Inline"))
325 self.settingsButtonPositionSelector.setCurrentIndex(self.settingsButtonPosition)
326 self.settingsButtonPositionSelector.activated.connect(self.settingsButtonPositionChanged)
327 layoutForSettingsButtonOption.addWidget(settingsButtonOptionLabel)
328 layoutForSettingsButtonOption.addWidget(self.settingsButtonPositionSelector)
329
330 spacer9 = QWidget(self)
331 spacer9.setSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding)
332 layoutForSettingsButtonOption.addWidget(spacer9)
333
334 mainLayout.addLayout(layoutForSettingsButtonOption)
335
336 # main dialog's default buttons
337 layoutForBottom = QHBoxLayout()
338 buttonBox = QDialogButtonBox(self)
339 buttonBox.setStandardButtons( QDialogButtonBox.StandardButton.Ok | QDialogButtonBox.StandardButton.Cancel)
340 buttonBox.accepted.connect(self.accept)
341 buttonBox.rejected.connect(self.reject)
342 layoutForBottom.addWidget(buttonBox)
343 mainLayout.addLayout(layoutForBottom)
344
345 self.populateButtons()
346 self.resize(500, 500)
347 # end of __init__
348

References workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.__init__(), KisPipeBrushParasite.dim, KisSpinBoxUnitManager.dim, FlattenSpec.dim, and xcfLayer.dim.

Member Function Documentation

◆ addButton()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.addButton ( self)

Definition at line 436 of file buttons_settings_dialog.py.

436 def addButton(self):
437 # print("addButton pressed")
438 buttonID = len(self.buttonsContentList) + 1
439 self.selectedButtonID = buttonID
440 buttonContent = copy.deepcopy(self.defaultButtonContent)
441 self.buttonsContentList.append(buttonContent)
442 self.createButton(self.defaultButtonContent, buttonID)
443 self.refreshButtons()
444

References workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.buttonsContentList, workflow_buttons.workflow_buttons.WorkflowButtons.buttonsContentList, KisSelectionActionsPanel.createButton(), workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.createButton(), workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.defaultButtonContent, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.refreshButtons(), workflow_buttons.workflow_buttons.WorkflowButtons.refreshButtons(), and workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectedButtonID.

◆ buttonsSizeChanged()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.buttonsSizeChanged ( self,
sizeIndex )

◆ clearBGColor()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.clearBGColor ( self)

Definition at line 571 of file buttons_settings_dialog.py.

571 def clearBGColor(self):
572 if self.selectedButtonID < 1:
573 return
574 self.buttonsContentList[self.selectedButtonID - 1]["BGColorValues"] = self.defaultButtonContent["BGColorValues"]
575 self.setBGColorInfoLabel(self.buttonsContentList[self.selectedButtonID - 1]["BGColorValues"])
576

References workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.buttonsContentList, workflow_buttons.workflow_buttons.WorkflowButtons.buttonsContentList, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.defaultButtonContent, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectedButtonID, and workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.setBGColorInfoLabel().

◆ clearButtons()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.clearButtons ( self)

Definition at line 391 of file buttons_settings_dialog.py.

391 def clearButtons(self):
392 # print("clearButtons called")
393 for widget in self.buttonsWidget.children():
394 if isinstance(widget, CustomButtonForSettings):
395 widget.deleteLater()
396

References workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.buttonsWidget, and workflow_buttons.workflow_buttons.WorkflowButtons.buttonsWidget.

◆ clearDialogFields()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.clearDialogFields ( self)

Definition at line 595 of file buttons_settings_dialog.py.

595 def clearDialogFields(self):
596 # print("clear all dialog fields...")
597 # add a line here for new dialog fields...
598 self.iconModeSelector.setCurrentIndex(0)
599 self.selectedButtonIDLabel.setText("0")
600 self.iconPathInput.setText("")
601 self.toolTipInput.setText("")
602 self.toolSelector.setCurrentIndex(0)
603 self.presetSelectorInput.setText("")
604 self.setFGColorInfoLabel(self.defaultButtonContent["FGColorValues"])
605 self.setBGColorInfoLabel(self.defaultButtonContent["BGColorValues"])
606 self.scriptPathInput.setText("")
607

References workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.defaultButtonContent, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.iconModeSelector, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.iconPathInput, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.presetSelectorInput, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.scriptPathInput, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectedButtonIDLabel, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.setBGColorInfoLabel(), workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.setFGColorInfoLabel(), workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.toolSelector, and workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.toolTipInput.

◆ clearFGColor()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.clearFGColor ( self)

Definition at line 538 of file buttons_settings_dialog.py.

538 def clearFGColor(self):
539 if self.selectedButtonID < 1:
540 return
541 self.buttonsContentList[self.selectedButtonID - 1]["FGColorValues"] = self.defaultButtonContent["FGColorValues"]
542 self.setFGColorInfoLabel(self.buttonsContentList[self.selectedButtonID - 1]["FGColorValues"])
543

References workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.buttonsContentList, workflow_buttons.workflow_buttons.WorkflowButtons.buttonsContentList, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.defaultButtonContent, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectedButtonID, and workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.setFGColorInfoLabel().

◆ createButton()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.createButton ( self,
buttonToCreate,
buttonID )

Definition at line 374 of file buttons_settings_dialog.py.

374 def createButton(self, buttonToCreate, buttonID):
375 # print("create button with buttonID: " + str(buttonID))
376 if buttonToCreate["iconMode"] == 0:
377 buttonIcon = QIcon(buttonToCreate["icon"])
378 elif buttonToCreate["iconMode"] == 1 and buttonToCreate["toolIndex"] != 0:
379 buttonIcon = INSTANCE.icon(LISTOFTOOLS[buttonToCreate["toolIndex"]]["toolIcon"])
380 elif buttonToCreate["iconMode"] == 2 and buttonToCreate["presetName"] != "":
381 brushPreset = self.allBrushPresets[buttonToCreate["presetName"]]
382 buttonIcon = QIcon(QPixmap.fromImage(brushPreset.image()))
383 else:
384 buttonIcon = QIcon()
385 button = CustomButtonForSettings(self.buttonsWidget, buttonID)
386 button.setIconSize(self.globalButtonSize)
387 button.setIcon(buttonIcon)
388 button.clicked.connect(lambda state, x=button.buttonID: self.selectButton(x))
389 self.buttonsLayout.addWidget(button)
390

References workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.allBrushPresets, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.buttonsLayout, workflow_buttons.workflow_buttons.WorkflowButtons.buttonsLayout, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.buttonsWidget, workflow_buttons.workflow_buttons.WorkflowButtons.buttonsWidget, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.globalButtonSize, workflow_buttons.workflow_buttons.WorkflowButtons.globalButtonSize, workflow_buttons.buttons_settings_dialog.CustomButtonForSettings.selectButton(), and workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectButton().

◆ deleteButton()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.deleteButton ( self)

Definition at line 608 of file buttons_settings_dialog.py.

608 def deleteButton(self):
609 # print("delete button " + str(self.selectedButtonID))
610 if self.selectedButtonID < 1 :
611 return
612 del self.buttonsContentList[self.selectedButtonID - 1]
613 self.selectedButtonID -= 1
614 if len(self.buttonsContentList) < 1:
615 self.selectedButtonID = 0
616 self.refreshButtons()
617 self.clearDialogFields()
618 return
619 if self.selectedButtonID == 0:
620 self.selectedButtonID = 1
621 self.refreshButtons()
622

References workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.buttonsContentList, workflow_buttons.workflow_buttons.WorkflowButtons.buttonsContentList, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.clearDialogFields(), workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.refreshButtons(), workflow_buttons.workflow_buttons.WorkflowButtons.refreshButtons(), and workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectedButtonID.

◆ iconModeChanged()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.iconModeChanged ( self,
iconModeIndex )

◆ iconPathChanged()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.iconPathChanged ( self)

◆ moveButtonLeft()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.moveButtonLeft ( self)

Definition at line 623 of file buttons_settings_dialog.py.

623 def moveButtonLeft(self):
624 # print("moveLeft button " + str(self.selectedButtonID))
625 if self.selectedButtonID <= 1:
626 return
627 self.buttonsContentList.insert(self.selectedButtonID - 2, self.buttonsContentList.pop(self.selectedButtonID - 1))
628 self.selectedButtonID -= 1
629 self.refreshButtons()
630

References workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.buttonsContentList, workflow_buttons.workflow_buttons.WorkflowButtons.buttonsContentList, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.refreshButtons(), workflow_buttons.workflow_buttons.WorkflowButtons.refreshButtons(), and workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectedButtonID.

◆ moveButtonRight()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.moveButtonRight ( self)

Definition at line 631 of file buttons_settings_dialog.py.

631 def moveButtonRight(self):
632 # print("moveRight button " + str(self.selectedButtonID))
633 if self.selectedButtonID >= len(self.buttonsContentList):
634 return
635 self.buttonsContentList.insert(self.selectedButtonID, self.buttonsContentList.pop(self.selectedButtonID - 1))
636 self.selectedButtonID += 1
637 self.refreshButtons()
638

References workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.buttonsContentList, workflow_buttons.workflow_buttons.WorkflowButtons.buttonsContentList, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.refreshButtons(), workflow_buttons.workflow_buttons.WorkflowButtons.refreshButtons(), and workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectedButtonID.

◆ populateButtons()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.populateButtons ( self)

Definition at line 397 of file buttons_settings_dialog.py.

397 def populateButtons(self):
398 # print("populateButtons called")
399 buttonID = 0
400 for buttonToCreate in self.buttonsContentList:
401 buttonID += 1
402 # print("create button id " + str(buttonID))
403 self.createButton(buttonToCreate, buttonID)
404 self.selectButton(self.selectedButtonID)
405

References workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.buttonsContentList, workflow_buttons.workflow_buttons.WorkflowButtons.buttonsContentList, KisSelectionActionsPanel.createButton(), workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.createButton(), workflow_buttons.buttons_settings_dialog.CustomButtonForSettings.selectButton(), workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectButton(), and workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectedButtonID.

◆ populateIconModeList()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.populateIconModeList ( self)

Definition at line 349 of file buttons_settings_dialog.py.

349 def populateIconModeList(self):
350 listIndex = -1
351 for mode in LISTOFICONMODES:
352 listIndex += 1
353 self.iconModeSelector.insertItem(listIndex,str(LISTOFICONMODES[listIndex]) + " ")
354 # extra " " to workaround possible cut of last letter...
355

References workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.iconModeSelector.

◆ populateSizeList()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.populateSizeList ( self)

Definition at line 368 of file buttons_settings_dialog.py.

368 def populateSizeList(self):
369 listIndex = -1
370 for size in LISTOFSIZES:
371 listIndex += 1
372 self.buttonsSizeSelector.insertItem(listIndex,str(LISTOFSIZES[listIndex]))
373

References workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.buttonsSizeSelector.

◆ populateToolList()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.populateToolList ( self)

Definition at line 356 of file buttons_settings_dialog.py.

356 def populateToolList(self):
357 toolNumber = 0
358 # Workaround to avoid passing an empty string to i18n(), which triggers a warning.
359 self.toolSelector.insertItem(toolNumber,
360 INSTANCE.icon(LISTOFTOOLS[toolNumber]["toolIcon"]),
361 LISTOFTOOLS[toolNumber]["toolString"])
362 for tool in LISTOFTOOLS[1:]:
363 toolNumber += 1
364 self.toolSelector.insertItem(toolNumber,
365 INSTANCE.icon(LISTOFTOOLS[toolNumber]["toolIcon"]),
366 i18n(LISTOFTOOLS[toolNumber]["toolString"]))
367

References workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.toolSelector.

◆ presetChanged()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.presetChanged ( self)

◆ refreshButtons()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.refreshButtons ( self)

◆ scriptPathChanged()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.scriptPathChanged ( self)

Definition at line 589 of file buttons_settings_dialog.py.

589 def scriptPathChanged(self):
590 # print("icon path edited...")
591 if self.selectedButtonID < 1:
592 return
593 self.buttonsContentList[self.selectedButtonID - 1]["script"] = self.scriptPathInput.text()
594

References workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.buttonsContentList, workflow_buttons.workflow_buttons.WorkflowButtons.buttonsContentList, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.scriptPathInput, and workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectedButtonID.

◆ selectBGColor()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectBGColor ( self)

Definition at line 558 of file buttons_settings_dialog.py.

558 def selectBGColor(self):
559 if self.selectedButtonID < 1:
560 return
561 # print("BGColor edited...")
562 savedColor = { "model":"", "depth":"", "components":[] }
563 currentBGColor = INSTANCE.activeWindow().activeView().backgroundColor()
564 savedColor["model"] = currentBGColor.colorModel()
565 savedColor["depth"] = currentBGColor.colorDepth()
566 savedColor["components"] = currentBGColor.components()
567 savedColor["profile"] = currentBGColor.colorProfile()
568 self.buttonsContentList[self.selectedButtonID - 1]["BGColorValues"] = savedColor
569 self.setBGColorInfoLabel(savedColor)
570

References workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.buttonsContentList, workflow_buttons.workflow_buttons.WorkflowButtons.buttonsContentList, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectedButtonID, and workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.setBGColorInfoLabel().

◆ selectButton()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectButton ( self,
buttonID )

Definition at line 425 of file buttons_settings_dialog.py.

425 def selectButton(self, buttonID):
426 # print("selectButton " + str(buttonID))
427 self.selectedButtonID = buttonID
428 for widget in self.buttonsWidget.children():
429 if isinstance(widget, CustomButtonForSettings):
430 if widget.buttonID == self.selectedButtonID:
431 widget.selectButton()
432 else:
433 widget.deselectButton()
434 self.updateDialogFields()
435

References workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.buttonsWidget, workflow_buttons.workflow_buttons.WorkflowButtons.buttonsWidget, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectedButtonID, and workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.updateDialogFields().

◆ selectFGColor()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectFGColor ( self)

Definition at line 525 of file buttons_settings_dialog.py.

525 def selectFGColor(self):
526 if self.selectedButtonID < 1:
527 return
528 # print("FGColor edited...")
529 savedColor = { "model":"", "depth":"", "components":[] }
530 currentFGColor = INSTANCE.activeWindow().activeView().foregroundColor()
531 savedColor["model"] = currentFGColor.colorModel()
532 savedColor["depth"] = currentFGColor.colorDepth()
533 savedColor["components"] = currentFGColor.components()
534 savedColor["profile"] = currentFGColor.colorProfile()
535 self.buttonsContentList[self.selectedButtonID - 1]["FGColorValues"] = savedColor
536 self.setFGColorInfoLabel(savedColor)
537

References workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.buttonsContentList, workflow_buttons.workflow_buttons.WorkflowButtons.buttonsContentList, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectedButtonID, and workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.setFGColorInfoLabel().

◆ selectIcon()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectIcon ( self)

Definition at line 451 of file buttons_settings_dialog.py.

451 def selectIcon(self):
452 # print("select icon dialog started")
453 if self.selectedButtonID < 1:
454 return
455
456 dialog = FileDialog(self)
457 dialog.setImageFilters() # all supported image formats
458 selectedFile = dialog.filename()
459 if selectedFile:
460 self.iconPathInput.setText(selectedFile)
461 self.iconPathChanged()
462

References workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.iconPathChanged, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.iconPathChanged(), workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.iconPathInput, and workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectedButtonID.

◆ selectPreset()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectPreset ( self)

Definition at line 484 of file buttons_settings_dialog.py.

484 def selectPreset(self):
485 # print("select preset dialog started")
486 if self.selectedButtonID < 1:
487 return
488 dialog = QDialog(self)
489 dialogLayout = QVBoxLayout(dialog)
490 presetChooser = PresetChooser(dialog)
491 dialogLayout.addWidget(presetChooser)
492 buttonBox = QDialogButtonBox(dialog)
493 buttonBox.setStandardButtons( QDialogButtonBox.StandardButton.Ok | QDialogButtonBox.StandardButton.Cancel)
494 buttonBox.accepted.connect(dialog.accept)
495 buttonBox.rejected.connect(dialog.reject)
496 dialogLayout.addWidget(buttonBox)
497
498 dialog.exec()
499 if dialog.result() == 1 and presetChooser.currentPreset():
500 self.presetSelectorInput.setText(presetChooser.currentPreset().name())
501 self.presetChanged()
502
The PresetChooser widget wraps the KisPresetChooser widget. The widget provides for selecting brush p...

References workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.presetChanged, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.presetChanged(), workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.presetSelectorInput, and workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectedButtonID.

◆ selectScript()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectScript ( self)

Definition at line 577 of file buttons_settings_dialog.py.

577 def selectScript(self):
578 # print("select script dialog started")
579 if self.selectedButtonID < 1:
580 return
581 dialog = FileDialog(self)
582 dialog.setNameFilter(i18n("Script files ") + "(*.py)")
583 selectedFile = dialog.filename()
584
585 if selectedFile:
586 self.scriptPathInput.setText(selectedFile)
587 self.scriptPathChanged()
588

References workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.scriptPathChanged, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.scriptPathChanged(), workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.scriptPathInput, and workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectedButtonID.

◆ setBGColorInfoLabel()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.setBGColorInfoLabel ( self,
values )

Definition at line 544 of file buttons_settings_dialog.py.

544 def setBGColorInfoLabel(self, values):
545 colorInfoLabel = i18n("Color info: ")
546 colorModel = values["model"]
547 if colorModel == "":
548 self.BGColorInfoLabel.setText(colorInfoLabel)
549 else:
550 colorDepth = values["depth"]
551 colorProfile = values["profile"]
552 colorComponents = values["components"]
553 shortenedComponents = [ "%.3f" % component for component in colorComponents ]
554 separator = " ; "
555 self.BGColorInfoLabel.setText(colorInfoLabel + colorModel + separator + colorDepth + separator + colorProfile + separator + str(shortenedComponents))
556 self.BGColorPreview.setColor(values)
557

References workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.BGColorInfoLabel, and workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.BGColorPreview.

◆ setFGColorInfoLabel()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.setFGColorInfoLabel ( self,
values )

Definition at line 511 of file buttons_settings_dialog.py.

511 def setFGColorInfoLabel(self, values):
512 colorInfoLabel = i18n("Color info: ")
513 colorModel = values["model"]
514 if colorModel == "":
515 self.FGColorInfoLabel.setText(colorInfoLabel)
516 else:
517 colorDepth = values["depth"]
518 colorProfile = values["profile"]
519 colorComponents = values["components"]
520 shortenedComponents = [ "%.3f" % component for component in colorComponents ]
521 separator = " ; "
522 self.FGColorInfoLabel.setText(colorInfoLabel + colorModel + separator + colorDepth + separator + colorProfile + separator + str(shortenedComponents))
523 self.FGColorPreview.setColor(values)
524

References workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.FGColorInfoLabel, and workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.FGColorPreview.

◆ settingsButtonPositionChanged()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.settingsButtonPositionChanged ( self,
position )

Definition at line 646 of file buttons_settings_dialog.py.

646 def settingsButtonPositionChanged(self, position):
647 # print("settings button position changed")
648 self.settingsButtonPosition = position
649
650

References workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.settingsButtonPosition, and workflow_buttons.workflow_buttons.WorkflowButtons.settingsButtonPosition.

◆ toolChanged()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.toolChanged ( self,
toolIndex )

Definition at line 476 of file buttons_settings_dialog.py.

476 def toolChanged(self, toolIndex):
477 # print("tool changed")
478 if self.selectedButtonID < 1:
479 return
480 self.buttonsContentList[self.selectedButtonID - 1]["toolIndex"] = toolIndex
481 if self.iconModeSelector.currentIndex() == 1:
482 self.refreshButtons()
483

References workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.buttonsContentList, workflow_buttons.workflow_buttons.WorkflowButtons.buttonsContentList, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.iconModeSelector, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.refreshButtons(), workflow_buttons.workflow_buttons.WorkflowButtons.refreshButtons(), and workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectedButtonID.

◆ toolTipChanged()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.toolTipChanged ( self)

Definition at line 470 of file buttons_settings_dialog.py.

470 def toolTipChanged(self):
471 # print("tooltip edited...")
472 if self.selectedButtonID < 1:
473 return
474 self.buttonsContentList[self.selectedButtonID - 1]["tooltip"] = self.toolTipInput.text()
475

References workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.buttonsContentList, workflow_buttons.workflow_buttons.WorkflowButtons.buttonsContentList, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectedButtonID, and workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.toolTipInput.

◆ updateDialogFields()

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.updateDialogFields ( self)

Definition at line 411 of file buttons_settings_dialog.py.

411 def updateDialogFields(self):
412 # print("updateDialogFields called")
413 self.selectedButtonIDLabel.setText(str(self.selectedButtonID))
414 # add a line here for new dialog fields...
415 if self.selectedButtonID > 0:
416 self.iconModeSelector.setCurrentIndex(self.buttonsContentList[self.selectedButtonID - 1]["iconMode"])
417 self.iconPathInput.setText(self.buttonsContentList[self.selectedButtonID - 1]["icon"])
418 self.toolTipInput.setText(self.buttonsContentList[self.selectedButtonID - 1]["tooltip"])
419 self.toolSelector.setCurrentIndex(self.buttonsContentList[self.selectedButtonID - 1]["toolIndex"])
420 self.presetSelectorInput.setText(self.buttonsContentList[self.selectedButtonID - 1]["presetName"])
421 self.setFGColorInfoLabel(self.buttonsContentList[self.selectedButtonID - 1]["FGColorValues"])
422 self.setBGColorInfoLabel(self.buttonsContentList[self.selectedButtonID - 1]["BGColorValues"])
423 self.scriptPathInput.setText(self.buttonsContentList[self.selectedButtonID - 1]["script"])
424

References workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.buttonsContentList, workflow_buttons.workflow_buttons.WorkflowButtons.buttonsContentList, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.iconModeSelector, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.iconPathInput, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.presetSelectorInput, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.scriptPathInput, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectedButtonID, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectedButtonIDLabel, workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.setBGColorInfoLabel(), workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.setFGColorInfoLabel(), workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.toolSelector, and workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.toolTipInput.

Member Data Documentation

◆ accept

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.accept

Definition at line 340 of file buttons_settings_dialog.py.

◆ addButton

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.addButton

Definition at line 118 of file buttons_settings_dialog.py.

◆ allBrushPresets

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.allBrushPresets

Definition at line 73 of file buttons_settings_dialog.py.

◆ BGColorInfoLabel

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.BGColorInfoLabel

Definition at line 270 of file buttons_settings_dialog.py.

◆ BGColorPreview

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.BGColorPreview

Definition at line 268 of file buttons_settings_dialog.py.

◆ buttonsContentList

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.buttonsContentList

Definition at line 77 of file buttons_settings_dialog.py.

◆ buttonsLayout

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.buttonsLayout

Definition at line 89 of file buttons_settings_dialog.py.

◆ buttonsSizeChanged

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.buttonsSizeChanged

Definition at line 309 of file buttons_settings_dialog.py.

◆ buttonsSizeSelector

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.buttonsSizeSelector

Definition at line 306 of file buttons_settings_dialog.py.

◆ buttonsWidget

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.buttonsWidget

Definition at line 88 of file buttons_settings_dialog.py.

◆ clearBGColor

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.clearBGColor

Definition at line 258 of file buttons_settings_dialog.py.

◆ clearFGColor

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.clearFGColor

Definition at line 226 of file buttons_settings_dialog.py.

◆ defaultButtonContent

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.defaultButtonContent

Definition at line 78 of file buttons_settings_dialog.py.

◆ deleteButton

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.deleteButton

Definition at line 140 of file buttons_settings_dialog.py.

◆ FGColorInfoLabel

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.FGColorInfoLabel

Definition at line 240 of file buttons_settings_dialog.py.

◆ FGColorPreview

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.FGColorPreview

Definition at line 238 of file buttons_settings_dialog.py.

◆ globalButtonSize

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.globalButtonSize

Definition at line 96 of file buttons_settings_dialog.py.

◆ iconModeChanged

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.iconModeChanged

Definition at line 150 of file buttons_settings_dialog.py.

◆ iconModeSelector

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.iconModeSelector

Definition at line 148 of file buttons_settings_dialog.py.

◆ iconPathChanged

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.iconPathChanged

Definition at line 166 of file buttons_settings_dialog.py.

◆ iconPathInput

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.iconPathInput

Definition at line 164 of file buttons_settings_dialog.py.

◆ moveButtonLeft

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.moveButtonLeft

Definition at line 126 of file buttons_settings_dialog.py.

◆ moveButtonRight

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.moveButtonRight

Definition at line 132 of file buttons_settings_dialog.py.

◆ presetChanged

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.presetChanged

Definition at line 208 of file buttons_settings_dialog.py.

◆ presetSelectorInput

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.presetSelectorInput

Definition at line 206 of file buttons_settings_dialog.py.

◆ reject

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.reject

Definition at line 341 of file buttons_settings_dialog.py.

◆ scriptPathChanged

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.scriptPathChanged

Definition at line 287 of file buttons_settings_dialog.py.

◆ scriptPathInput

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.scriptPathInput

Definition at line 285 of file buttons_settings_dialog.py.

◆ selectBGColor

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectBGColor

Definition at line 255 of file buttons_settings_dialog.py.

◆ selectedButtonID

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectedButtonID

Definition at line 81 of file buttons_settings_dialog.py.

◆ selectedButtonIDLabel

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectedButtonIDLabel

Definition at line 105 of file buttons_settings_dialog.py.

◆ selectFGColor

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectFGColor

Definition at line 223 of file buttons_settings_dialog.py.

◆ selectIcon

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectIcon

Definition at line 171 of file buttons_settings_dialog.py.

◆ selectPreset

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectPreset

Definition at line 213 of file buttons_settings_dialog.py.

◆ selectScript

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.selectScript

Definition at line 292 of file buttons_settings_dialog.py.

◆ settingsButtonPosition

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.settingsButtonPosition

Definition at line 98 of file buttons_settings_dialog.py.

◆ settingsButtonPositionChanged

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.settingsButtonPositionChanged

Definition at line 326 of file buttons_settings_dialog.py.

◆ settingsButtonPositionSelector

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.settingsButtonPositionSelector

Definition at line 322 of file buttons_settings_dialog.py.

◆ sizeIndex

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.sizeIndex

Definition at line 95 of file buttons_settings_dialog.py.

◆ toolChanged

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.toolChanged

Definition at line 193 of file buttons_settings_dialog.py.

◆ toolSelector

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.toolSelector

Definition at line 191 of file buttons_settings_dialog.py.

◆ toolTipChanged

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.toolTipChanged

Definition at line 182 of file buttons_settings_dialog.py.

◆ toolTipInput

workflow_buttons.buttons_settings_dialog.ButtonsSettingsDialog.toolTipInput

Definition at line 180 of file buttons_settings_dialog.py.


The documentation for this class was generated from the following file: