Need help creating plugins UI

I want to create a custom color picker plugin and maybe other stuff. I’ve skimmed through krita scripting school, but I feel like it’s not enough. I also tried looking into pigment.O source, but there’s too much there that I don’t know what to look for.

To start, I just want to create color sliders from specific color selector and the square from advanced color selector.

thanks!

3 Likes

Hello
In my case, To searched to learn pyqt usage many times ,step by step
I found how to define GUI Elements on the PyQt website,other tutorials and StackOverflow. etc…

For example

I haven’t tried it, but it might help be one of information:

Cheers!

4 Likes

Thank you!

This also helped me too.

I have this so far (the right panel):

I could set the foregroundColor by:

instance.activeWindow().activeView().setForeGroundColor()

i found here.

But now I’m having a hard time finding how to do “subscribe” to color changes. Like I should be able to react to changes if other color pickers change the color.
I looked at the View class but couldn’t see anything relevant.

Did I miss something?

2 Likes