Hi Patrick,
this should work. I meddled with this very subject a while back; the
idea was that you can just replace the "Qt App framework"
boilerplate that GRC generates with your own PyQt/PySide
application.
https://lists.gnu.org/archive/html/discuss-gnuradio/2015-09/msg00038.html
Best regards,
Marcus
On 19.11.2015 18:56, Patrick Krämer
wrote:
Hi everybody,
I would like to create out-of-tree modules for the
GRC, that show graphical interfaces (GUIs) created
with QT. As the purpose of these blocks is mainly
for prototyping only, I would like to do
everything quickly in Python, without the need of
additional C++-files.
Here is what I am able to do:
- I can create OOT modules and blocks and use these in
the GRC in connection with build-in blocks.
- I can create QT GUIs with QtDesigner and run those in
combination with standalone python gnuradio flowgraphs.
What I would like to do is to use the GRC to combine the
pre-installed blocks with my own custom GUI blocks. I only
found QT GUI blocks programmed in C++ so far. Does anyone
have a python block I can look into and cheat with? I
assume I can only run widgets created with QtDesigner and
not full MainWindows?
What I have so far is my custom out-of-tree sink block, that
I can use in GRC. How can I add the .GUI from QtDesigner to
the blocks python code?
Thanks alot. Your help is very much appreciated.
Greetings,
Rashid
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
|