tik_manager4.ui.mcv.task_mcv

Attributes

LOG

Classes

TikTaskColumnItem

TikTaskItem

Item class for the task view

TikTaskLayout

TikTaskModel

TikTaskView

Module Contents

class TikTaskColumnItem(text)

Bases: tik_manager4.ui.Qt.QtGui.QStandardItem

class TikTaskItem(task_obj)

Bases: tik_manager4.ui.Qt.QtGui.QStandardItem

Item class for the task view

refresh()

Refresh the item

set_state(state)

Set the state of the item.

Args:

state (str): State of the task

color_dict
class TikTaskLayout

Bases: tik_manager4.ui.Qt.QtWidgets.QVBoxLayout

get_active_task()

Get the selected item and return the task object.

refresh()
set_purgatory_mode(value)
property purgatory_mode
class TikTaskModel

Bases: tik_manager4.ui.Qt.QtGui.QStandardItemModel

append_task(task_obj)

Append a task to the model

clear()

Clear the model

find_item_by_id_column(unique_id)

Search entire tree and find the matching item.

columns = ['name', 'id', 'path']
filter_key = 'super'
class TikTaskView

Bases: tik_manager4.ui.Qt.QtWidgets.QTreeView

add_tasks(tasks)

Add a task to the model

currentChanged(*args, **kwargs)
delete_task(item)
edit_task(item)
expandAll()

Expand all the items in the view

get_column_sizes()

Return all column sizes in a dictionary.

get_items_count()

Return the number of items in the view.

get_selected_item()

Return the selected item

get_visible_columns()

Returns the visible columns.

header_right_click_menu(position)
hide_columns(columns)

If the given column exists in the model, hides it

item_clicked(idx)

Emit the item_selected signal when an item is clicked

omit_task(item)
on_resurrect(item)

Resurrect the task

open_url(item)
refresh()

Re-populate the model.

revive_task(item)
right_click_menu(position)
select_by_id(unique_id)

Select the item with the given id

select_first_item()

Select the first item in the view.

set_column_sizes(column_sizes)

Set the column sizes from the given dictionary.

set_tasks(tasks_gen)

Set the data for the model

show_columns(list_of_columns)

Shows the given columns.

toggle_column(column, state)

If the given column exists in the model, unhides it

unhide_columns(columns)

If the given column exists in the model, unhides it

item_selected
refresh_requested
task_resurrected
LOG