GRC Code Organization: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:


in the old code there was a separate MainWindow class that actually held the main window, but that is going to be moved inside Application
in the old code there was a separate MainWindow class that actually held the main window, but that is going to be moved inside Application
i wont need my own version of  '''Bars.py''', it will just be inside Application

Revision as of 19:20, 19 May 2019

These notes are an attempt to figure out how big of a project porting from pygtk to pyqt will be, by identifying which files have pygtk code and how much of it.

All of the pygtk code is in gnuradio/grc/gui, other than a few lines in gnuradio/grc/scripts

gi is GObject Introspection which seems to be a python GTK thing

grc uses GTK 3.0 and PangoCairo 1.0 which seems to be a way to render text using GTK

the entry point for GRC is in /gnuradio/grc/main.py which has no actual GTK code in it, it calls Application()

Application() sets up the main window, and would be the first thing to convert to pyqt and verify works before slowly adding in everything else

MainWindow should probably also be converted over at first, but with most of its calls inside commented out

in the old code there was a separate MainWindow class that actually held the main window, but that is going to be moved inside Application

i wont need my own version of Bars.py, it will just be inside Application