Category "qt-designer"

How can I switch pages inside QStackedWidget every 15s without clicking any buttons using python

I made a Layout in QT Designer, I have a QStackedWidget with 2 pages and I would like to know how I can move from page inside the QStackedWidget every 15s witho

Import pyqt file: ValueError: source code string cannot contain null bytes

I've generated (pyuic5) ui_mainwindow.py file from .ui file made in Qt Designer: from PyQt5 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): d

Rounded corners not shown for QPushButton in Qt Designer

I want to the corners to be rounded and hover for a QPushButton in Qt designer. Changing the style sheet has no effect. What am doing wrong? QPushButton#pus

How do I rearrange menu bar options in Qt Designer 5?

I have been unable to figure out how to easily rearrange the menu bar selections that I have created in Qt Designer. Older documentation indicates that I can pr

Qt Window incorrect size until user event

I'm creating a screen where users can add certain tiles to use in an editor, but when adding a tile the window does not correctly resize to fit the content. Exc

How to equally distribute the width of QSplitter

I have a problem with adjusting width of QSplitter. I prepared UI in Qt Designer and it looks now like that: Designer view: And here is my object inspector:

python add another same textedit and button

I want to make that, when I press the plus, another same form is made. The second form appeared but the first form was lost I need help when I keep the first on