-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implement separate wfs title #57822
implement separate wfs title #57822
Conversation
92e38f0
to
5be4e69
Compare
|
||
QString wfsTitle() const; | ||
%Docstring | ||
Returns the optional wfs title if set or the title of the layer used by |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Returns the optional wfs title if set or the title of the layer used by | |
Returns the optional WFS title if set or the title of the layer used by |
|
||
QString wfsTitle() const; | ||
%Docstring | ||
Returns the optional wfs title if set or the title of the layer used by |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Returns the optional wfs title if set or the title of the layer used by | |
Returns the optional WFS title if set or the title of the layer used by |
@@ -343,6 +352,16 @@ class CORE_EXPORT QgsMapLayerServerProperties: public QgsServerMetadataUrlProper | |||
*/ | |||
QString title() const { return mTitle; } | |||
|
|||
/** | |||
* Returns the optional wfs title if set or the title of the layer used by |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Returns the optional wfs title if set or the title of the layer used by | |
* Returns the optional WFS title if set or the title of the layer used by |
@@ -834,6 +836,16 @@ void QgsVectorLayerProperties::apply() | |||
mMetadataFilled = false; | |||
mLayer->serverProperties()->setTitle( mLayerTitleLineEdit->text() ); | |||
|
|||
if ( mLayerOptWfsTitleLineEdit->text() != "" && mLayerOptWfsTitleLineEdit->text() != mLayerTitleLineEdit->text() ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if ( mLayerOptWfsTitleLineEdit->text() != "" && mLayerOptWfsTitleLineEdit->text() != mLayerTitleLineEdit->text() ) | |
if ( !mLayerOptWfsTitleLineEdit->isEmpty() && mLayerOptWfsTitleLineEdit->text() != mLayerTitleLineEdit->text() ) |
5be4e69
to
eb71fc4
Compare
This pull request has been tagged for the changelog.
You can edit the description. Format available for credits
Thank you! |
@jef-n A documentation ticket will be opened at https://github.com/qgis/QGIS-Documentation when this PR is merged. Please update the description (not the comments) with helpful description and screenshot to help the work from documentors. Thank you! |
@jef-n |
implements #55317