|
void | setHdpiScaleFactorRoundingPolicy (const QString &policy_str) |
| setHdpiScaleFactorRoundingPolicy Write the value of HdpiScaleFactorRoundingPolicy in QElectroTech settings the value is in form of a string. policy can be : Round, Ceil, Floor, RoundPreferFloor, PassThrough In case of wrong policy, PassThrough is use as default value. The value is stored with key : hdpi_scale_factor_rounding_policy
|
|
void | setHdpiScaleFactorRoundingPolicy (Qt::HighDpiScaleFactorRoundingPolicy policy) |
| setHdpiScaleFactorRoundingPolicy Overload function
|
|
Qt::HighDpiScaleFactorRoundingPolicy | hdpiScaleFactorRoundingPolicy (Qt::HighDpiScaleFactorRoundingPolicy default_policy) |
| hdpiScaleFactorRoundingPolicy
|
|
Interface to use QSettings in QElectroTech Prefer use this namespace instead of directly QSettings It's notably useful when some QSettings value are used in different part of QElectroTech source code
void QetSettings::setHdpiScaleFactorRoundingPolicy |
( |
const QString & |
policy_str | ) |
|
setHdpiScaleFactorRoundingPolicy Write the value of HdpiScaleFactorRoundingPolicy in QElectroTech settings the value is in form of a string. policy can be : Round, Ceil, Floor, RoundPreferFloor, PassThrough In case of wrong policy, PassThrough is use as default value. The value is stored with key : hdpi_scale_factor_rounding_policy
- See also
- Qt::HighDpiScaleFactorRoundingPolicy
- Parameters
-