3 ms·
Is including arbitrary Qt widgets doable (whether now or in the future)? A lot of my use cases for PyQt5 revolve around QWebEngineView; would be great to be ab
by yellowapple 6y ago
Is including arbitrary Qt widgets doable (whether now or in the future)? A lot of my use cases for PyQt5 revolve around QWebEngineView; would be great to be able to throw that widget into a Guietta layout with the extra buttons and such I'd be using around it.
- alfiopuglisi 6y agoYes, any QWidget instance can be used directly in the layout. If then you want to reference it, the best option is to use the tuple syntax to assign it a name: (widget, 'name'). Check the slider example out (slider.py), it does exactly this.