Grub Customizer KDE port?

Asked by Anatoly Burakov

How much is the GUI coupled with the working code? Is it feasible to start a Qt/KDE port of this utility? It remains the only program with GTK dependencies on my desktop...

Question information

Language:
English Edit question
Status:
Answered
For:
Grub Customizer Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Daniel Richter (danielrichter2007) said :
#1

Yes. I separated the code as follows

 * presenter
 * bootstrap (the main function, placed inside the /presenter directory)
 * model
 * view
 * interfaces

The presenter controls view and model. both, model and view are set from the main function before running it. As the whole view is based on interfaces (the presenter only knows interfaces), it's possible to re-implement them with Qt and assign them instead of the gtk classes. There are still some Gtk::Main::quit() calls inside the presenter :-( - they have to be replaced too.

Revision history for this message
Daniel Richter (danielrichter2007) said :
#2

In version 2.2 I did some cleanups. Now the presenter is completely gtk free, I moved the stuff to a seperate threading lib which depends on glib/gtk. So you only have to write your own ThreadController which depends on Qt threading instead of glib threading.

Revision history for this message
`{third: "Beedell", first: "Roke"}`{.JSON5} (rokejulianlockhart) said :
#3

Did development of a Qt GUI ever progress?

Can you help with this problem?

Provide an answer of your own, or ask Anatoly Burakov for more information if necessary.

To post a message you must log in.