Small native view monitor with a separate, user-initiated visibility command.
More...
|
| ExtensionInfo | info () const override |
| | Return metadata matching the configured independent module.
|
| |
| bool | initialize (ExtensionHost *host, QString *error) override |
| | Discover optional interfaces, subscribe before snapshotting and mount a panel.
|
| |
| void | shutdown () override |
| | End managed subscriptions and release borrowed capabilities before unload.
|
| |
| QString | id () const override |
| | Identify the extension-local dock contribution.
|
| |
| QString | title () const override |
| | Name the view monitor.
|
| |
| QWidget * | create (ExtensionHost *host) override |
| | Construct a copied metadata summary and an explicit layer command.
|
| |
| virtual | ~IGuiExtension ()=default |
| | Destroy the interface; the Qt loader owns the implementing QObject.
|
| |
| virtual QStringList | contributions () const |
| | Advertise supported contribution families for diagnostics.
|
| |
| virtual QList< ExtensionInfo > | children () const |
| | Enumerate extensions hosted by this plugin, such as Python-authored packages.
|
| |
| virtual | ~IDockPanelFactory ()=default |
| | Destroy an unregistered factory; registered factories remain borrowed by the host.
|
| |
| virtual Qt::DockWidgetArea | defaultArea () const |
| | Choose initial placement before saved layout restore.
|
| |
| virtual QString | tabifyWith () const |
| | Request tabification beside an existing dock.
|
| |
Small native view monitor with a separate, user-initiated visibility command.
◆ create()
Construct a copied metadata summary and an explicit layer command.
- Parameters
-
| [in] | host | Borrowed host; the capabilities have already been discovered. |
- Returns
- New widget transferred to host ownership.
Implements OpenSWMM::Sdk::IDockPanelFactory.
◆ id()
| QString ViewsExample::id |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ info()
Return metadata matching the configured independent module.
- Returns
- Owning identity/caption/license values.
Implements OpenSWMM::Sdk::IGuiExtension.
◆ initialize()
| bool ViewsExample::initialize |
( |
ExtensionHost * |
host, |
|
|
QString * |
error |
|
) |
| |
|
inlineoverridevirtual |
Discover optional interfaces, subscribe before snapshotting and mount a panel.
- Parameters
-
| [in] | host | Borrowed per-plugin host. |
| [out] | error | Missing service or panel-registration detail. |
- Returns
- True after all required services and the panel are registered.
Implements OpenSWMM::Sdk::IGuiExtension.
◆ shutdown()
| void ViewsExample::shutdown |
( |
| ) |
|
|
inlineoverridevirtual |
◆ title()
| QString ViewsExample::title |
( |
| ) |
const |
|
inlineoverridevirtual |
The documentation for this class was generated from the following file:
- /home/runner/work/openswmm.gui/openswmm.gui/examples/extensions/views/extension.cpp