cola.views – Miscellaneous dialogs

This module creates simple wrapper classes around the auto-generated .ui classes.

class cola.views.ComboView(parent, *args, **kwargs)

A dialog for choosing branches.

idx()
value()
class cola.views.CommitView(parent=None, title=None)
class cola.views.ItemView(parent, title='', items=[], dblclick=None)
get_selected()
idx()
class cola.views.ListView(parent, *args, **kwargs)

A dialog for an item from a list.

idx()
value()
class cola.views.LogView(parent=None, output=None)

A simple dialog to display command logs.

clear()
log(output)
set_output(output)
class cola.views.MergeView(parent=None)
class cola.views.RemoteView(parent, action)

Dialog used by Fetch, Push and Pull

select_first_remote()
Selects the first remote in the list view
select_local_branch(idx)
Selects a local branch by index in the list view
select_remote(idx)
Selects a remote by index
class cola.views.SearchView(parent=None)

Previous topic

cola.views.about – About dialog

Next topic

Controllers

This Page

Quick search