def main():
logging.basicConfig(level=logging.DEBUG)<EOL>app = QtWidgets.QApplication(sys.argv)<EOL>window = QtWidgets.QMainWindow()<EOL>ui = example_ui.Ui_MainWindow()<EOL>ui.setupUi(window)<EOL>ui.bt_delay_popup.addActions([<EOL>ui.actionAction,<EOL>ui.actionAction_C<EOL>])<EOL>ui.bt_instant_popup.addActions([<EOL>ui.actionAction,<EOL>ui.actionAction_C<EOL>])<EOL>ui.bt_menu_button_popup.addActions([<EOL>ui.actionAction,<EOL>ui.actionAction_C<EOL>])<EOL>window.setWindowTitle('<STR_LIT>')<EOL>window.tabifyDockWidget(ui.dockWidget1, ui.dockWidget2)<EOL>app.setStyleSheet(qdarkgraystyle.load_stylesheet())<EOL>if '<STR_LIT>' in sys.argv:<EOL><INDENT>QtCore.QTimer.singleShot(<NUM_LIT>, app.exit)<EOL><DEDENT>window.show()<EOL>app.exec_()<EOL>
Application entry point