ReconFlyWizard_7ce0d375cbb911ecbd6a0c9d927663a1¶
- author:
Dragonfly Team
- contact:
- email:
- 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 06 2022 03:47
- dragonflyVersion:
2022.2.0.1361 (D) Debug
- UUID:
7ce0d375cbb911ecbd6a0c9d927663a1
Class Code¶
- class OrsPythonPlugins.ReconFlyWizard_7ce0d375cbb911ecbd6a0c9d927663a1.ReconFlyWizard_7ce0d375cbb911ecbd6a0c9d927663a1.ReconFlyWizard_7ce0d375cbb911ecbd6a0c9d927663a1(*args, **kwargs)¶
- cleanup()¶
Deletes the variables managed by the plugin. It is the place to remove callbacks and other references to Python objects that would prevent them to be garbage collected. This method is called during the process of deletion of the plugin. It calls for the cleanup and deletion of the forms.
- confirmCloseContext()¶
Requests the confirmation from the user to close the context.
- Return:
Trueto confirm the closing of the context;Falseto ignore the closing request and keep the context open.- Rtype:
bool
- classmethod getImageRepresentation()¶
Method called to obtain a bitmap representing the Wizard, mostly to build a quick launch toolbar where each wizard has a button to start it
- Returns:
output (QPixmap) – an image
- classmethod getMainFormClass()¶
Gets the class of the main form
- Returns:
output –
- instantiateWizardPagesForms(parent)¶
Instantiation of the wizard pages forms
- setupContext(openMainForm=True)¶
Performs the tasks to setup the context. This is normally done after the instantiation of the main plugin in context and setting his state.
These are the usual tasks:
instantiate all required plugins;
define context restrictions (actions, states, …);
- open the main window with the mainform of the main plugin in context and all plugin forms
(if
openMainFormisTrue);
initialize the menu (if wanted);
perform any other task to initialize the context (configure views, text presenters, …).
- Parameters:
openMainForm (bool) –
Trueto use the forms;Falseotherwise.
- showPreviews(previewType='GeometryCalibarion')¶
Present all the previews into different scenes
