Self.actionSettings = QtGui.QAction(MainWindow) Self.statusBar = QtGui.QStatusBar(MainWindow) SpacerItem1 = QtGui.QSpacerItem(13, 485,, ) Self.horizontalLayout_7.addWidget(self.closeButton) Self.closeButton = QtGui.QPushButton(self.centralWidget) Self.horizontalLayout_7.addWidget(self.open_port) Self.open_tObjectName(_fromUtf8("open_port")) Self.open_port = QtGui.QPushButton(self.centralWidget) Self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7")) Self.horizontalLayout_7 = QtGui.QHBoxLayout() Self.textBrowser = QtGui.QTextBrowser(self.centralWidget) Self.verticalLayout = QtGui.QVBoxLayout() Self.popup = QtGui.QPushButton(self.centralWidget) SpacerItem = QtGui.QSpacerItem(13, 485,, ) Self.horizontalLayout = QtGui.QHBoxLayout(self.centralWidget) Self.centralWidget = QtGui.QWidget(MainWindow) Return (context, text, disambig, _encoding) Is there a better way to incorporate the new popup window that i created from QT Designer into my main GUI? When you click popup that is the window I wish to incorporate. TRANSFER DATA FROM ONE DIALOG BOX TO ANOTHER IN QT CREATOR UPDATEThis has the disadvantage of me not being able to update the window from QT Creator now. My fix was to bring the code from the file into the main py script. When I try the same approach with my dialog box I was able to do so but then had no way of making the window modal. py file into my main project so that I can make changes to the gui and not have them overwritten every time that I update the GUI within QT Creator. With the main window i'm able to import the. I created the window from qt creator and converted the. I'm creating a simple popup box that contains settings.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |