discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Adding An Image File In GRC


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] Adding An Image File In GRC
Date: Thu, 16 Mar 2017 19:25:56 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

Hi Timothy,

hm, basically, all the Qt GUI things are really Qt QWidgets and subclasses. The python file generated by GRC sets up the window and stuff. I think the quickest way of understanding how this all works together is making a small Qt-GUI-based flow graph, and diff'ing the python code before and after you add a Qt Label. You might be able to add a picture label just the same way.

If you haven't noticed these before: you can basically configure a grid layout by filing the "gui hint" field in the Qt GUI blocks with "row,col,rowspan,colspan", where rows and columns start with 0.

Best regards,

Marcus


On 03/16/2017 02:46 PM, Timothy Coyle wrote:

Hi,

I am using GRC to create a flow graph that has a GUI and I’m looking for a way to add an image (a logo) to the GUI. Is there a way to use one of the Qt GUI widgets to add an image file? I know I can edit the python file created by GRC and add image file where I want but I think if I’m using GRC to make changes it will overwrite my modifications to the python file.

 

Thanks,

 

Timothy Coyle

Staff Engineer

Environetix Technologies

 

20 Godfrey Drive

Orono, ME  04473

 

Office: (207) 866-6551

Cell: (207)844-0951

 

www.environetix.com

 



_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

[Prev in Thread] Current Thread [Next in Thread]