OrsStatusBar

Manages the status bar of the application

author:

Dragonfly Team

contact:

https://dragonfly.comet.tech

email:

support.dragonfly@comet.tech

organization:

Comet Technologies Canada Inc.

address:

460 Ste-Catherine Ouest, suite 600, Montréal, Québec, Canada, H3B 1A7

copyright:

Comet Technologies Canada Inc. All rights reserved 2023.

date:

Dec 01 2015 16:42

dragonflyVersion:

3.1.0.286 (D)

UUID:

9bd4ea8a761c11e7b642448a5b5d70c0

Class Code

class OrsPythonPlugins.OrsStatusBar.OrsStatusBar.OrsStatusBar(*args, **kwargs)
classmethod getMainFormClass()

Gets the class of the main form

Returns:

output

handleChanged(oldState, newState)

This method is called when the state of the application is changed.

Parameters:
  • oldState (str) – name of the old (previous) state

  • newState (str) – name of the new (current) state

postLoadSession()

This method is called at the very end of the session loading process, when the model has been restored, plugins have been instantiated and the workspace has been restored.

We use this to ensure the OrsStatusBar is properly registered and displayed after loading a session.