ReadFramework
|
Class that configures the ScaleFactory More...
#include <ScaleFactory.h>
Public Types | |
enum | ScaleSideMode { scale_max_side = 0, scale_height, scale_end } |
Public Member Functions | |
ScaleFactoryConfig () | |
virtual QString | toString () const override |
void | setMaxImageSide (int maxSide) |
int | maxImageSide () const |
void | setScaleMode (const ScaleFactoryConfig::ScaleSideMode &mode) |
ScaleFactoryConfig::ScaleSideMode | scaleMode () const |
int | dpi () const |
Public Member Functions inherited from rdf::ModuleConfig | |
ModuleConfig (const QString &moduleName="Generic Module") | |
void | loadSettings () |
void | loadSettings (QSettings &settings) |
void | saveSettings () const |
void | saveSettings (QSettings &settings) const |
void | saveDefaultSettings () const |
virtual void | saveDefaultSettings (QSettings &settings) const |
QString | name () const |
Protected Member Functions | |
void | load (const QSettings &settings) override |
void | save (QSettings &settings) const override |
Protected Member Functions inherited from rdf::ModuleConfig | |
template<class num > | |
num | checkParam (num param, num min, num max, const QString &name) const |
Protected Attributes | |
int | mMaxImageSide = 1000 |
int | mDpi = 300 |
ScaleFactoryConfig::ScaleSideMode | mScaleMode = ScaleFactoryConfig::scale_height |
Protected Attributes inherited from rdf::ModuleConfig | |
QString | mModuleName |
Class that configures the ScaleFactory
rdf::ScaleFactoryConfig::ScaleFactoryConfig | ( | ) |
int rdf::ScaleFactoryConfig::dpi | ( | ) | const |
|
overrideprotectedvirtual |
Reimplemented from rdf::ModuleConfig.
int rdf::ScaleFactoryConfig::maxImageSide | ( | ) | const |
|
overrideprotectedvirtual |
Reimplemented from rdf::ModuleConfig.
ScaleFactoryConfig::ScaleSideMode rdf::ScaleFactoryConfig::scaleMode | ( | ) | const |
void rdf::ScaleFactoryConfig::setMaxImageSide | ( | int | maxSide | ) |
void rdf::ScaleFactoryConfig::setScaleMode | ( | const ScaleFactoryConfig::ScaleSideMode & | mode | ) |
|
overridevirtual |
Reimplemented from rdf::ModuleConfig.
|
protected |
|
protected |
|
protected |