tools.view package

Submodules

tools.view.tabManager module

Module tabManager: This module contains classes for opening a tab manager to manage the viewport tabs in Mari.

class TabManagerMenuItem[source]

Bases: stkMariTools.lib.ui_utils.MariToolsMenuItem

This class adds a Clear History action.

The constructor.

Returns:
logger = <logging.Logger object>
startTabManager()[source]
class TabManager(title='Tab Manager')[source]

Bases: stkMariTools.lib.ui_utils.MariWidget

This class instantiates a Tab Manager widget that allows the user to manage their view tabs in Mari.

The constructor.

Returns:
defineUi()[source]

This method should be overloaded to handle defining the actual UI interface. It is run before populateData() and makeConnections().

Returns:
makeConnections(*args, **kwargs)[source]

Connects the UI controls to callback signals.

Parameters:
  • args
  • kwargs
Returns:

populateData(*args, **kwargs)[source]

Populates data to the UI.

Fills the tab list with the current list of tabs.

Parameters:
  • args
  • kwargs
Returns:

refreshTabList()[source]

This method refreshes the currently available tabs in the list.

Returns:
resetTabs()[source]

This method resets the current tab layout in Mari to the layout when it was first opened.

Returns:
closeTab()[source]

This method closes the tab selected in the listView.

Returns:
staticMetaObject = <PySide.QtCore.QMetaObject object at 0x000000000721FA08>

Module contents

Module __init__.py: This module ...