Re: Request For Helping Porting Redshift GTK to Qt For Lubuntu



Hi;

you chose the wrong mailing list for this.

The gir-devel mailing list is meant to be used for the development of, and with, the GObject introspection data. It has nothing to do with GTK, Python, or the Python bindings for GObject-based libraries.

You probably want to ask on a Qt-related mailing list.

Ciao,
 Emmanuele.

On Sun, 9 Jun 2019 at 20:10, Samuel Banya via gir-devel-list <gir-devel-list gnome org> wrote:
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
_______________________________________________
gir-devel-list mailing list
gir-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gir-devel-list


--


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