I designed a simple download manager on qt designer and would like to add several widgets(specifically the lower portion of the window the one containing the progress bar and the pushbuttons)
My question is, Is it possible? If so, How can I implement such a design? and if someone can direct me to an article or a website that has answered that kind of question before?
You can add widgets (and layouts) dynamically to any layout. Just create instance and call addWidget()
button = QPushButton()
ui.some_layout.addWidget(button)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.