Category "pyqt6"

PyQt6/PySide6: QStackedLayout aligns the size of nested widgets

I created a QStacedLayout and nested 2 widgets in it. However, as I understand it, if one widget is larger than the other, then QStackedLayout seems to be tryin

Python: split a video based on file size for streaming

I'm trying to figure out how to stream a video where the video is uploaded to google drive in pieces and downloaded in pieces for streaming. How do I split the

Promoted Widget in Qt Designer does not instantiate children

Problem I promoted a widget in Qt Designer and it worked, the problem is that when I run the program, it doesn't show the children of this widget that I created

pyqt6 animation doesnt work for decreasing width

I have struggle with animation. It works first time to increase width but with else statements it doesnt' decrease size. def slideLeftMenu(self): self.a