|
ORE Studio 0.0.4
|
Controller that owns and launches the OreImportWizard. More...
#include <OreImportController.hpp>
Inherits QObject.

Signals | |
| void | importCompleted () |
| Emitted when an import completes successfully. | |
| void | statusMessage (const QString &message) |
| Emitted with a human-readable summary after import. | |
Public Member Functions | |
| OreImportController (ClientManager *clientManager, QObject *parent=nullptr) | |
| void | trigger (QWidget *parent=nullptr, std::optional< boost::uuids::uuid > portfolioId=std::nullopt, const std::string &portfolioName="") |
| Show the ORE import wizard modal dialog. | |
Controller that owns and launches the OreImportWizard.
Created once per session (in MainWindow::createControllers) and wired to:
Call trigger(parent) to display the wizard modally.
| void trigger | ( | QWidget * | parent = nullptr, |
| std::optional< boost::uuids::uuid > | portfolioId = std::nullopt, |
||
| const std::string & | portfolioName = "" |
||
| ) |
Show the ORE import wizard modal dialog.
| parent | Widget to use as the dialog parent (for centering). |
| portfolioId | If set, imported portfolios are placed under this existing portfolio instead of the root. |
| portfolioName | Display name for the pre-selected portfolio. |
|
signal |
Emitted when an import completes successfully.
Subscribers (e.g. PortfolioExplorerMdiWindow) can use this to reload data.