GRC Qt: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
(Updated the GRC Qt page)
(Updated the GRC Qt page (log file))
Line 29: Line 29:
=== Log file ===
=== Log file ===


GRC Qt writes logs (levels INFO and higher) to ~/.gnuradio/grc.log by default.
GRC Qt writes logs (levels INFO and higher) to ~/.gnuradio/grc.log by default. Run GRC with ''--log debug'' to enable DEBUG level log messages too.


=== GUI testing ===
=== GUI testing ===

Revision as of 15:57, 30 December 2023

GRC Qt (November 2023)

GRC Qt is a work-in-progress port of GRC from Gtk to Qt. GRC Qt aims to provide better cross-platform support, both across different OSes, but also across different versions of Qt/PyQt (PyQt and PySide, version 5 and 6). GRC Qt can be tried out at https://github.com/gnuradio/gnuradio/tree/feature-grc-qt.

New features

Example integration

Go to File->Examples to open the example browser. You can also open a block's properties dialog (double-click) and click the Examples tab to see which examples contain the block.

GRC Examples browser (December 2023)

OOT browser

You can find the OOT browser at Tools->OOT Module Browser. It lists the installed OOTs and displays information about it from MANIFEST.md.

GRC OOT browser (December 2023)

Preferences

Go to File->Preferences to open the preferences menu.

GRC Qt preferences (December 2023)

Undo stack

GRC Qt uses Qt's Undo framework, which comes with a built-in Undo stack viewer. You can find it at Edit->Undo stack.

Log file

GRC Qt writes logs (levels INFO and higher) to ~/.gnuradio/grc.log by default. Run GRC with --log debug to enable DEBUG level log messages too.

GUI testing

The file grc/tests/test_qtbot.py uses Pytest-qt and PyAutoGUI to test various GUI features. Warning: The script will use your mouse and keyboard for ~30 seconds!

Code structure