Krita Source Code Documentation
Loading...
Searching...
No Matches
photobash_images.photobash_images_docker.PhotobashDocker Class Reference
+ Inheritance diagram for photobash_images.photobash_images_docker.PhotobashDocker:

Public Member Functions

 __init__ (self)
 
 addImageLayer (self, photoPath)
 
 buttonClick (self, position)
 
 canvasChanged (self, canvas)
 
 changedFitCanvas (self, state)
 
 changePath (self)
 
 checkPath (self, path)
 
 checkValidImages (self)
 
 closePreview (self)
 
 cursorHover (self, SIGNAL_HOVER)
 
 getImage (self, path)
 
 getImagesFromDirectory (self)
 
 initialize (self)
 
 leaveEvent (self, event)
 
 openNewDocument (self, path)
 
 openPreview (self, path)
 
 pinToFavourites (self, path)
 
 placeReference (self, path)
 
 reorganizeImages (self)
 
 setStyle (self)
 
 setupInterface (self)
 
 setupModules (self)
 
 setupVariables (self)
 
 textFilterChanged (self)
 
 unpinFromFavourites (self, path)
 
 updateCurrentPage (self, increment)
 
 updateImages (self)
 
 updatePage (self, value)
 
 updateScale (self, value)
 

Public Attributes

 allImages
 
 applicationName
 
 bg_alpha
 
 bg_hover
 
 buttonClick
 
 cachedImages
 
 cachedPathImages
 
 changedFitCanvas
 
 changePath
 
 closePreview
 
 currImageScale
 
 currPage
 
 cursorHover
 
 directoryPath
 
 directoryPlugin
 
 favouriteImages
 
 fitCanvasChecked
 
 fitCanvasSetting
 
 foundFavouritesSetting
 
 foundImages
 
 imagesButtons
 
 imageWidget
 
 layout
 
 layoutButtons
 
 mainWidget
 
 maxCachedImages
 
 maxNumPages
 
 openNewDocument
 
 openPreview
 
 pinToFavourites
 
 placeReference
 
 referencesSetting
 
 textFilterChanged
 
 unpinFromFavourites
 
 updatePage
 
 updateScale
 

Detailed Description

Definition at line 39 of file photobash_images_docker.py.

Constructor & Destructor Documentation

◆ __init__()

photobash_images.photobash_images_docker.PhotobashDocker.__init__ ( self)

Definition at line 40 of file photobash_images_docker.py.

40 def __init__(self):
41 super().__init__()
42
43 # Construct
44 self.setupVariables()
45 self.setupInterface()
46 self.setupModules()
47 self.setStyle()
48 self.initialize()
49

References photobash_images.photobash_images_docker.PhotobashDocker.__init__(), KoParameterToPathCommandPrivate.initialize(), KoFontRegistry.initialize(), KisUsageLogger.initialize(), KisCompositeOpListModel.initialize(), MultiFeedRssModel.initialize(), KisOpenGL.initialize(), DlgBugInfo.initialize(), ResourceImporter.initialize(), KisMyPaintOpSettings::Private::CacheInitializer.initialize(), KisCoordinatesConverter::Private::StandardZoomLevelsInitializer.initialize(), KisLazySharedCacheStorageBase< KisQImagePyramid, const KisBrush * >.initialize(), KisLazySharedCacheStorageBase< DataWrapper, T, Args >.initialize(), KisLazySharedCacheStorageBase< KisOptimizedBrushOutline, const KisBrush * >.initialize(), QtSingleApplication.initialize(), PhongPixelProcessor.initialize(), NearestNeighborField.initialize(), KoPathSegmentTypeCommand.initialize(), KisResourceLocator.initialize(), KisResourceCacheDb.initialize(), MaskedImage.initialize(), KisDlgPaletteEditor.initialize(), KisWdgGenerator.initialize(), KisColorSpaceSelectorPlugin.initialize(), KisScreenInformationAdapter::Private.initialize(), KisAppimageUpdater.initialize(), KisFixedPaintDevice.initialize(), colorspace.colorspace.ColorSpaceExtension.initialize, colorspace.colorspace.ColorSpaceExtension.initialize(), colorspace.uicolorspace.UIColorSpace.initialize(), documenttools.documenttools.DocumentToolsExtension.initialize, documenttools.documenttools.DocumentToolsExtension.initialize(), documenttools.tools.canvassizetool.canvassizetool.CanvasSizeTool.initialize(), documenttools.tools.rotatetool.rotatetool.RotateTool.initialize(), documenttools.tools.scaletool.scaletool.ScaleTool.initialize(), documenttools.uidocumenttools.UIDocumentTools.initialize(), exportlayers.exportlayers.ExportLayersExtension.initialize, exportlayers.exportlayers.ExportLayersExtension.initialize(), exportlayers.uiexportlayers.UIExportLayers.initialize(), filtermanager.filtermanager.FilterManagerExtension.initialize, filtermanager.filtermanager.FilterManagerExtension.initialize(), filtermanager.uifiltermanager.UIFilterManager.initialize(), photobash_images.photobash_images_docker.PhotobashDocker.initialize(), scripter.scripter.ScripterExtension.initialize(), tenbrushes.tenbrushes.TenBrushesExtension.initialize(), tenscripts.tenscripts.TenScriptsExtension.initialize(), mixer_slider_docker.ui_mixer_slider_docker.UIMixerSliderDocker.initialize(), scripter.uicontroller.UIController.initialize(), tenbrushes.uitenbrushes.UITenBrushes.initialize(), KisSprayFunctionBasedDistribution::Private.initialize(), KisSprayFunctionBasedDistribution.initialize(), scripter.scripter.ScripterExtension.initialize, tenbrushes.tenbrushes.TenBrushesExtension.initialize, tenscripts.tenscripts.TenScriptsExtension.initialize, tenscripts.uitenscripts.UITenScripts.initialize(), NearestNeighborField.initialize(), KisLayerStyleFilterProjectionPlane.setStyle(), KisDlgLayerStyle.setStyle(), psd_layer_effects_bevel_emboss.setStyle(), psd_layer_effects_overlay_base.setStyle(), photobash_images.photobash_images_docker.PhotobashDocker.setStyle(), photobash_images.photobash_images_docker.PhotobashDocker.setupInterface(), photobash_images.photobash_images_docker.PhotobashDocker.setupModules(), and photobash_images.photobash_images_docker.PhotobashDocker.setupVariables().

Member Function Documentation

◆ addImageLayer()

photobash_images.photobash_images_docker.PhotobashDocker.addImageLayer ( self,
photoPath )

Definition at line 336 of file photobash_images_docker.py.

336 def addImageLayer(self, photoPath):
337 # file no longer exists, remove from all structures
338 if not self.checkPath(photoPath):
339 self.updateImages()
340 return
341
342 # Get the document:
343 doc = Krita.instance().activeDocument()
344
345 # Saving a non-existent document causes crashes, so lets check for that first.
346 if doc is None:
347 return
348
349 # Check if there is a valid Canvas to place the Image
350 if self.canvas() is None or self.canvas().view() is None:
351 return
352
353 scale = self.currImageScale / 100
354
355 # Scale Image
356 if self.fitCanvasChecked:
357 image = QImage(photoPath).scaled(int(doc.width() * scale), int(doc.height() * scale), Qt.AspectRatioMode.KeepAspectRatio, Qt.TransformationMode.SmoothTransformation)
358 else:
359 image = QImage(photoPath)
360 # scale image
361 image = image.scaled(int(image.width() * scale), int(image.height() * scale), Qt.AspectRatioMode.KeepAspectRatio, Qt.TransformationMode.SmoothTransformation)
362
363 # MimeData
364 mimedata = QMimeData()
365 url = QUrl().fromLocalFile(photoPath)
366 mimedata.setUrls([url])
367 mimedata.setImageData(image)
368
369 # Set image in clipboard
370 QApplication.clipboard().setImage(image)
371
372 # Place Image and Refresh Canvas
373 Krita.instance().action('edit_paste').trigger()
374 Krita.instance().activeDocument().refreshProjection()
375
static Krita * instance()
instance retrieve the singleton instance of the Application object.
Definition Krita.cpp:390

References KoSnapProxy.canvas(), KoCanvasController.canvas(), KoCanvasObserverBasePrivate.canvas, KoShapeController::Private.canvas, KoShapeFillResourceConnector::Private.canvas, KoShapeManager.canvas(), KoShapeManager.canvas, KoSnapGuide.canvas, KoSnapGuide.canvas(), KoToolBase.canvas(), KoToolBasePrivate.canvas, CanvasData.canvas, KoToolProxy.canvas(), KoShapePainter.canvas, Canvas::Private.canvas, krita::DockWidget::Private.canvas, DockWidget.canvas(), View.canvas(), Private.canvas, KisCanvasWidgetBase::Private.canvas, KisCanvasWidgetBase.canvas(), KisCanvasAnimationState::Private.canvas, KoCanvasControllerWidget.canvas, Viewport.canvas(), KisShapeLayer::Private.canvas, KisShapeLayer.canvas(), KisInputManager.canvas(), KisInputManager::Private.canvas, KisCanvasResourceProvider.canvas(), KisView.canvas, KisViewManager.canvas(), KisOpenGLCanvasRenderer.canvas(), KisOpenGLCanvasRenderer::CanvasBridge.canvas(), KoCanvasControllerWidget.canvas(), KisOpenGLCanvas2::CanvasBridge.canvas(), KisAsyncColorSamplerHelper::Private.canvas, KoFillConfigWidget.canvas, KoStrokeConfigWidget.canvas, KoShadowConfigWidget.canvas, KisAnimCurvesDocker::Private.canvas, KisAnimTimelineDocker::Private.canvas, KisAnimTimelineFramesView::Private.canvas, RecorderWriter::Private.canvas, RecorderWriterManager::Private.canvas, RecorderDockerDock::Private.canvas, SnapshotDocker::Private.canvas, workflow_buttons.buttons_settings_dialog.SelectedColorPreview.canvas, SvgTextCursor.canvas, photobash_images.photobash_images_docker.PhotobashDocker.checkPath(), photobash_images.photobash_images_docker.PhotobashDocker.currImageScale, photobash_images.photobash_images_docker.PhotobashDocker.fitCanvasChecked, photobash_images.photobash_images_modulo.Photobash_Display.fitCanvasChecked, photobash_images.photobash_images_modulo.Photobash_Button.fitCanvasChecked, Krita.instance(), and photobash_images.photobash_images_docker.PhotobashDocker.updateImages().

◆ buttonClick()

photobash_images.photobash_images_docker.PhotobashDocker.buttonClick ( self,
position )

Definition at line 458 of file photobash_images_docker.py.

458 def buttonClick(self, position):
459 if position < len(self.foundImages) - len(self.imagesButtons) * self.currPage:
460 self.addImageLayer(self.foundImages[position + len(self.imagesButtons) * self.currPage])
461

◆ canvasChanged()

photobash_images.photobash_images_docker.PhotobashDocker.canvasChanged ( self,
canvas )

Definition at line 455 of file photobash_images_docker.py.

455 def canvasChanged(self, canvas):
456 pass
457

◆ changedFitCanvas()

photobash_images.photobash_images_docker.PhotobashDocker.changedFitCanvas ( self,
state )

Definition at line 243 of file photobash_images_docker.py.

243 def changedFitCanvas(self, state):
244 if state == Qt.CheckState.Checked:
245 self.fitCanvasChecked = True
246 Application.writeSetting(self.applicationName, self.fitCanvasSetting, "true")
247 else:
248 self.fitCanvasChecked = False
249 Application.writeSetting(self.applicationName, self.fitCanvasSetting, "false")
250
251 # update layout buttons, needed when dragging
252 self.imageWidget.setFitCanvas(self.fitCanvasChecked)
253
254 # normal images
255 for i in range(0, len(self.imagesButtons)):
256 self.imagesButtons[i].setFitCanvas(self.fitCanvasChecked)
257

References photobash_images.photobash_images_docker.PhotobashDocker.applicationName, photobash_images.photobash_images_docker.PhotobashDocker.fitCanvasChecked, photobash_images.photobash_images_modulo.Photobash_Display.fitCanvasChecked, photobash_images.photobash_images_modulo.Photobash_Button.fitCanvasChecked, photobash_images.photobash_images_docker.PhotobashDocker.fitCanvasSetting, photobash_images.photobash_images_docker.PhotobashDocker.imagesButtons, and photobash_images.photobash_images_docker.PhotobashDocker.imageWidget.

◆ changePath()

photobash_images.photobash_images_docker.PhotobashDocker.changePath ( self)

Definition at line 462 of file photobash_images_docker.py.

462 def changePath(self):
463 if self.directoryPath == "":
464 dialogDirectory = QStandardPaths.writableLocation(QStandardPaths.StandardLocation.PicturesLocation)
465 else:
466 dialogDirectory = self.directoryPath
467 self.directoryPath = FileDialog.getExistingDirectory(self.mainWidget, i18n("Change Directory for Images"), dialogDirectory)
468 if not self.directoryPath: return
469 Application.writeSetting(self.applicationName, self.referencesSetting, self.directoryPath)
470
471 self.favouriteImages = []
472 self.foundImages = []
473
474 Application.writeSetting(self.applicationName, self.foundFavouritesSetting, "")
475
476 if self.directoryPath == "":
477 self.layout.changePathButton.setText(i18n("Set References Folder"))
478 else:
479 self.layout.changePathButton.setText(i18n("Change References Folder"))
480 self.getImagesFromDirectory()
static QString getExistingDirectory(QWidget *parent=nullptr, const QString &caption=QString(), const QString &directory=QString(), const QString &dialogName=QString())
Create and show a file dialog and return the name of an existing directory selected by the user.

References photobash_images.photobash_images_docker.PhotobashDocker.applicationName, photobash_images.photobash_images_docker.PhotobashDocker.directoryPath, photobash_images.photobash_images_docker.PhotobashDocker.favouriteImages, photobash_images.photobash_images_docker.PhotobashDocker.foundFavouritesSetting, photobash_images.photobash_images_docker.PhotobashDocker.foundImages, FileDialog.getExistingDirectory(), photobash_images.photobash_images_docker.PhotobashDocker.getImagesFromDirectory(), KisResourceItemChooser.layout, KoToolBox::Private.layout, KisCollapsibleButtonGroup::Private.layout, KisPaintOpPresetsEditor::Private.layout, KisSpinboxColorSelector::Private.layout, KisSpinboxHSXSelector::Private.layout, KisKKeySequenceWidgetPrivate.layout, KisFilterOptionWidget::Private.layout, KisMultiSensorsSelector::Private.layout, documenttools.tools.canvassizetool.canvassizetool.CanvasSizeTool.layout, documenttools.tools.rotatetool.rotatetool.RotateTool.layout, documenttools.tools.scaletool.scaletool.ScaleTool.layout, lastdocumentsdocker.lastdocumentsdocker.LastDocumentsDocker.layout, mixer_slider_docker.mixer_slider_docker.MixerSliderDocker.layout, mixer_slider_docker.slider_line.SliderLine.layout, photobash_images.photobash_images_docker.PhotobashDocker.layout, scriptdocker.scriptdocker.ScriptDocker.layout, scripter.ui_scripter.tabwidgets.debuggerwidget.debuggerwidget.DebuggerWidget.layout, scripter.ui_scripter.tabwidgets.outputwidget.outputwidget.OutPutWidget.layout, tenscripts.uitenscripts.UITenScripts.layout, KoDialog.mainWidget(), krita.sceditor.dockwidget.DockWidget.mainWidget, photobash_images.photobash_images_docker.PhotobashDocker.mainWidget, scripter.uicontroller.UIController.mainWidget, and photobash_images.photobash_images_docker.PhotobashDocker.referencesSetting.

◆ checkPath()

photobash_images.photobash_images_docker.PhotobashDocker.checkPath ( self,
path )

Definition at line 376 of file photobash_images_docker.py.

376 def checkPath(self, path):
377 if not os.path.isfile(path):
378 if path in self.foundImages:
379 self.foundImages.remove(path)
380 if path in self.allImages:
381 self.allImages.remove(path)
382 if path in self.favouriteImages:
383 self.favouriteImages.remove(path)
384
385 dlg = QMessageBox(self)
386 dlg.setWindowTitle("Missing Image!")
387 dlg.setText("This image you tried to open was not found. Removing from the list.")
388 dlg.exec()
389
390 return False
391
392 return True
393

References photobash_images.photobash_images_docker.PhotobashDocker.allImages, photobash_images.photobash_images_docker.PhotobashDocker.favouriteImages, and photobash_images.photobash_images_docker.PhotobashDocker.foundImages.

◆ checkValidImages()

photobash_images.photobash_images_docker.PhotobashDocker.checkValidImages ( self)

Definition at line 287 of file photobash_images_docker.py.

287 def checkValidImages(self):
288 found = 0
289 for path in self.foundImages:
290 if found == 9:
291 return
292
293 if self.checkPath(path):
294 found = found + 1
295

References photobash_images.photobash_images_docker.PhotobashDocker.checkPath(), and photobash_images.photobash_images_docker.PhotobashDocker.foundImages.

◆ closePreview()

◆ cursorHover()

photobash_images.photobash_images_docker.PhotobashDocker.cursorHover ( self,
SIGNAL_HOVER )

Definition at line 258 of file photobash_images_docker.py.

258 def cursorHover(self, SIGNAL_HOVER):
259 # Display Image
260 self.layout.imageWidget.setStyleSheet(self.bg_alpha)
261 if SIGNAL_HOVER == "D":
262 self.layout.imageWidget.setStyleSheet(self.bg_hover)
263
264 # normal images
265 for i in range(0, len(self.layoutButtons)):
266 self.layoutButtons[i].setStyleSheet(self.bg_alpha)
267
268 if SIGNAL_HOVER == str(i):
269 self.layoutButtons[i].setStyleSheet(self.bg_hover)
270

References photobash_images.photobash_images_docker.PhotobashDocker.bg_alpha, photobash_images.photobash_images_docker.PhotobashDocker.bg_hover, KisResourceItemChooser.layout, KoToolBox::Private.layout, KisCollapsibleButtonGroup::Private.layout, KisPaintOpPresetsEditor::Private.layout, KisSpinboxColorSelector::Private.layout, KisSpinboxHSXSelector::Private.layout, KisKKeySequenceWidgetPrivate.layout, KisFilterOptionWidget::Private.layout, KisMultiSensorsSelector::Private.layout, documenttools.tools.canvassizetool.canvassizetool.CanvasSizeTool.layout, documenttools.tools.rotatetool.rotatetool.RotateTool.layout, documenttools.tools.scaletool.scaletool.ScaleTool.layout, lastdocumentsdocker.lastdocumentsdocker.LastDocumentsDocker.layout, mixer_slider_docker.mixer_slider_docker.MixerSliderDocker.layout, mixer_slider_docker.slider_line.SliderLine.layout, photobash_images.photobash_images_docker.PhotobashDocker.layout, scriptdocker.scriptdocker.ScriptDocker.layout, scripter.ui_scripter.tabwidgets.debuggerwidget.debuggerwidget.DebuggerWidget.layout, scripter.ui_scripter.tabwidgets.outputwidget.outputwidget.OutPutWidget.layout, tenscripts.uitenscripts.UITenScripts.layout, and photobash_images.photobash_images_docker.PhotobashDocker.layoutButtons.

◆ getImage()

photobash_images.photobash_images_docker.PhotobashDocker.getImage ( self,
path )

Definition at line 272 of file photobash_images_docker.py.

272 def getImage(self, path):
273 if path in self.cachedPathImages:
274 return self.cachedImages[path]
275
276 # need to remove from cache
277 if len(self.cachedImages) > self.maxCachedImages:
278 removedPath = self.cachedPathImages.pop()
279 self.cachedImages.pop(removedPath)
280
281 self.cachedPathImages = [path] + self.cachedPathImages
282 self.cachedImages[path] = QImage(path).scaled(200, 200, Qt.AspectRatioMode.KeepAspectRatio, Qt.TransformationMode.FastTransformation)
283
284 return self.cachedImages[path]
285

References photobash_images.photobash_images_docker.PhotobashDocker.cachedImages, photobash_images.photobash_images_docker.PhotobashDocker.cachedPathImages, and photobash_images.photobash_images_docker.PhotobashDocker.maxCachedImages.

◆ getImagesFromDirectory()

photobash_images.photobash_images_docker.PhotobashDocker.getImagesFromDirectory ( self)

Definition at line 191 of file photobash_images_docker.py.

191 def getImagesFromDirectory(self):
192 newImages = []
193 self.currPage = 0
194
195 if self.directoryPath == "":
196 self.foundImages = []
197 self.favouriteImages = []
198 self.updateImages()
199 return
200
201 it = QDirIterator(self.directoryPath, QDirIterator.IteratorFlag.Subdirectories)
202
203
204 while(it.hasNext()):
205 if (".webp" in it.filePath() or ".png" in it.filePath() or ".jpg" in it.filePath() or ".jpeg" in it.filePath()) and \
206 (not ".webp~" in it.filePath() and not ".png~" in it.filePath() and not ".jpg~" in it.filePath() and not ".jpeg~" in it.filePath()):
207 newImages.append(it.filePath())
208
209 it.next()
210
211 self.foundImages = copy.deepcopy(newImages)
212 self.allImages = copy.deepcopy(newImages)
213 self.reorganizeImages()
214 self.updateImages()
215

References photobash_images.photobash_images_docker.PhotobashDocker.currPage, photobash_images.photobash_images_docker.PhotobashDocker.directoryPath, photobash_images.photobash_images_docker.PhotobashDocker.favouriteImages, photobash_images.photobash_images_docker.PhotobashDocker.foundImages, and photobash_images.photobash_images_docker.PhotobashDocker.updateImages().

◆ initialize()

photobash_images.photobash_images_docker.PhotobashDocker.initialize ( self)

Definition at line 148 of file photobash_images_docker.py.

148 def initialize(self):
149 # initialize based on what was setup
150 if self.directoryPath != "":
151 self.layout.changePathButton.setText(i18n("Change References Folder"))
152 self.getImagesFromDirectory()
153 self.layout.fitCanvasCheckBox.setChecked(self.fitCanvasChecked)
154
155 # initial organization of images with favourites
156 self.reorganizeImages()
157 self.layout.scaleSliderLabel.setText(i18n("Image Scale: {0}%").format(100))
158
159 self.updateImages()
160

References photobash_images.photobash_images_docker.PhotobashDocker.directoryPath, photobash_images.photobash_images_docker.PhotobashDocker.fitCanvasChecked, photobash_images.photobash_images_modulo.Photobash_Display.fitCanvasChecked, photobash_images.photobash_images_modulo.Photobash_Button.fitCanvasChecked, photobash_images.photobash_images_docker.PhotobashDocker.getImagesFromDirectory(), KisResourceItemChooser.layout, KoToolBox::Private.layout, KisCollapsibleButtonGroup::Private.layout, KisPaintOpPresetsEditor::Private.layout, KisSpinboxColorSelector::Private.layout, KisSpinboxHSXSelector::Private.layout, KisKKeySequenceWidgetPrivate.layout, KisFilterOptionWidget::Private.layout, KisMultiSensorsSelector::Private.layout, documenttools.tools.canvassizetool.canvassizetool.CanvasSizeTool.layout, documenttools.tools.rotatetool.rotatetool.RotateTool.layout, documenttools.tools.scaletool.scaletool.ScaleTool.layout, lastdocumentsdocker.lastdocumentsdocker.LastDocumentsDocker.layout, mixer_slider_docker.mixer_slider_docker.MixerSliderDocker.layout, mixer_slider_docker.slider_line.SliderLine.layout, photobash_images.photobash_images_docker.PhotobashDocker.layout, scriptdocker.scriptdocker.ScriptDocker.layout, scripter.ui_scripter.tabwidgets.debuggerwidget.debuggerwidget.DebuggerWidget.layout, scripter.ui_scripter.tabwidgets.outputwidget.outputwidget.OutPutWidget.layout, tenscripts.uitenscripts.UITenScripts.layout, photobash_images.photobash_images_docker.PhotobashDocker.reorganizeImages(), and photobash_images.photobash_images_docker.PhotobashDocker.updateImages().

◆ leaveEvent()

◆ openNewDocument()

photobash_images.photobash_images_docker.PhotobashDocker.openNewDocument ( self,
path )

Definition at line 394 of file photobash_images_docker.py.

394 def openNewDocument(self, path):
395 if not self.checkPath(path):
396 self.updateImages()
397 return
398
399 document = Krita.instance().openDocument(path)
400 Application.activeWindow().addView(document)
401

References photobash_images.photobash_images_docker.PhotobashDocker.checkPath(), Krita.instance(), and photobash_images.photobash_images_docker.PhotobashDocker.updateImages().

◆ openPreview()

photobash_images.photobash_images_docker.PhotobashDocker.openPreview ( self,
path )

Definition at line 417 of file photobash_images_docker.py.

417 def openPreview(self, path):
418 self.imageWidget.setImage(path, self.getImage(path))
419 self.layout.imageWidget.setSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding)
420 self.layout.middleWidget.setSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Ignored)
421

References KisReferenceImage.getImage(), KisPaintopPresetIconLibrary.getImage(), KisResourceThumbnailCache.getImage(), photobash_images.photobash_images_docker.PhotobashDocker.getImage(), photobash_images.photobash_images_docker.PhotobashDocker.imageWidget, KisResourceItemChooser.layout, KoToolBox::Private.layout, KisCollapsibleButtonGroup::Private.layout, KisPaintOpPresetsEditor::Private.layout, KisSpinboxColorSelector::Private.layout, KisSpinboxHSXSelector::Private.layout, KisKKeySequenceWidgetPrivate.layout, KisFilterOptionWidget::Private.layout, KisMultiSensorsSelector::Private.layout, documenttools.tools.canvassizetool.canvassizetool.CanvasSizeTool.layout, documenttools.tools.rotatetool.rotatetool.RotateTool.layout, documenttools.tools.scaletool.scaletool.ScaleTool.layout, lastdocumentsdocker.lastdocumentsdocker.LastDocumentsDocker.layout, mixer_slider_docker.mixer_slider_docker.MixerSliderDocker.layout, mixer_slider_docker.slider_line.SliderLine.layout, photobash_images.photobash_images_docker.PhotobashDocker.layout, scriptdocker.scriptdocker.ScriptDocker.layout, scripter.ui_scripter.tabwidgets.debuggerwidget.debuggerwidget.DebuggerWidget.layout, scripter.ui_scripter.tabwidgets.outputwidget.outputwidget.OutPutWidget.layout, and tenscripts.uitenscripts.UITenScripts.layout.

◆ pinToFavourites()

photobash_images.photobash_images_docker.PhotobashDocker.pinToFavourites ( self,
path )

Definition at line 426 of file photobash_images_docker.py.

426 def pinToFavourites(self, path):
427 self.currPage = 0
428 self.favouriteImages = [path] + self.favouriteImages
429
430 # save setting for next restart
431 Application.writeSetting(self.applicationName, self.foundFavouritesSetting, str(self.favouriteImages))
432 self.reorganizeImages()
433 self.updateImages()
434

References photobash_images.photobash_images_docker.PhotobashDocker.applicationName, photobash_images.photobash_images_docker.PhotobashDocker.currPage, photobash_images.photobash_images_docker.PhotobashDocker.favouriteImages, photobash_images.photobash_images_docker.PhotobashDocker.foundFavouritesSetting, photobash_images.photobash_images_docker.PhotobashDocker.reorganizeImages(), and photobash_images.photobash_images_docker.PhotobashDocker.updateImages().

◆ placeReference()

photobash_images.photobash_images_docker.PhotobashDocker.placeReference ( self,
path )

Definition at line 402 of file photobash_images_docker.py.

402 def placeReference(self, path):
403 if not self.checkPath(path):
404 self.updateImages()
405 return
406
407 # MimeData
408 mimedata = QMimeData()
409 url = QUrl().fromLocalFile(path)
410 mimedata.setUrls([url])
411 image = QImage(path)
412 mimedata.setImageData(image)
413
414 QApplication.clipboard().setImage(image)
415 Krita.instance().action('paste_as_reference').trigger()
416

References photobash_images.photobash_images_docker.PhotobashDocker.checkPath(), Krita.instance(), and photobash_images.photobash_images_docker.PhotobashDocker.updateImages().

◆ reorganizeImages()

photobash_images.photobash_images_docker.PhotobashDocker.reorganizeImages ( self)

Definition at line 161 of file photobash_images_docker.py.

161 def reorganizeImages(self):
162 # organize images, taking into account favourites
163 # and their respective order
164 favouriteFoundImages = []
165 for image in self.favouriteImages:
166 if image in self.foundImages:
167 self.foundImages.remove(image)
168 favouriteFoundImages.append(image)
169
170 self.foundImages = favouriteFoundImages + self.foundImages
171

References photobash_images.photobash_images_docker.PhotobashDocker.favouriteImages, and photobash_images.photobash_images_docker.PhotobashDocker.foundImages.

◆ setStyle()

photobash_images.photobash_images_docker.PhotobashDocker.setStyle ( self)

Definition at line 144 of file photobash_images_docker.py.

144 def setStyle(self):
145 # Displays
146 self.cursorHover(None)
147

References photobash_images.photobash_images_docker.PhotobashDocker.cursorHover, and photobash_images.photobash_images_docker.PhotobashDocker.cursorHover().

◆ setupInterface()

photobash_images.photobash_images_docker.PhotobashDocker.setupInterface ( self)

Definition at line 81 of file photobash_images_docker.py.

81 def setupInterface(self):
82 # Window
83 self.setWindowTitle(i18nc("@title:window", "Photobash Images"))
84
85 # Path Name
86 self.directoryPlugin = str(os.path.dirname(os.path.realpath(__file__)))
87
88 # Photo Bash Docker
89 self.mainWidget = QWidget(self)
90 self.setWidget(self.mainWidget)
91
92 self.layout = uic.loadUi(self.directoryPlugin + '/photobash_images_docker.ui', self.mainWidget)
93
94 self.layoutButtons = [
95 self.layout.imagesButtons0,
96 self.layout.imagesButtons1,
97 self.layout.imagesButtons2,
98 self.layout.imagesButtons3,
99 self.layout.imagesButtons4,
100 self.layout.imagesButtons5,
101 self.layout.imagesButtons6,
102 self.layout.imagesButtons7,
103 self.layout.imagesButtons8,
104 ]
105
106 # Adjust Layouts
107 self.layout.imageWidget.setSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Ignored)
108 self.layout.middleWidget.setSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding)
109
110 # setup connections for top elements
111 self.layout.filterTextEdit.textChanged.connect(self.textFilterChanged)
112 self.layout.changePathButton.clicked.connect(self.changePath)
113 # setup connections for bottom elements
114 self.layout.previousButton.clicked.connect(lambda: self.updateCurrentPage(-1))
115 self.layout.nextButton.clicked.connect(lambda: self.updateCurrentPage(1))
116 self.layout.scaleSlider.valueChanged.connect(self.updateScale)
117 self.layout.paginationSlider.setMinimum(0)
118 self.layout.paginationSlider.valueChanged.connect(self.updatePage)
119 self.layout.fitCanvasCheckBox.stateChanged.connect(self.changedFitCanvas)
120

References KisPipeBrushParasite.dim, KisSpinBoxUnitManager.dim, FlattenSpec.dim, and xcfLayer.dim.

◆ setupModules()

photobash_images.photobash_images_docker.PhotobashDocker.setupModules ( self)

Definition at line 121 of file photobash_images_docker.py.

121 def setupModules(self):
122 # Display Single
123 self.imageWidget = Photobash_Display(self.layout.imageWidget)
124 self.imageWidget.SIGNAL_HOVER.connect(self.cursorHover)
125 self.imageWidget.SIGNAL_CLOSE.connect(self.closePreview)
126
127 # Display Grid
128 self.imagesButtons = []
129 for i in range(0, len(self.layoutButtons)):
130 layoutButton = self.layoutButtons[i]
131 imageButton = Photobash_Button(layoutButton)
132 imageButton.setNumber(i)
133 imageButton.SIGNAL_HOVER.connect(self.cursorHover)
134 imageButton.SIGNAL_LMB.connect(self.buttonClick)
135 imageButton.SIGNAL_WUP.connect(lambda: self.updateCurrentPage(-1))
136 imageButton.SIGNAL_WDN.connect(lambda: self.updateCurrentPage(1))
137 imageButton.SIGNAL_PREVIEW.connect(self.openPreview)
138 imageButton.SIGNAL_FAVOURITE.connect(self.pinToFavourites)
139 imageButton.SIGNAL_UN_FAVOURITE.connect(self.unpinFromFavourites)
140 imageButton.SIGNAL_OPEN_NEW.connect(self.openNewDocument)
141 imageButton.SIGNAL_REFERENCE.connect(self.placeReference)
142 self.imagesButtons.append(imageButton)
143

◆ setupVariables()

photobash_images.photobash_images_docker.PhotobashDocker.setupVariables ( self)

Definition at line 50 of file photobash_images_docker.py.

50 def setupVariables(self):
51 self.mainWidget = QWidget(self)
52
53 self.applicationName = "Photobash"
54 self.referencesSetting = "referencesDirectory"
55 self.fitCanvasSetting = "fitToCanvas"
56 self.foundFavouritesSetting = "currentFavourites"
57
58 self.currImageScale = 100
59 self.fitCanvasChecked = bool(Application.readSetting(self.applicationName, self.fitCanvasSetting, "True"))
60 self.imagesButtons = []
61 self.foundImages = []
62 self.favouriteImages = []
63 # maps path to image
64 self.cachedImages = {}
65 # store order of push
66 self.cachedPathImages = []
67 self.maxCachedImages = 90
68 self.maxNumPages = 9999
69
70 self.currPage = 0
71 self.directoryPath = Application.readSetting(self.applicationName, self.referencesSetting, "")
72 favouriteImagesValues = Application.readSetting(self.applicationName, self.foundFavouritesSetting, "").split("'")
73
74 for value in favouriteImagesValues:
75 if value != "[" and value != ", " and value != "]" and value != "" and value != "[]":
76 self.favouriteImages.append(value)
77
78 self.bg_alpha = str("background-color: rgba(0, 0, 0, 50); ")
79 self.bg_hover = str("background-color: rgba(0, 0, 0, 100); ")
80

◆ textFilterChanged()

photobash_images.photobash_images_docker.PhotobashDocker.textFilterChanged ( self)

Definition at line 172 of file photobash_images_docker.py.

172 def textFilterChanged(self):
173 stringsInText = self.layout.filterTextEdit.text().lower().split(" ")
174 if self.layout.filterTextEdit.text().lower() == "":
175 self.foundImages = copy.deepcopy(self.allImages)
176 self.reorganizeImages()
177 self.updateImages()
178 return
179
180 newImages = []
181 for word in stringsInText:
182 for path in self.allImages:
183 # exclude path outside from search
184 if word in path.replace(self.directoryPath, "").lower() and not path in newImages and word != "" and word != " ":
185 newImages.append(path)
186
187 self.foundImages = newImages
188 self.reorganizeImages()
189 self.updateImages()
190

References photobash_images.photobash_images_docker.PhotobashDocker.allImages, photobash_images.photobash_images_docker.PhotobashDocker.directoryPath, photobash_images.photobash_images_docker.PhotobashDocker.foundImages, KisResourceItemChooser.layout, KoToolBox::Private.layout, KisCollapsibleButtonGroup::Private.layout, KisPaintOpPresetsEditor::Private.layout, KisSpinboxColorSelector::Private.layout, KisSpinboxHSXSelector::Private.layout, KisKKeySequenceWidgetPrivate.layout, KisFilterOptionWidget::Private.layout, KisMultiSensorsSelector::Private.layout, documenttools.tools.canvassizetool.canvassizetool.CanvasSizeTool.layout, documenttools.tools.rotatetool.rotatetool.RotateTool.layout, documenttools.tools.scaletool.scaletool.ScaleTool.layout, lastdocumentsdocker.lastdocumentsdocker.LastDocumentsDocker.layout, mixer_slider_docker.mixer_slider_docker.MixerSliderDocker.layout, mixer_slider_docker.slider_line.SliderLine.layout, photobash_images.photobash_images_docker.PhotobashDocker.layout, scriptdocker.scriptdocker.ScriptDocker.layout, scripter.ui_scripter.tabwidgets.debuggerwidget.debuggerwidget.DebuggerWidget.layout, scripter.ui_scripter.tabwidgets.outputwidget.outputwidget.OutPutWidget.layout, tenscripts.uitenscripts.UITenScripts.layout, photobash_images.photobash_images_docker.PhotobashDocker.reorganizeImages(), and photobash_images.photobash_images_docker.PhotobashDocker.updateImages().

◆ unpinFromFavourites()

photobash_images.photobash_images_docker.PhotobashDocker.unpinFromFavourites ( self,
path )

Definition at line 435 of file photobash_images_docker.py.

435 def unpinFromFavourites(self, path):
436 if path in self.favouriteImages:
437 self.favouriteImages.remove(path)
438
439 Application.writeSetting(self.applicationName, self.foundFavouritesSetting, str(self.favouriteImages))
440
441 # resets order to the default, but checks if foundImages is only a subset
442 # in case it is searching
443 orderedImages = []
444 for image in self.allImages:
445 if image in self.foundImages:
446 orderedImages.append(image)
447
448 self.foundImages = orderedImages
449 self.reorganizeImages()
450 self.updateImages()
451

References photobash_images.photobash_images_docker.PhotobashDocker.allImages, photobash_images.photobash_images_docker.PhotobashDocker.applicationName, photobash_images.photobash_images_docker.PhotobashDocker.favouriteImages, photobash_images.photobash_images_docker.PhotobashDocker.foundFavouritesSetting, photobash_images.photobash_images_docker.PhotobashDocker.foundImages, photobash_images.photobash_images_docker.PhotobashDocker.reorganizeImages(), and photobash_images.photobash_images_docker.PhotobashDocker.updateImages().

◆ updateCurrentPage()

photobash_images.photobash_images_docker.PhotobashDocker.updateCurrentPage ( self,
increment )

Definition at line 216 of file photobash_images_docker.py.

216 def updateCurrentPage(self, increment):
217 if (self.currPage == 0 and increment == -1) or \
218 ((self.currPage + 1) * len(self.imagesButtons) > len(self.foundImages) and increment == 1) or \
219 len(self.foundImages) == 0:
220 return
221
222 self.currPage += increment
223 maxNumPage = math.ceil(len(self.foundImages) / len(self.layoutButtons))
224 self.currPage = max(0, min(self.currPage, maxNumPage - 1))
225 self.updateImages()
226

References photobash_images.photobash_images_docker.PhotobashDocker.currPage, photobash_images.photobash_images_docker.PhotobashDocker.foundImages, photobash_images.photobash_images_docker.PhotobashDocker.imagesButtons, photobash_images.photobash_images_docker.PhotobashDocker.layoutButtons, and photobash_images.photobash_images_docker.PhotobashDocker.updateImages().

◆ updateImages()

photobash_images.photobash_images_docker.PhotobashDocker.updateImages ( self)

Definition at line 296 of file photobash_images_docker.py.

296 def updateImages(self):
297 self.checkValidImages()
298 buttonsSize = len(self.imagesButtons)
299
300 # don't try to access image that isn't there
301 maxRange = min(len(self.foundImages) - self.currPage * buttonsSize, buttonsSize)
302
303 for i in range(0, len(self.imagesButtons)):
304 if i < maxRange:
305 # image is within valid range, apply it
306 path = self.foundImages[i + buttonsSize * self.currPage]
307 self.imagesButtons[i].setFavourite(path in self.favouriteImages)
308 self.imagesButtons[i].setImage(path, self.getImage(path))
309 else:
310 # image is outside the range
311 self.imagesButtons[i].setFavourite(False)
312 self.imagesButtons[i].setImage("",None)
313
314 # update text for pagination
315 maxNumPage = math.ceil(len(self.foundImages) / len(self.layoutButtons))
316 currPage = self.currPage + 1
317
318 if maxNumPage == 0:
319 currPage = 0
320
321 # normalize string length
322 if currPage < 10:
323 currPage = " " + str(currPage)
324 elif currPage < 100:
325 currPage = " " + str(currPage)
326 elif currPage < 1000:
327 currPage = " " + str(currPage)
328
329 # currPage is the index, but we want to present it in a user friendly way,
330 # so it starts at 1
331 self.layout.paginationLabel.setText(i18n("Page: {0}/{1}").format(currPage, maxNumPage))
332 # correction since array begins at 0
333 self.layout.paginationSlider.setRange(0, maxNumPage - 1)
334 self.layout.paginationSlider.setSliderPosition(self.currPage)
335

References photobash_images.photobash_images_docker.PhotobashDocker.checkValidImages(), photobash_images.photobash_images_docker.PhotobashDocker.currPage, photobash_images.photobash_images_docker.PhotobashDocker.favouriteImages, photobash_images.photobash_images_docker.PhotobashDocker.foundImages, KisReferenceImage.getImage(), KisPaintopPresetIconLibrary.getImage(), KisResourceThumbnailCache.getImage(), photobash_images.photobash_images_docker.PhotobashDocker.getImage(), photobash_images.photobash_images_docker.PhotobashDocker.imagesButtons, KisResourceItemChooser.layout, KoToolBox::Private.layout, KisCollapsibleButtonGroup::Private.layout, KisPaintOpPresetsEditor::Private.layout, KisSpinboxColorSelector::Private.layout, KisSpinboxHSXSelector::Private.layout, KisKKeySequenceWidgetPrivate.layout, KisFilterOptionWidget::Private.layout, KisMultiSensorsSelector::Private.layout, documenttools.tools.canvassizetool.canvassizetool.CanvasSizeTool.layout, documenttools.tools.rotatetool.rotatetool.RotateTool.layout, documenttools.tools.scaletool.scaletool.ScaleTool.layout, lastdocumentsdocker.lastdocumentsdocker.LastDocumentsDocker.layout, mixer_slider_docker.mixer_slider_docker.MixerSliderDocker.layout, mixer_slider_docker.slider_line.SliderLine.layout, photobash_images.photobash_images_docker.PhotobashDocker.layout, scriptdocker.scriptdocker.ScriptDocker.layout, scripter.ui_scripter.tabwidgets.debuggerwidget.debuggerwidget.DebuggerWidget.layout, scripter.ui_scripter.tabwidgets.outputwidget.outputwidget.OutPutWidget.layout, tenscripts.uitenscripts.UITenScripts.layout, and photobash_images.photobash_images_docker.PhotobashDocker.layoutButtons.

◆ updatePage()

photobash_images.photobash_images_docker.PhotobashDocker.updatePage ( self,
value )

Definition at line 238 of file photobash_images_docker.py.

238 def updatePage(self, value):
239 maxNumPage = math.ceil(len(self.foundImages) / len(self.layoutButtons))
240 self.currPage = max(0, min(value, maxNumPage - 1))
241 self.updateImages()
242

References photobash_images.photobash_images_docker.PhotobashDocker.currPage, photobash_images.photobash_images_docker.PhotobashDocker.foundImages, photobash_images.photobash_images_docker.PhotobashDocker.layoutButtons, and photobash_images.photobash_images_docker.PhotobashDocker.updateImages().

◆ updateScale()

photobash_images.photobash_images_docker.PhotobashDocker.updateScale ( self,
value )

Definition at line 227 of file photobash_images_docker.py.

227 def updateScale(self, value):
228 self.currImageScale = value
229 self.layout.scaleSliderLabel.setText(i18n("Image Scale: {0}%").format(self.currImageScale))
230
231 # update layout buttons, needed when dragging
232 self.imageWidget.setImageScale(self.currImageScale)
233
234 # normal images
235 for i in range(0, len(self.imagesButtons)):
236 self.imagesButtons[i].setImageScale(self.currImageScale)
237

References photobash_images.photobash_images_docker.PhotobashDocker.currImageScale, photobash_images.photobash_images_docker.PhotobashDocker.imagesButtons, photobash_images.photobash_images_docker.PhotobashDocker.imageWidget, KisResourceItemChooser.layout, KoToolBox::Private.layout, KisCollapsibleButtonGroup::Private.layout, KisPaintOpPresetsEditor::Private.layout, KisSpinboxColorSelector::Private.layout, KisSpinboxHSXSelector::Private.layout, KisKKeySequenceWidgetPrivate.layout, KisFilterOptionWidget::Private.layout, KisMultiSensorsSelector::Private.layout, documenttools.tools.canvassizetool.canvassizetool.CanvasSizeTool.layout, documenttools.tools.rotatetool.rotatetool.RotateTool.layout, documenttools.tools.scaletool.scaletool.ScaleTool.layout, lastdocumentsdocker.lastdocumentsdocker.LastDocumentsDocker.layout, mixer_slider_docker.mixer_slider_docker.MixerSliderDocker.layout, mixer_slider_docker.slider_line.SliderLine.layout, photobash_images.photobash_images_docker.PhotobashDocker.layout, scriptdocker.scriptdocker.ScriptDocker.layout, scripter.ui_scripter.tabwidgets.debuggerwidget.debuggerwidget.DebuggerWidget.layout, scripter.ui_scripter.tabwidgets.outputwidget.outputwidget.OutPutWidget.layout, and tenscripts.uitenscripts.UITenScripts.layout.

Member Data Documentation

◆ allImages

photobash_images.photobash_images_docker.PhotobashDocker.allImages

Definition at line 212 of file photobash_images_docker.py.

◆ applicationName

photobash_images.photobash_images_docker.PhotobashDocker.applicationName

Definition at line 53 of file photobash_images_docker.py.

◆ bg_alpha

photobash_images.photobash_images_docker.PhotobashDocker.bg_alpha

Definition at line 78 of file photobash_images_docker.py.

◆ bg_hover

photobash_images.photobash_images_docker.PhotobashDocker.bg_hover

Definition at line 79 of file photobash_images_docker.py.

◆ buttonClick

photobash_images.photobash_images_docker.PhotobashDocker.buttonClick

Definition at line 134 of file photobash_images_docker.py.

◆ cachedImages

photobash_images.photobash_images_docker.PhotobashDocker.cachedImages

Definition at line 64 of file photobash_images_docker.py.

◆ cachedPathImages

photobash_images.photobash_images_docker.PhotobashDocker.cachedPathImages

Definition at line 66 of file photobash_images_docker.py.

◆ changedFitCanvas

photobash_images.photobash_images_docker.PhotobashDocker.changedFitCanvas

Definition at line 119 of file photobash_images_docker.py.

◆ changePath

photobash_images.photobash_images_docker.PhotobashDocker.changePath

Definition at line 112 of file photobash_images_docker.py.

◆ closePreview

photobash_images.photobash_images_docker.PhotobashDocker.closePreview

Definition at line 125 of file photobash_images_docker.py.

◆ currImageScale

photobash_images.photobash_images_docker.PhotobashDocker.currImageScale

Definition at line 58 of file photobash_images_docker.py.

◆ currPage

photobash_images.photobash_images_docker.PhotobashDocker.currPage

Definition at line 70 of file photobash_images_docker.py.

◆ cursorHover

photobash_images.photobash_images_docker.PhotobashDocker.cursorHover

Definition at line 124 of file photobash_images_docker.py.

◆ directoryPath

photobash_images.photobash_images_docker.PhotobashDocker.directoryPath

Definition at line 71 of file photobash_images_docker.py.

◆ directoryPlugin

photobash_images.photobash_images_docker.PhotobashDocker.directoryPlugin

Definition at line 86 of file photobash_images_docker.py.

◆ favouriteImages

photobash_images.photobash_images_docker.PhotobashDocker.favouriteImages

Definition at line 62 of file photobash_images_docker.py.

◆ fitCanvasChecked

photobash_images.photobash_images_docker.PhotobashDocker.fitCanvasChecked

Definition at line 59 of file photobash_images_docker.py.

◆ fitCanvasSetting

photobash_images.photobash_images_docker.PhotobashDocker.fitCanvasSetting

Definition at line 55 of file photobash_images_docker.py.

◆ foundFavouritesSetting

photobash_images.photobash_images_docker.PhotobashDocker.foundFavouritesSetting

Definition at line 56 of file photobash_images_docker.py.

◆ foundImages

photobash_images.photobash_images_docker.PhotobashDocker.foundImages

Definition at line 61 of file photobash_images_docker.py.

◆ imagesButtons

photobash_images.photobash_images_docker.PhotobashDocker.imagesButtons

Definition at line 60 of file photobash_images_docker.py.

◆ imageWidget

photobash_images.photobash_images_docker.PhotobashDocker.imageWidget

Definition at line 123 of file photobash_images_docker.py.

◆ layout

photobash_images.photobash_images_docker.PhotobashDocker.layout

Definition at line 92 of file photobash_images_docker.py.

◆ layoutButtons

photobash_images.photobash_images_docker.PhotobashDocker.layoutButtons

Definition at line 94 of file photobash_images_docker.py.

◆ mainWidget

photobash_images.photobash_images_docker.PhotobashDocker.mainWidget

Definition at line 51 of file photobash_images_docker.py.

◆ maxCachedImages

photobash_images.photobash_images_docker.PhotobashDocker.maxCachedImages

Definition at line 67 of file photobash_images_docker.py.

◆ maxNumPages

photobash_images.photobash_images_docker.PhotobashDocker.maxNumPages

Definition at line 68 of file photobash_images_docker.py.

◆ openNewDocument

photobash_images.photobash_images_docker.PhotobashDocker.openNewDocument

Definition at line 140 of file photobash_images_docker.py.

◆ openPreview

photobash_images.photobash_images_docker.PhotobashDocker.openPreview

Definition at line 137 of file photobash_images_docker.py.

◆ pinToFavourites

photobash_images.photobash_images_docker.PhotobashDocker.pinToFavourites

Definition at line 138 of file photobash_images_docker.py.

◆ placeReference

photobash_images.photobash_images_docker.PhotobashDocker.placeReference

Definition at line 141 of file photobash_images_docker.py.

◆ referencesSetting

photobash_images.photobash_images_docker.PhotobashDocker.referencesSetting

Definition at line 54 of file photobash_images_docker.py.

◆ textFilterChanged

photobash_images.photobash_images_docker.PhotobashDocker.textFilterChanged

Definition at line 111 of file photobash_images_docker.py.

◆ unpinFromFavourites

photobash_images.photobash_images_docker.PhotobashDocker.unpinFromFavourites

Definition at line 139 of file photobash_images_docker.py.

◆ updatePage

photobash_images.photobash_images_docker.PhotobashDocker.updatePage

Definition at line 118 of file photobash_images_docker.py.

◆ updateScale

photobash_images.photobash_images_docker.PhotobashDocker.updateScale

Definition at line 116 of file photobash_images_docker.py.


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