PapersDocument.LinkAction¶
- Subclasses:
 None
Methods¶
- Inherited:
 - Structs:
 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
Virtual Methods¶
- Inherited:
 
Properties¶
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w/co  | 
The link action destination  | 
||
r/w/co  | 
Whether to exclude/include reset-fields when resetting form  | 
||
r/w/co  | 
The link action filename  | 
||
r/w/co  | 
The list of layers that should be hidden  | 
||
r/w/co  | 
The link action name  | 
||
r/w/co  | 
The link action params  | 
||
r/w/co  | 
The list of fields that should be/should not be reset  | 
||
r/w/co  | 
The list of layers that should be shown  | 
||
r/w/co  | 
The list of layers that should be toggled  | 
||
r/w/co  | 
The link action type  | 
||
r/w/co  | 
The link action URI  | 
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Class Details¶
- class PapersDocument.LinkAction(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
- classmethod new_dest(dest)¶
 - Parameters:
 dest (
PapersDocument.LinkDest) –- Return type:
 
- classmethod new_launch(filename, params)¶
 - Parameters:
 - Return type:
 
- classmethod new_layers_state(show_list, hide_list, toggle_list)¶
 - Parameters:
 show_list ([
PapersDocument.Layer]) – a list ofPapersDocument.Layerobjectshide_list ([
PapersDocument.Layer]) – a list ofPapersDocument.Layerobjectstoggle_list ([
PapersDocument.Layer]) – a list ofPapersDocument.Layerobjects
- Returns:
 - Return type:
 
- classmethod new_remote(dest, filename)¶
 - Parameters:
 dest (
PapersDocument.LinkDest) –filename (
str) –
- Return type:
 
- classmethod new_reset_form(fields, exclude_fields)¶
 - Parameters:
 - Returns:
 - Return type:
 
- equal(b)¶
 - Parameters:
 - Returns:
 Trueiff self and b are equal- Return type:
 
Checks whether self and b are equal.
New in version 3.8.
- get_action_type()¶
 - Return type:
 
- get_dest()¶
 - Returns:
 - Return type:
 
- get_exclude_reset_fields()¶
 - Returns:
 whether to exclude reset fields when resetting form
- Return type:
 
- get_hide_list()¶
 - Returns:
 a list of
PapersDocument.Layerobjects- Return type:
 
- get_show_list()¶
 - Returns:
 a list of
PapersDocument.Layerobjects- Return type:
 
- get_toggle_list()¶
 - Returns:
 a list of
PapersDocument.Layerobjects- Return type:
 
Property Details¶
- PapersDocument.LinkAction.props.dest¶
 - Name:
 dest- Type:
 - Default Value:
 - Flags:
 
The link action destination
- PapersDocument.LinkAction.props.exclude_reset_fields¶
 - Name:
 exclude-reset-fields- Type:
 - Default Value:
 - Flags:
 
Whether to exclude/include reset-fields when resetting form
- PapersDocument.LinkAction.props.filename¶
 - Name:
 filename- Type:
 - Default Value:
 - Flags:
 
The link action filename
- PapersDocument.LinkAction.props.hide_list¶
 - Name:
 hide-list- Type:
 - Default Value:
 - Flags:
 
The list of layers that should be hidden
- PapersDocument.LinkAction.props.name¶
 - Name:
 name- Type:
 - Default Value:
 - Flags:
 
The link action name
- PapersDocument.LinkAction.props.params¶
 - Name:
 params- Type:
 - Default Value:
 - Flags:
 
The link action params
- PapersDocument.LinkAction.props.reset_fields¶
 - Name:
 reset-fields- Type:
 - Default Value:
 - Flags:
 
The list of fields that should be/should not be reset
- PapersDocument.LinkAction.props.show_list¶
 - Name:
 show-list- Type:
 - Default Value:
 - Flags:
 
The list of layers that should be shown
- PapersDocument.LinkAction.props.toggle_list¶
 - Name:
 toggle-list- Type:
 - Default Value:
 - Flags:
 
The list of layers that should be toggled
- PapersDocument.LinkAction.props.type¶
 - Name:
 type- Type:
 - Default Value:
 - Flags:
 
The link action type