Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to import ui file in pyside

ui_file = QFile("mainwindow.ui")
ui_file.open(QFile.ReadOnly)

loader = QUiLoader()
window = loader.load(ui_file)
window.show()
Source by doc.qt.io #
 
PREVIOUS NEXT
Tagged: #import #ui #file #pyside
ADD COMMENT
Topic
Name
7+7 =