Public Member Functions

Koo::Screen::ToolBar::ToolBar Class Reference

The ToolBar class is a widget (which inherits QToolBar) and is used as the toolbar in forms. More...

List of all members.

Public Member Functions

def __init__
 Creates a new ToolBar instance.
def setup
 Initializes the toolbar with a list of Action objects.

Detailed Description

The ToolBar class is a widget (which inherits QToolBar) and is used as the toolbar in forms.

The Toolbar will have Vertical orientation and ToolButtonTextBesideIcon.

Definition at line 36 of file ToolBar.py.


Member Function Documentation

def Koo::Screen::ToolBar::ToolBar::__init__ (   self,
  parent = None 
)

Creates a new ToolBar instance.

Definition at line 38 of file ToolBar.py.

def Koo::Screen::ToolBar::ToolBar::setup (   self,
  actions 
)

Initializes the toolbar with a list of Action objects.

Note that it automatically adds a separator between actions of different types such as between 'print' and 'action'. This function can only be called once. Calling this function more times won't do anything.

Definition at line 49 of file ToolBar.py.


The documentation for this class was generated from the following file:
Generated by Doxygen