This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Extending existing Krita UI through plugins

Tags: None
(comma "," separated)
jnadeau
Registered Member
Posts
3
Karma
0
OS
Hi,

Was looking at the existing scripts for plugins and realized that that they all create new windows when using them. Does that mean that it is not possible to extend the existing UI say through the pykrita api ?

I investigated a bit and found all the panels are made with qml markup files and that the plugins/extensions are made with .ui files. I tried looking at if it is possible to inject through code qml data into a qml file and it looks possible but maybe it would not be desirable that a plugin/extension do this ?

The end goal is to extend the already available UI like plugin creators do in Blender.

Thank you and good day,
User avatar
TheraHedwig
KDE Developer
Posts
1794
Karma
10
OS
Ah, not really, Krita uses Qt Designer ui files primarily with the exception of the touch docker(which uses QML).

As far as I know, it is not possible to add an extra toggle to preexisting dockers and dialogs, this is partially because our dockers and tools are c++ plugins themselves, and the Python API mostly concerns itself with the core functionality of Krita.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell