![]() Registered Member ![]()
|
Hi , is there any way to create custom dockers (along with custom keys, sliders etc) ? (I have seen customization in blender , I really want to know if I can create custom Krita dockers)
I was using my Surface Pro , and I really wanted something like an onscreeen panel on windows to use Krita faster. I would have made something quick and dirty for windows , but for other OSes I'd need to remake tham over and over again (that's just dumb)(my main system is linux). I am wondering if that can be done in Krita inbuilt so I don't have to go through hastle of customizing in every diff os. Here is the idea I came up with. ![]() https://imgur.com/a/FZZhk |
![]() Registered Member ![]()
|
This might be of use or interest to you: viewtopic.php?f=139&t=151589
Or it might not. |
![]() KDE Developer ![]()
|
If you don't feel like editing the touch docker(which, mind you, is basically what you'd wanna do), there's also this in the manual: https://docs.krita.org/How_to_make_a_Kr ... hon_plugin
What you'll proly want to do is... 1. Make that docker. Just follow what is in the documentation so you can understand what is necessary to make the plugin work in the first place. 2. Add in a main widget with a layout 3. Get the actions you wanna use with Krita.instance().action("action_name") (print Krita.instance().actions() to get a list of all possibilities). 4. For each action you'd wanna add, make a QToolButton, and set the action you got in #3 to the default action. 5. add this QToolButton widget to the mainwidget's layout. And after that play with the size of the widgets or with different types of layouts to arrange the buttons nicer or make them easier to press. |
![]() Registered Member ![]()
|
Interesting , nice
Thanks guys ![]() I'll get back with what I came up with , might take a few weeks x) |
Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]