Request For Helping Porting Redshift GTK to Qt For Lubuntu



Hello everyone,

I'm slightly familiar with Qt since I learned the basics of C++ and Qt a
few months back to help the Lubuntu team create a Welcome Center.
However, I'm trying to help them port a program called "Redshift" which
is basically a program that is designed to change the blue levels of a
monitor throughout the day for a user to more appropriate levels to
prevent eye strain.

The problem is that the program is written in Gtk, which I have never
used.

I am attempting to port this program just to change each line to its
PyQt variant, which is a bit of a headache since the best and most
recent docs in Qt are for C++, and on top of that, the PyQt ones are a
bit lagging behind in their updates in my opinion.

With this in mind, I wanted to know if anyone could take a look at the
progress I've attempted so far to possibly help push me in the right
direction, since I commented out the Gtk based code and attempted to put
its Qt variant on top of each line.

This progress on porting this program can be found on my GitHub based repo here:
https://github.com/SBanya/redshift-1.12

Here's a list of things I'm currently stuck on trying to find the Qt
variant of, and am wondering any of the following Gtk functions indeed
HAVE an analogous method in Qt:

GLib.unix_signal_add()
GLib.spawn_check_exit_status()
GLib.spawn_close_pid()
redshift_gtk.statusicon
Gtk.Menu()
Gtk.CheckMenuItem.new_with_label()
Gtk.MenuItem.new_with_label()
Gtk.Label()
Gtk.Button()
GLib.timeout_add_seconds()
Gtk.MessageDialog()
Gtk.main_quit()
GLib.unix_signal_add()
Gtk.main()
REDSHIFT_DESKTOP
AUTOSTART_KEYS

Thanks for reading my message!

Sincerely,

Sam


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]