|
| QgsWmsParameter (const QgsWmsParameter::Name name=QgsWmsParameter::UNKNOWN, const QVariant::Type type=QVariant::String, const QVariant defaultValue=QVariant("")) |
| Constructor for QgsWmsParameter. More...
|
|
virtual | ~QgsWmsParameter () override=default |
| Default destructor for QgsWmsParameter. More...
|
|
bool | isValid () const override |
| Returns true if the parameter is valid, false otherwise. More...
|
|
QString | loadUrl () const |
| Loads the data associated to the parameter converted into an url. More...
|
|
QString | name () const |
| Returns the name of the parameter. More...
|
|
void | raiseError () const |
| Raises an error in case of an invalid conversion. More...
|
|
QColor | toColor () const |
| Converts the parameter into a color. More...
|
|
QList< QColor > | toColorList (const char delimiter=',') const |
| Converts the parameter into a list of colors. More...
|
|
double | toDouble () const |
| Converts the parameter into a double. More...
|
|
QList< double > | toDoubleList (const char delimiter=',') const |
| Converts the parameter into a list of doubles. More...
|
|
QList< QgsGeometry > | toGeomList (const char delimiter=',') const |
| Converts the parameter into a list of geometries. More...
|
|
int | toInt () const |
| Converts the parameter into an integer. More...
|
|
QList< int > | toIntList (const char delimiter=',') const |
| Converts the parameter into a list of integers. More...
|
|
QgsRectangle | toRectangle () const |
| Converts the parameter into a rectangle. More...
|
|
QStringList | toStyleList (const char delimiter=',') const |
| Converts the parameter into a list of strings and keeps empty parts Default style value is an empty string. More...
|
|
QUrl | toUrl () const |
| Converts the parameter into an url. More...
|
|
| QgsServerParameterDefinition (const QVariant::Type type=QVariant::String, const QVariant defaultValue=QVariant("")) |
| Constructor for QgsServerParameterDefinition. More...
|
|
virtual | ~QgsServerParameterDefinition ()=default |
| Default destructor for QgsServerParameterDefinition. More...
|
|
virtual bool | isValid () const |
| Returns true if the parameter is valid, false otherwise. More...
|
|
QString | loadUrl (bool &ok) const |
| Loads the data associated to the parameter converted into an url. More...
|
|
bool | toBool () const |
| Converts the parameter into a boolean. More...
|
|
QColor | toColor (bool &ok) const |
| Converts the parameter into a color. More...
|
|
QList< QColor > | toColorList (bool &ok, char delimiter=',') const |
| Converts the parameter into a list of colors. More...
|
|
double | toDouble (bool &ok) const |
| Converts the parameter into a double. More...
|
|
QList< double > | toDoubleList (bool &ok, char delimiter=',') const |
| Converts the parameter into a list of doubles. More...
|
|
QStringList | toExpressionList () const |
| Converts the parameter into a list of QGIS expressions. More...
|
|
QList< QgsGeometry > | toGeomList (bool &ok, char delimiter=',') const |
| Converts the parameter into a list of geometries. More...
|
|
int | toInt (bool &ok) const |
| Converts the parameter into an integer. More...
|
|
QList< int > | toIntList (bool &ok, char delimiter=',') const |
| Converts the parameter into a list of integers. More...
|
|
QStringList | toOgcFilterList () const |
| Converts the parameter into a list of OGC filters. More...
|
|
QgsRectangle | toRectangle (bool &ok) const |
| Converts the parameter into a rectangle. More...
|
|
QString | toString (bool defaultValue=false) const |
| Converts the parameter into a string. More...
|
|
QStringList | toStringList (char delimiter=',', bool skipEmptyParts=true) const |
| Converts the parameter into a list of strings. More...
|
|
QUrl | toUrl (bool &ok) const |
| Converts the parameter into an url. More...
|
|
QString | typeName () const |
| Returns the type of the parameter as a string. More...
|
|