I want to show the user a Qmessagebox with 3 choice buttons before the Publisher starts up, the buttons will do different things but they are supposed to make a parent_item, essentially skipping the default startup screen for the standalone publisher (where it shows two buttons to select a file or folder to publish).
Is this possible?
I’ve added a
to the collector file as this seems to be the only way to trigger code without having to click buttons.
But my Qmessagebox fails to show from there
def __init__(me, you): msgBox = QtGui.QMessageBox() msgBox.setText('Select App Mode') ingestBtn = msgBox.addButton('Ingest Media', QtGui.QMessageBox.YesRole) msgBox.exec_()