Hi Marcus,

thanks for your reply. Yes, your guideline given under the link works for 
standalone GUI flow graphs. I was trying to write GUI blocks like the QT GUI 
Time Sink for example. Meaning I can drag them in GRC on the canvas and at 
runtime a widget is added to the GUI by this custom block.

Like this, I wouldn’t have to manually edit python files every time I want to 
use the block. Thanks to anyone, who can give me further hints.

Greetings
Patrick


> Am 19.11.2015 um 19:45 schrieb Marcus Müller <[email protected]>:
> 
> 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 
> <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
>> [email protected] <mailto:[email protected]>
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio 
>> <https://lists.gnu.org/mailman/listinfo/discuss-gnuradio>
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to