PyANGKernel.GKMultiCmd

class GKMultiCmd

A collection of commands to be done (or undone) as a single one, * in the order they have been added to the GKMultiCmd (see add( GKCommand * acmd)). * *

Details

Note

A new name should be given to the GKMultiCommand, as the default one is very generic.

Inheritance diagram of PyANGKernel.GKMultiCmd

Inherited by: GKObjectDelMultipleCmd

Synopsis

Methods

Virtual methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

__init__()
add(acmd)
Parameters:

acmdGKCommand

doCreateTask()
Return type:

bool

Returns the value set by setDoCreateATask . Default value: false.

getCommands()
Return type:

.list of GKCommand

setDoCreateATask(doCreate)
Parameters:

doCreate – bool

Sets if a task should be created to show the progress of the process. *

Note

This value overrides the result of createATaskWhenProcessing

size()
Return type:

int