tokens.tokens_editor#

Various widgets used to edit token values.

See the bookmarks.tokens.tokens for the interface details.

Classes:

FormatEditor(*args, **kwargs)

Popup widget used to set the acceptable file formats for a task folder.

SubfolderEditor(section, k, v, data[, parent])

A popup editor used to edit the subfolders of a task folder.

TokenConfigEditor(server, job, root[, parent])

The widget used to display and edit a bookmark's token configuration.

TokenEditor(server, job, root[, parent])

Popup dialog used to insert an available token to one of the file name template editors.

class bookmarks.tokens.tokens_editor.FormatEditor(*args, **kwargs)[source]#

Bases: QDialog

Popup widget used to set the acceptable file formats for a task folder.

class bookmarks.tokens.tokens_editor.SubfolderEditor(section, k, v, data, parent=None)[source]#

Bases: QDialog

A popup editor used to edit the subfolders of a task folder.

class bookmarks.tokens.tokens_editor.TokenConfigEditor(server, job, root, parent=None)[source]#

Bases: QWidget

The widget used to display and edit a bookmark’s token configuration.

Methods:

contextMenuEvent(self, event)

init_data()

Initializes data.

save_changes()

Saves changes.

text_changed(key, editor, v)

Slot responsible for marking an entry as changed.

contextMenuEvent(self, event: PySide2.QtGui.QContextMenuEvent) None[source]#
init_data()[source]#

Initializes data.

save_changes()[source]#

Saves changes.

text_changed(key, editor, v)[source]#

Slot responsible for marking an entry as changed.

class bookmarks.tokens.tokens_editor.TokenEditor(server, job, root, parent=None)[source]#

Bases: QDialog

Popup dialog used to insert an available token to one of the file name template editors.

Methods:

showEvent(event)

Show event handler.

sizeHint()

Returns a size hint.

showEvent(event)[source]#

Show event handler.

sizeHint()[source]#

Returns a size hint.