Avogadro::QtOpenGL::ActiveObjects#
-
class ActiveObjects : public QObject#
Singleton to provide access to active objects.
This class provides access to the active objects in the running application. If you write an application using the Avogadro libraries you need to keep this class updated with changes in active objects in order for built in features to work as expected.
All returned objects are owned by the running application, nullptr indicates that there is no currently active object of that type.
Public Functions
Public Slots
Signals
Public Static Functions
-
static ActiveObjects &instance()#
Return a reference to the singleton instance that can be queried.
-
static ActiveObjects &instance()#