22 [[nodiscard]] QString
getName()
const override;
Base/Interface class for application modules.
Definition AppModuleInterface.h:26
InitializeStage
Definition AppModuleInterface.h:67
Dialog containing multiple property pages.
Definition qt/PropertySheetDialog.h:14
Definition UnitConversionAppModule.h:10
QString getName() const override
Gets the description of this instance.
~UnitConversionAppModule() override
bool _ask
Definition UnitConversionAppModule.h:49
UnitConversionAppModule(const Parameters ¶ms)
QString getDescription() const override
Gets the description of this instance.
void initialize(InitializeStage stage) override
Called when al modules are loaded or when a module added.
UnitSystem
Definition UnitConversionAppModule.h:39
@ PassThrough
Definition UnitConversionAppModule.h:40
@ Imperial
Definition UnitConversionAppModule.h:42
@ Metric
Definition UnitConversionAppModule.h:41
void storeSettings(bool save)
QSettings * _settings
Definition UnitConversionAppModule.h:36
void addPropertyPages(PropertySheetDialog *) override
Adds module property pages to the passed sheet.
QString getLibraryFilename() const override
Gets the library filename.
QString _configFilePath
Definition UnitConversionAppModule.h:30
bool unitConversionHandler(UnitConversionEvent &ev) const
UnitConversionServerEx _ucs
Definition UnitConversionAppModule.h:32
QString getSvgIconResource() const override
Gets svg icon resource name and can be overridden to change the default.
Extended UnitConversionServer with master and slaved variables.
Definition UnitConversionServerEx.h:16
@ usImperial
Definition UnitConversionServer.h:79
@ usMetric
Definition UnitConversionServer.h:74
@ usPassThrough
Definition UnitConversionServer.h:69
Definition Application.h:10
Structure for passing parameters to derived classes loaded and created at run-time.
Definition AppModuleInterface.h:32
Structure passed to handle unit conversions.
Definition UnitConversion.h:14