Skip to content
Rob Blau edited this page Jul 28, 2014 · 1 revision

The Admin UI Framework implements a place that holds standard user interfaces that wrap Toolkit administrative commands.

Currently the only interface is for the setup_project command.

SetupProjectWizard API Reference

This is a QWizard implementation that walks somebody through setting up a Project from their Shotgun instance for Toolkit. To use the wizard, simply create an instance of the class, passing in the project to setup (as a standard Shotgun API entity dictionary) and the window to parent to.

adminui = sgtk.platform.import_framework("tk-framework-adminui", "setup_project")
setup = adminui.SetupProjectWizard(project, parent)
dialog_result = setup.exec_()

This will run the wizard and return a standard QDialog Accepted or Rejected value.

SetupProjectWizard Constructor

Initialize a SetupProjectWizard. This is a subclass of QtGui.QWizard.

SetupProjectWizard()
Clone this wiki locally