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
__init__(dummy, dummy2):
to the collector file as this seems to be the only way to trigger code without having to click buttons.
Hey Ricardo, I just tested you code, and that seems fine, I got it to work in the collector by adding it to the process_current_session method.
I guess after the user has picked an option, you could then go ahead and collect any files, and it should skip the default screen.
So I have a collector, I would like to display a QTGui window during collection to display some more UI.
The code is currently not in a separate class but in the collector function but either way the window appears and dissapears immediatly. and my collector continues. What could I be missing?
You’re going to want a model window I think, like how a QMessageBox is handled.
I’ve done one before in the past, but I don’t have the code at hand unfortunately.