'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 without clicking any button in python
from PyQt5 import uic, QtWidgets, QtGui, QtCore
from PyQt5.QtWidgets import QApplication, QWidget, QMainWindow,
QPushButton, QToolTip, QLabel, QMessageBox, QTimeEdit
import time
......
app = QtWidgets.QApplication([])
renner = uic.loadUi("ui_main.ui")
renner.show()
app.exec()
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|