Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

plug: Qt Apps Integrator #6

Open
1 task done
Akergez opened this issue Sep 6, 2022 · 17 comments
Open
1 task done

plug: Qt Apps Integrator #6

Akergez opened this issue Sep 6, 2022 · 17 comments
Labels
enhancement New feature or request plugin-request

Comments

@Akergez
Copy link

Akergez commented Sep 6, 2022

Plugin description

Add https://gitlab.com/ragusseven/Gradience-To-Qt-Theme-Converter as plugin to Gradience

Additional Context

I need some help to add plugin to Gradience. Is there guide to write plugins?

Did you read the Code of Conduct?

@Akergez Akergez added enhancement New feature or request plugin-request labels Sep 6, 2022
@0xMRTT
Copy link
Member

0xMRTT commented Sep 6, 2022

Looks cool. In effect it will be cool to have this as plugin. Just let me finish the plugin support and write the doc for writing a plugin and after we can create a plugin for this

@Akergez
Copy link
Author

Akergez commented Sep 8, 2022

Ok, i will add some features like colorizing icon sets. How my script can colirize breeze and fluent icons. This modules i can make a separate plugins later.

Also i have a problem with colorizing adwaita-qt using qt5ct, because adwaita-qt sets some colors in code. I tried to make qt apps using kdeglobals as color config and breeze as theme, but in kde it implemented in plasma-integration, which can not be used in gnome because of dependences.

Amusing, kate uses adwaita-qt but most of color it picks from kdeglobals, dolphin can be colorized by adwaita-qt (hence qt5ct too) but it picks color of backgroud under folders from kdeglobals. Only Kdenlive uses breeze and colorized by kdeglobals fully. Behaviour of kdenlive is the best because i may not use qt5ct as dependency and make it simple.

It is not a good way to use adwaita-qt and qt5ct for this but now it is the best way for me :(

Does anyone have any ideas about this?

@0xMRTT
Copy link
Member

0xMRTT commented Sep 10, 2022

Plugins are ready, have a look to GNOME firefox theme plugin for an example

@0xMRTT
Copy link
Member

0xMRTT commented Sep 10, 2022

If you need help, i will be glad to help you

@Akergez
Copy link
Author

Akergez commented Sep 11, 2022

Plugins are ready, have a look to GNOME firefox theme plugin for an example

I'll implement my script as soon as possible. Now i dont have much time. Also my utility can colorize different icon sets in ~/.icons like Breeze, Fluent and others (not adwaita). I want to develop this features as separate plugins. Is it a good idea?

@Akergez
Copy link
Author

Akergez commented Sep 11, 2022

And are there any documentation for plugins?

@0xMRTT
Copy link
Member

0xMRTT commented Sep 11, 2022

Look at the first plugin, it's well commented

@0xMRTT
Copy link
Member

0xMRTT commented Sep 11, 2022

Also, if you need help, join the matrix room or the discord server. It's a bit more simpler for talking than using issues

@Akergez
Copy link
Author

Akergez commented Sep 26, 2022

image
Why plugins can not find local python modules? I need some help with it

@Akergez
Copy link
Author

Akergez commented Sep 26, 2022

but all is fine when i run script independently

@0xMRTT
Copy link
Member

0xMRTT commented Sep 26, 2022

Could you give us source ?

@Akergez
Copy link
Author

Akergez commented Sep 27, 2022

Could you give us source ?

Sure. I pushed it to 'plugin' branch. https://gitlab.com/ragusseven/Gradience-To-Qt-Theme-Converter/-/tree/plugin

@0xMRTT
Copy link
Member

0xMRTT commented Sep 28, 2022

It's because you are using global modules and not locales just add . to each module and a __init__.py. I've forked your repo and 'll do a mr for that if you agree

@Akergez
Copy link
Author

Akergez commented Sep 28, 2022

It's because you are using global modules and not locales just add . to each module and a __init__.py. I've forked your repo and 'll do a mr for that if you agree

Cool, thank you for help

@ZechariahB
Copy link

I tested this color scheme converter with qt5ct and qt6ct. I come with some concerns. Adwaita-qt6 seems not work with color schemes at the moment. I already filed the bug report in adwaita-qt. There is a possibility this plugin may become somewhat obsolete once everyone starts using Qt 6 alongside Gradience. Expect some people bug reporting about their Qt apps not being themed right when they use adwaita-qt in the coming future.

@sidevesh
Copy link

@ZechariahB can you share the link to the adwaita-qt bug report ?

@ZechariahB
Copy link

FedoraQt/adwaita-qt#182

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request plugin-request
Projects
None yet
Development

No branches or pull requests

4 participants