conductor.clarisse.scripted_class.extra_uploads_ui module

class conductor.clarisse.scripted_class.extra_uploads_ui.ExtraUploadsWindow(node)

Bases: sphinx.ext.autodoc.importer._MockObject

Window to contain the tree.

It has buttons to browse and manage the list. It also has regular apply, go, close buttons at the bottom.

on_apply_but(sender, eventid)
on_browse_but(sender, eventid)

User may browse for files.

on_close_but(sender, eventid)

Hide the widget.

Destruction will be be triggered as the event loop ends.

on_glob_scan_but(sender, eventid)
on_go_but(sender, eventid)
on_remove_all_but(sender, eventid)
on_remove_sel_but(sender, eventid)
on_smart_scan_but(sender, eventid)
class conductor.clarisse.scripted_class.extra_uploads_ui.FileListWidget(parent, y_val)

Bases: sphinx.ext.autodoc.importer._MockObject

Build a list of files using a tree widget.

Use the tree widget because its the only way to get multiselect in clarisse.

add_entries(entries)

Add a line item for each entry.

Use DependencyList to deduplicate on the fly. As the addition of entries may completely change the list (grow or shrink) we delete and rebuild the list of entries each time.

destroy_all()

Clear all items.

destroy_selected()

Remove the selected items.

Also remove from the item_list.

conductor.clarisse.scripted_class.extra_uploads_ui.build(*args)

Pop up a window to choose extra upload files.