Set image from computer as a background for QT GUI


#1

Hello,

I would like display a value over a custom background in gnu radio. In fact, the code should print the value somehow like a speedometer on semi-round. How can I achieve this? Is it possible to implement my idea into an Embedded Python Block which could take a value and then display it over the image? Or should I use the QT GUI Tab Widget (how can I add the picture, the value and display it OK)?

Thank you!


#2

I do know if it is possible with Qt, If it is possible, it won’t be in the core librairy, but in an additional librairy. Or Maybe with KDE.
<
This might be helpful:

http://doc.qt.io/qt-5/qicon.html
https://doc.qt.io/qt-5.11/qtwidgets-widgets-icons-example.html