Summary: | Expose ways to select/deselect nodes in the Layer docker | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Larpon <dev.larpon> |
Component: | Scripting | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | REPORTED --- | ||
Severity: | wishlist | CC: | scottpetrovic, tamtamy.tymona |
Priority: | NOR | ||
Version: | 4.2.7 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Larpon
2019-10-11 11:55:16 UTC
The Calligra code is probably very old, the current code is here: https://invent.kde.org/kde/krita/-/blob/master/libs/ui/kis_node_manager.h The only way I see right now to select nodes is through the document class see "setActiveNode" https://api.kde.org/appscomplete-api/krita-apidocs/libs/libkis/html/classDocument.html It doesn't look like there is a way to select multiple nodes at once. Right now you have to iterate over the nodes to do things with all of them. de-selecting might be a bit tricky since you must have at least one layer selection. For now it might be better to just set your active selection again if there are changes. We might be able to add a function like this... setActiveNodes(QList<Node *value>) where you could change the active selection to multiple nodes at one time. Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! I'll try and see, thanks A function setActiveNodes would also be good Thanks for your comment! Automatically switching the status of this bug to REPORTED so that the KDE team knows that the bug is ready to get confirmed. In the future you may also do this yourself when providing needed information. |