PyANGKernel.GKViewBookmark

class GKViewBookmark

Base class for static and dynamic bookmarks

Details

Bookmarks can be applied on different openned views, either 2D or 3D Views. The aim of this class is to allow the user to navigate as fast as possible to any specific area in the network

Inheritance diagram of PyANGKernel.GKViewBookmark

Inherited by: GKViewBookmarkStatic, GKViewBookmarkDynamic

Synopsis

Methods

Virtual methods

Static functions

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__()
static compareForDisplay(left, right)
Parameters:
Return type:

bool

Returns true if left should be shown before right, false otherwise

getFromTime()
Return type:

QDateTime

Returns the view bookmark initial time

getNowTime()
Return type:

QDateTime

Returns the view bookmark current time

getStoreTime()
Return type:

bool

Returns whether it is storing the time or not.

getToTime()
Return type:

QDateTime

Returns the view bookmark finish time

setFromTime(arg__1)
Parameters:

arg__1QDateTime

Sets the view bookmark initial time

setNowTime(arg__1)
Parameters:

arg__1QDateTime

Sets the view bookmark current time

setStoreTime(arg__1)
Parameters:

arg__1 – bool

Sets if the view bookmark will store the time

setToTime(arg__1)
Parameters:

arg__1QDateTime

Sets the view bookmark finish time

type()
Return type:

str

Returns a string with the type of bookmark