16 #ifndef QGSSETTINGSENTRYIMPL_H
17 #define QGSSETTINGSENTRYIMPL_H
44 const QString §ion,
45 const QVariant &defaultValue = QVariant(),
46 const QString &description = QString(),
64 const QString &pluginName,
65 const QVariant &defaultValue = QVariant(),
66 const QString &description = QString(),
67 Qgis::SettingsOptions options = Qgis::SettingsOptions() );
69 sipCpp =
new sipQgsSettingsEntryVariant(
QgsSettingsEntryVariant( *a0, QStringLiteral(
"plugins/%1" ).arg( *a1 ), *a2, *a3, *a4 ) );
103 const QString §ion,
104 const QString &defaultValue = QString(),
105 const QString &description = QString(),
106 Qgis::SettingsOptions options = Qgis::SettingsOptions(),
110 , mMinLength( minLength )
111 , mMaxLength( maxLength )
128 const QString &pluginName,
129 const QString &defaultValue = QString(),
130 const QString &description = QString(),
131 Qgis::SettingsOptions options = Qgis::SettingsOptions(),
133 int maxLength = -1 );
135 sipCpp =
new sipQgsSettingsEntryString(
QgsSettingsEntryString( *a0, QStringLiteral(
"plugins/%1" ).arg( *a1 ), *a2, *a3, *a4 ) );
146 void setMinLength(
int minLength );
151 int minLength()
const;
158 void setMaxLength(
int maxLength );
163 int maxLength()
const;
196 const QString §ion,
197 const QStringList &defaultValue = QStringList(),
198 const QString &description = QString(),
217 const QString &pluginName,
218 const QStringList &defaultValue = QStringList(),
219 const QString &description = QString(),
220 Qgis::SettingsOptions options = Qgis::SettingsOptions() );
222 sipCpp =
new sipQgsSettingsEntryStringList(
QgsSettingsEntryStringList( *a0, QStringLiteral(
"plugins/%1" ).arg( *a1 ), *a2, *a3, *a4 ) );
255 const QString §ion,
256 bool defaultValue =
false,
257 const QString &description = QString(),
275 const QString &pluginName,
276 bool defaultValue =
false,
277 const QString &description = QString(),
278 Qgis::SettingsOptions options = Qgis::SettingsOptions() );
280 sipCpp =
new sipQgsSettingsEntryBool(
QgsSettingsEntryBool( *a0, QStringLiteral(
"plugins/%1" ).arg( *a1 ), a2, *a3, *a4 ) );
315 const QString §ion,
316 qlonglong defaultValue = 0,
317 const QString &description = QString(),
318 Qgis::SettingsOptions options = Qgis::SettingsOptions(),
319 qlonglong minValue = std::numeric_limits<qlonglong>::min(),
320 qlonglong maxValue = std::numeric_limits<qlonglong>::max() )
SIP_MAKE_PRIVATE
322 , mMinValue( minValue )
323 , mMaxValue( maxValue )
341 const QString &pluginName,
342 qlonglong defaultValue = 0,
343 const QString &description = QString(),
344 Qgis::SettingsOptions options = Qgis::SettingsOptions(),
345 qlonglong minValue = std::numeric_limits<qlonglong>::min(),
346 qlonglong maxValue = std::numeric_limits<qlonglong>::max() );
348 sipCpp =
new sipQgsSettingsEntryInteger(
QgsSettingsEntryInteger( *a0, QStringLiteral(
"plugins/%1" ).arg( *a1 ), a2, *a3, *a4, a5, a6 ) );
359 void setMinValue( qlonglong minValue );
364 qlonglong minValue()
const;
371 void setMaxValue( qlonglong maxValue );
376 qlonglong maxValue()
const;
412 const QString §ion,
413 double defaultValue = 0.0,
414 const QString &description = QString(),
415 Qgis::SettingsOptions options = Qgis::SettingsOptions(),
416 double minValue = std::numeric_limits<double>::lowest(),
417 double maxValue = std::numeric_limits<double>::max(),
420 , mMinValue( minValue )
421 , mMaxValue( maxValue )
422 , mDisplayHintDecimals( displayDecimals )
441 const QString &pluginName,
443 const QString &description = QString(),
444 Qgis::SettingsOptions options = Qgis::SettingsOptions(),
445 double minValue = std::numeric_limits<double>::lowest(),
446 double maxValue = std::numeric_limits<double>::max(),
447 int displayDecimals = 1 );
449 sipCpp =
new sipQgsSettingsEntryDouble(
QgsSettingsEntryDouble( *a0, QStringLiteral(
"plugins/%1" ).arg( *a1 ), a2, *a3, *a4, a5, a6, a7 ) );
461 void setMinValue(
double minValue );
466 double minValue()
const;
473 void setMaxValue(
double maxValue );
478 double maxValue()
const;
485 void setDisplayHintDecimals(
int displayHintDecimals );
490 int displayHintDecimals()
const;
498 int mDisplayHintDecimals;
525 const QString §ion,
526 const QColor &defaultValue = QColor(),
527 const QString &description = QString(),
545 const QString &pluginName,
546 const QColor &defaultValue = QColor(),
547 const QString &description = QString(),
548 Qgis::SettingsOptions options = Qgis::SettingsOptions() );
550 sipCpp =
new sipQgsSettingsEntryColor(
QgsSettingsEntryColor( *a0, QStringLiteral(
"plugins/%1" ).arg( *a1 ), *a2, *a3, *a4 ) );
561 #endif // QGSSETTINGSENTRYIMPL_H