Package Camelot :: Package camelot :: Package admin :: Package application_action :: Class TableViewAction
[frames] | no frames]

Class TableViewAction

source code


An application action that opens a TableView for an Entity
Instance Methods
 
__init__(self, entity, admin=None, verbose_name=None, parent_admin=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
get_verbose_name(self)
Returns: the name of the action, as it can be shown to the user
source code
 
run(self, parent)
Execute the action, called within the gui thread
source code

Inherited from ApplicationAction: get_icon

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, entity, admin=None, verbose_name=None, parent_admin=None)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

get_verbose_name(self)

source code 
Returns:
the name of the action, as it can be shown to the user
Overrides: ApplicationAction.get_verbose_name
(inherited documentation)

run(self, parent)

source code 

Execute the action, called within the gui thread

execution of the action

Parameters:
  • parent - a QWidget that can be used as a parent for widgets during the
Overrides: ApplicationAction.run
(inherited documentation)