GRC Code Organization: Difference between revisions
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
'''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 | '''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 |
Revision as of 18:05, 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