Contents Menu Expand Light mode Dark mode Auto light/dark mode
Bookmarks 0.7.8 documentation
Light Logo Dark Logo
Bookmarks 0.7.8 documentation
  • User Guide

Technical Documentation

  • Python Modules
    • actions
    • bookmarker
      • bookmarker.bookmark_editor
      • bookmarker.job_editor
      • bookmarker.main
      • bookmarker.server_editor
    • common
      • common.core
      • common.data
      • common.env
      • common.font
      • common.monitor
      • common.sequence
      • common.session_lock
      • common.settings
      • common.setup
      • common.signals
      • common.ui
    • contextmenu
    • database
    • editor
      • editor.asset_properties
      • editor.base
      • editor.base_widgets
      • editor.bookmark_properties
      • editor.preferences
    • external
      • external.ffmpeg
      • external.ffmpeg_widget
      • external.rv
    • file_saver
      • file_saver.main
      • file_saver.widgets
    • images
    • importexport
    • items
      • items.asset_items
      • items.bookmark_items
      • items.delegate
      • items.favourite_items
      • items.file_items
      • items.models
      • items.task_items
      • items.views
      • items.widgets.filter_editor
      • items.widgets.image_viewer
      • items.widgets.thumb_capture
      • items.widgets.thumb_library
      • items.widgets.thumb_picker
    • launcher
      • launcher.gallery
      • launcher.main
    • log
    • main
    • maya
      • maya.actions
      • maya.base
      • maya.capture
      • maya.contextmenu
      • maya.export
      • maya.main
      • maya.plugin
      • maya.shadertool
      • maya.viewport
    • notes
    • progress
    • publish
    • shortcuts
    • shotgun
      • shotgun.actions
      • shotgun.link
      • shotgun.link_asset
      • shotgun.link_assets
      • shotgun.link_bookmark
      • shotgun.publish
      • shotgun.publish_widgets
      • shotgun.shotgun
      • shotgun.tasks
    • slack
      • slack.slack
    • standalone
    • statusbar
    • teams
      • teams.message
    • templates
    • threads
      • threads.threads
      • threads.workers
    • tokens
      • tokens.tokens
      • tokens.tokens_editor
    • topbar
      • topbar.buttons
      • topbar.quickswitch
      • topbar.tabs
      • topbar.topbar
    • ui
    • versioncontrol
      • versioncontrol.version
      • versioncontrol.versioncontrol
  • Module Index

Project Links

  • GitHub
  • License
Back to top

shotgun.link#

Shotgun Entity linker widgets.

The widgets are used to link a ShotGrid entity with a local item.

Classes:

BaseLinkWidget(server, job, root, asset, ...)

Widget used to link a ShotGrid entity with a local item.

EntityNameEditor([parent])

class bookmarks.shotgun.link.BaseLinkWidget(server, job, root, asset, entity_type, value_map, parent=None)[source]#

Bases: QDialog

Widget used to link a ShotGrid entity with a local item.

Parameters:

entity_type (str) – A shotgun entity type.

Methods:

create()

Show a popup line editor to enter the name of a new entity.

create_entity(name)

Creates a new ShotGrid entity.

done(self, arg__1)

request_data()

Request Loads a list of ShotGrid entities.

save_data()

Save the selected entity data to the Bookmark Database.

showEvent(event)

Show event handler.

sizeHint()

Returns a size hint.

create()[source]#

Show a popup line editor to enter the name of a new entity.

create_entity(name)[source]#

Creates a new ShotGrid entity.

done(self, arg__1: int) → None[source]#
request_data()[source]#

Request Loads a list of ShotGrid entities.

save_data()[source]#

Save the selected entity data to the Bookmark Database.

showEvent(event)[source]#

Show event handler.

sizeHint()[source]#

Returns a size hint.

class bookmarks.shotgun.link.EntityNameEditor(parent=None)[source]#

Bases: QDialog

Methods:

done(self, arg__1)

showEvent(event)

Show event handler.

sizeHint()

Returns a size hint.

done(self, arg__1: int) → None[source]#
showEvent(event)[source]#

Show event handler.

sizeHint()[source]#

Returns a size hint.

Next
shotgun.link_asset
Previous
shotgun.actions
Copyright © © 2022 Gergely Wootsch
Made with Sphinx and @pradyunsg's Furo
On this page
  • shotgun.link
    • BaseLinkWidget
      • BaseLinkWidget.create()
      • BaseLinkWidget.create_entity()
      • BaseLinkWidget.done()
      • BaseLinkWidget.request_data()
      • BaseLinkWidget.save_data()
      • BaseLinkWidget.showEvent()
      • BaseLinkWidget.sizeHint()
    • EntityNameEditor
      • EntityNameEditor.done()
      • EntityNameEditor.showEvent()
      • EntityNameEditor.sizeHint()