Hi Patrick, ah sorry, I misunderstood you. So yes, I think this is possible, and you would be very welcome to write useful Qt visualizations! To point you to a few existing ones: Tim's PyQt blocks are very useful! http://oshearesearch.com/tag/gr-pyqt/ , get the source code at https://github.com/osh/gr-pyqt, or install via pybombs.
By the way, I'm highly interested in how you combine your GUIs with GNU Radio flow graphs! It's generally agreed that pure signal-processing applications are fun and all, but good recipes on how to integrate GNU Radio (which is technically but a library) in applications are a bit rare. Cheers, Marcus On 21.11.2015 20:52, Patrick Krämer wrote: > 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] <mailto:[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 >> >> 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] >>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >> >> _______________________________________________ >> Discuss-gnuradio mailing list >> [email protected] <mailto:[email protected]> >> 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
