mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-05 00:09:32 -04:00
Typo fixes
This commit is contained in:
parent
9e5f463f1a
commit
a9ddf6983a
@ -235,7 +235,7 @@ ready for the insertion into a SQL query.
|
||||
|
||||
bool authDbOpen() const;
|
||||
%Docstring
|
||||
Opens the connction to the database.
|
||||
Opens the connection to the database.
|
||||
|
||||
:return: ``True`` if the connection was opened successfully, ``False``
|
||||
otherwise.
|
||||
|
@ -10,7 +10,7 @@
|
||||
class QgsBasicNumericFormat : QgsNumericFormat
|
||||
{
|
||||
%Docstring(signature="appended")
|
||||
A numeric formater which returns a simple text representation of a
|
||||
A numeric formatter which returns a simple text representation of a
|
||||
value.
|
||||
|
||||
.. versionadded:: 3.12
|
||||
|
@ -10,7 +10,7 @@
|
||||
class QgsBearingNumericFormat : QgsBasicNumericFormat
|
||||
{
|
||||
%Docstring(signature="appended")
|
||||
A numeric formater which returns a text representation of a
|
||||
A numeric formatter which returns a text representation of a
|
||||
direction/bearing.
|
||||
|
||||
.. versionadded:: 3.12
|
||||
|
@ -10,7 +10,7 @@
|
||||
class QgsGeographicCoordinateNumericFormat : QgsBasicNumericFormat
|
||||
{
|
||||
%Docstring(signature="appended")
|
||||
A numeric formater which returns a text representation of a geographic
|
||||
A numeric formatter which returns a text representation of a geographic
|
||||
coordinate (latitude or longitude).
|
||||
|
||||
.. versionadded:: 3.26
|
||||
|
@ -10,7 +10,7 @@
|
||||
class QgsCurrencyNumericFormat : QgsBasicNumericFormat
|
||||
{
|
||||
%Docstring(signature="appended")
|
||||
A numeric formater which returns a text representation of a currency
|
||||
A numeric formatter which returns a text representation of a currency
|
||||
value.
|
||||
|
||||
.. versionadded:: 3.12
|
||||
|
@ -10,8 +10,8 @@
|
||||
class QgsFallbackNumericFormat : QgsNumericFormat
|
||||
{
|
||||
%Docstring(signature="appended")
|
||||
A basic numeric formater which returns a simple text representation of a
|
||||
value.
|
||||
A basic numeric formatter which returns a simple text representation of
|
||||
a value.
|
||||
|
||||
.. versionadded:: 3.12
|
||||
%End
|
||||
|
@ -10,8 +10,8 @@
|
||||
class QgsFractionNumericFormat : QgsNumericFormat
|
||||
{
|
||||
%Docstring(signature="appended")
|
||||
A numeric formater which returns a vulgar fractional representation of a
|
||||
decimal value (e.g. "1/2" instead of 0.5).
|
||||
A numeric formatter which returns a vulgar fractional representation of
|
||||
a decimal value (e.g. "1/2" instead of 0.5).
|
||||
|
||||
.. versionadded:: 3.14
|
||||
%End
|
||||
|
@ -10,7 +10,7 @@
|
||||
class QgsPercentageNumericFormat : QgsBasicNumericFormat
|
||||
{
|
||||
%Docstring(signature="appended")
|
||||
A numeric formater which returns a text representation of a percentage
|
||||
A numeric formatter which returns a text representation of a percentage
|
||||
value.
|
||||
|
||||
.. versionadded:: 3.12
|
||||
|
@ -10,8 +10,8 @@
|
||||
class QgsScientificNumericFormat : QgsBasicNumericFormat
|
||||
{
|
||||
%Docstring(signature="appended")
|
||||
A numeric formater which returns a scientific notation representation of
|
||||
a value.
|
||||
A numeric formatter which returns a scientific notation representation
|
||||
of a value.
|
||||
|
||||
.. versionadded:: 3.12
|
||||
%End
|
||||
|
@ -829,7 +829,7 @@ they are originally in ``sourceCrs``.
|
||||
|
||||
This method will return
|
||||
:py:func:`~QgsFeatureRequest.coordinateTransform` if it is set (ignoring
|
||||
``sourceCrs``), otherwise it will calculate an appriopriate transform
|
||||
``sourceCrs``), otherwise it will calculate an appropriate transform
|
||||
from ``sourceCrs`` to :py:func:`~QgsFeatureRequest.destinationCrs`.
|
||||
|
||||
.. versionadded:: 3.40
|
||||
|
@ -38,7 +38,7 @@ Creates a feature from the current GPS track.
|
||||
The geometry type of the feature is determined by the layer set via
|
||||
:py:func:`QgsProjectGpsSettings.destinationLayer()`.
|
||||
|
||||
The created geometry will be automatically commited depending on the
|
||||
The created geometry will be automatically committed depending on the
|
||||
status of
|
||||
:py:func:`QgsProjectGpsSettings.automaticallyCommitFeatures()`.
|
||||
%End
|
||||
|
@ -235,7 +235,7 @@ ready for the insertion into a SQL query.
|
||||
|
||||
bool authDbOpen() const;
|
||||
%Docstring
|
||||
Opens the connction to the database.
|
||||
Opens the connection to the database.
|
||||
|
||||
:return: ``True`` if the connection was opened successfully, ``False``
|
||||
otherwise.
|
||||
|
@ -10,7 +10,7 @@
|
||||
class QgsBasicNumericFormat : QgsNumericFormat
|
||||
{
|
||||
%Docstring(signature="appended")
|
||||
A numeric formater which returns a simple text representation of a
|
||||
A numeric formatter which returns a simple text representation of a
|
||||
value.
|
||||
|
||||
.. versionadded:: 3.12
|
||||
|
@ -10,7 +10,7 @@
|
||||
class QgsBearingNumericFormat : QgsBasicNumericFormat
|
||||
{
|
||||
%Docstring(signature="appended")
|
||||
A numeric formater which returns a text representation of a
|
||||
A numeric formatter which returns a text representation of a
|
||||
direction/bearing.
|
||||
|
||||
.. versionadded:: 3.12
|
||||
|
@ -10,7 +10,7 @@
|
||||
class QgsGeographicCoordinateNumericFormat : QgsBasicNumericFormat
|
||||
{
|
||||
%Docstring(signature="appended")
|
||||
A numeric formater which returns a text representation of a geographic
|
||||
A numeric formatter which returns a text representation of a geographic
|
||||
coordinate (latitude or longitude).
|
||||
|
||||
.. versionadded:: 3.26
|
||||
|
@ -10,7 +10,7 @@
|
||||
class QgsCurrencyNumericFormat : QgsBasicNumericFormat
|
||||
{
|
||||
%Docstring(signature="appended")
|
||||
A numeric formater which returns a text representation of a currency
|
||||
A numeric formatter which returns a text representation of a currency
|
||||
value.
|
||||
|
||||
.. versionadded:: 3.12
|
||||
|
@ -10,8 +10,8 @@
|
||||
class QgsFallbackNumericFormat : QgsNumericFormat
|
||||
{
|
||||
%Docstring(signature="appended")
|
||||
A basic numeric formater which returns a simple text representation of a
|
||||
value.
|
||||
A basic numeric formatter which returns a simple text representation of
|
||||
a value.
|
||||
|
||||
.. versionadded:: 3.12
|
||||
%End
|
||||
|
@ -10,8 +10,8 @@
|
||||
class QgsFractionNumericFormat : QgsNumericFormat
|
||||
{
|
||||
%Docstring(signature="appended")
|
||||
A numeric formater which returns a vulgar fractional representation of a
|
||||
decimal value (e.g. "1/2" instead of 0.5).
|
||||
A numeric formatter which returns a vulgar fractional representation of
|
||||
a decimal value (e.g. "1/2" instead of 0.5).
|
||||
|
||||
.. versionadded:: 3.14
|
||||
%End
|
||||
|
@ -10,7 +10,7 @@
|
||||
class QgsPercentageNumericFormat : QgsBasicNumericFormat
|
||||
{
|
||||
%Docstring(signature="appended")
|
||||
A numeric formater which returns a text representation of a percentage
|
||||
A numeric formatter which returns a text representation of a percentage
|
||||
value.
|
||||
|
||||
.. versionadded:: 3.12
|
||||
|
@ -10,8 +10,8 @@
|
||||
class QgsScientificNumericFormat : QgsBasicNumericFormat
|
||||
{
|
||||
%Docstring(signature="appended")
|
||||
A numeric formater which returns a scientific notation representation of
|
||||
a value.
|
||||
A numeric formatter which returns a scientific notation representation
|
||||
of a value.
|
||||
|
||||
.. versionadded:: 3.12
|
||||
%End
|
||||
|
@ -829,7 +829,7 @@ they are originally in ``sourceCrs``.
|
||||
|
||||
This method will return
|
||||
:py:func:`~QgsFeatureRequest.coordinateTransform` if it is set (ignoring
|
||||
``sourceCrs``), otherwise it will calculate an appriopriate transform
|
||||
``sourceCrs``), otherwise it will calculate an appropriate transform
|
||||
from ``sourceCrs`` to :py:func:`~QgsFeatureRequest.destinationCrs`.
|
||||
|
||||
.. versionadded:: 3.40
|
||||
|
@ -38,7 +38,7 @@ Creates a feature from the current GPS track.
|
||||
The geometry type of the feature is determined by the layer set via
|
||||
:py:func:`QgsProjectGpsSettings.destinationLayer()`.
|
||||
|
||||
The created geometry will be automatically commited depending on the
|
||||
The created geometry will be automatically committed depending on the
|
||||
status of
|
||||
:py:func:`QgsProjectGpsSettings.automaticallyCommitFeatures()`.
|
||||
%End
|
||||
|
@ -62,7 +62,7 @@ QString QgsGeometryCheckGapAlgorithm::shortHelpString() const
|
||||
"If an allowed gaps layer is given, the gaps contained in polygons from this layer will be ignored.\n"
|
||||
"An optional buffer can be applied to the allowed gaps.\n\n"
|
||||
"The neighbors output layer is needed for the fix geometry (gaps) algorithm. It is a 1-N "
|
||||
"relational table for correspondance between a gap and the unique id of its neighbor features." );
|
||||
"relational table for correspondence between a gap and the unique id of its neighbor features." );
|
||||
}
|
||||
|
||||
Qgis::ProcessingAlgorithmFlags QgsGeometryCheckGapAlgorithm::flags() const
|
||||
|
@ -72,7 +72,7 @@ QgsPointCloudElevationPropertiesWidget::QgsPointCloudElevationPropertiesWidget(
|
||||
|
||||
connect( mOffsetZSpinBox, qOverload<double>( &QDoubleSpinBox::valueChanged ), this, &QgsPointCloudElevationPropertiesWidget::onChanged );
|
||||
connect( mScaleZSpinBox, qOverload<double>( &QDoubleSpinBox::valueChanged ), this, &QgsPointCloudElevationPropertiesWidget::onChanged );
|
||||
connect( mShifPointCloudZAxisButton, &QPushButton::clicked, this, &QgsPointCloudElevationPropertiesWidget::shiftPointCloudZAxis );
|
||||
connect( mShiftPointCloudZAxisButton, &QPushButton::clicked, this, &QgsPointCloudElevationPropertiesWidget::shiftPointCloudZAxis );
|
||||
connect( mPointSizeSpinBox, qOverload<double>( &QgsDoubleSpinBox::valueChanged ), this, &QgsPointCloudElevationPropertiesWidget::onChanged );
|
||||
connect( mPointSizeUnitWidget, &QgsUnitSelectionWidget::changed, this, &QgsPointCloudElevationPropertiesWidget::onChanged );
|
||||
connect( mMaxErrorSpinBox, qOverload<double>( &QgsDoubleSpinBox::valueChanged ), this, &QgsPointCloudElevationPropertiesWidget::onChanged );
|
||||
|
@ -191,7 +191,7 @@ class CORE_EXPORT QgsAuthConfigurationStorageDb : public QgsAuthConfigurationSto
|
||||
protected:
|
||||
|
||||
/**
|
||||
* Opens the connction to the database.
|
||||
* Opens the connection to the database.
|
||||
* \returns TRUE if the connection was opened successfully, FALSE otherwise.
|
||||
*/
|
||||
bool authDbOpen() const;
|
||||
|
@ -2607,7 +2607,7 @@ static QVariant fcnCrsFromText( const QVariantList &values, const QgsExpressionC
|
||||
|
||||
if ( !crs.isValid() )
|
||||
{
|
||||
parent->setEvalErrorString( QObject::tr( "Cannot convert '%1' to cordinate reference system" ).arg( definition ) );
|
||||
parent->setEvalErrorString( QObject::tr( "Cannot convert '%1' to coordinate reference system" ).arg( definition ) );
|
||||
}
|
||||
|
||||
return QVariant::fromValue( crs );
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
/**
|
||||
* \ingroup core
|
||||
* \brief A numeric formater which returns a simple text representation of a value.
|
||||
* \brief A numeric formatter which returns a simple text representation of a value.
|
||||
*
|
||||
* \since QGIS 3.12
|
||||
*/
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
/**
|
||||
* \ingroup core
|
||||
* \brief A numeric formater which returns a text representation of a direction/bearing.
|
||||
* \brief A numeric formatter which returns a text representation of a direction/bearing.
|
||||
*
|
||||
* \since QGIS 3.12
|
||||
*/
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
/**
|
||||
* \ingroup core
|
||||
* \brief A numeric formater which returns a text representation of a geographic coordinate (latitude or longitude).
|
||||
* \brief A numeric formatter which returns a text representation of a geographic coordinate (latitude or longitude).
|
||||
*
|
||||
* \since QGIS 3.26
|
||||
*/
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
/**
|
||||
* \ingroup core
|
||||
* \brief A numeric formater which returns a text representation of a currency value.
|
||||
* \brief A numeric formatter which returns a text representation of a currency value.
|
||||
*
|
||||
* \since QGIS 3.12
|
||||
*/
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
/**
|
||||
* \ingroup core
|
||||
* \brief A basic numeric formater which returns a simple text representation of a value.
|
||||
* \brief A basic numeric formatter which returns a simple text representation of a value.
|
||||
*
|
||||
* \since QGIS 3.12
|
||||
*/
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
/**
|
||||
* \ingroup core
|
||||
* \brief A numeric formater which returns a vulgar fractional representation of a decimal value (e.g. "1/2" instead of 0.5).
|
||||
* \brief A numeric formatter which returns a vulgar fractional representation of a decimal value (e.g. "1/2" instead of 0.5).
|
||||
*
|
||||
* \since QGIS 3.14
|
||||
*/
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
/**
|
||||
* \ingroup core
|
||||
* \brief A numeric formater which returns a text representation of a percentage value.
|
||||
* \brief A numeric formatter which returns a text representation of a percentage value.
|
||||
*
|
||||
* \since QGIS 3.12
|
||||
*/
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
/**
|
||||
* \ingroup core
|
||||
* \brief A numeric formater which returns a scientific notation representation of a value.
|
||||
* \brief A numeric formatter which returns a scientific notation representation of a value.
|
||||
*
|
||||
* \since QGIS 3.12
|
||||
*/
|
||||
|
@ -119,7 +119,7 @@ namespace pal
|
||||
*/
|
||||
void removeLayer( Layer *layer );
|
||||
|
||||
//! Cancelation check callback function
|
||||
//! Cancellation check callback function
|
||||
typedef bool ( *FnIsCanceled )( void *ctx );
|
||||
|
||||
//! Register a function that returns whether this job has been canceled - PAL calls it during the computation
|
||||
@ -271,7 +271,7 @@ namespace pal
|
||||
void setRules( const QList< QgsAbstractLabelingEngineRule * > &rules );
|
||||
|
||||
/**
|
||||
* Returns the rules which the labeling solution must satisify.
|
||||
* Returns the rules which the labeling solution must satisfy.
|
||||
*
|
||||
* \see setRules()
|
||||
* \since QGIS 3.40
|
||||
|
@ -57,7 +57,7 @@ class CORE_EXPORT QgsPointCloudLayerUndoCommandChangeAttribute : public QgsPoint
|
||||
* \param layer associated point cloud layer
|
||||
* \param nodesAndPoints affected nodes, each with a list of points to be modified
|
||||
* \param attribute the attribute whose value will be modified
|
||||
* \param value the new value for the modified attribure
|
||||
* \param value the new value for the modified attribute
|
||||
*/
|
||||
QgsPointCloudLayerUndoCommandChangeAttribute( QgsPointCloudLayer *layer, const QHash<QgsPointCloudNodeId, QVector<int>> &nodesAndPoints, const QgsPointCloudAttribute &attribute, double value );
|
||||
|
||||
|
@ -1776,7 +1776,7 @@ class CORE_EXPORT QgsProject : public QObject, public QgsExpressionContextGenera
|
||||
void setElevationShadingRenderer( const QgsElevationShadingRenderer &elevationShadingRenderer );
|
||||
|
||||
/**
|
||||
* Loads python expression functions stored in the currrent project
|
||||
* Loads python expression functions stored in the current project
|
||||
* \param force Whether to check enablePythonEmbedded setting (default) or not.
|
||||
* \returns Whether the project functions were loaded or not.
|
||||
*
|
||||
|
@ -354,7 +354,7 @@ class CORE_EXPORT QgsProjectStyleSettings : public QObject
|
||||
void loadStyleAtPath( const QString &path );
|
||||
void clearStyles();
|
||||
|
||||
//! propagate dirtyness to project
|
||||
//! propagate dirtiness to project
|
||||
void makeDirty();
|
||||
|
||||
friend class TestQgsProjectProperties;
|
||||
|
@ -763,7 +763,7 @@ class CORE_EXPORT QgsFeatureRequest
|
||||
* when they are originally in \a sourceCrs.
|
||||
*
|
||||
* This method will return coordinateTransform() if it is set (ignoring \a sourceCrs), otherwise
|
||||
* it will calculate an appriopriate transform from \a sourceCrs to destinationCrs().
|
||||
* it will calculate an appropriate transform from \a sourceCrs to destinationCrs().
|
||||
*
|
||||
* \since QGIS 3.40
|
||||
*/
|
||||
|
@ -2034,7 +2034,7 @@ void QgsTextRenderer::drawTextInternalHorizontal( QgsRenderContext &context, con
|
||||
|
||||
// Depending on format settings, we may need to render in multiple passes. Eg buffer than text, or shadow than text.
|
||||
// We try to avoid this if possible as it requires more work, and just do a single pass, rendering text directly as we go.
|
||||
// If we need to do multi-pass rendering then we'll calculate paths ONCE upfront and defer actually renderring these.
|
||||
// If we need to do multi-pass rendering then we'll calculate paths ONCE upfront and defer actually rendering these.
|
||||
const bool requiresMultiPassRendering = ( components & Qgis::TextComponent::Buffer && format.buffer().enabled() )
|
||||
|| ( components & Qgis::TextComponent::Shadow && format.shadow().enabled() && ( format.shadow().shadowPlacement() == QgsTextShadowSettings::ShadowText || format.shadow().shadowPlacement() == QgsTextShadowSettings::ShadowBuffer ) );
|
||||
if ( requiresMultiPassRendering )
|
||||
|
@ -48,7 +48,7 @@
|
||||
#include "qgsvectorlayereditbuffer.h"
|
||||
#include "qgsactionmenu.h"
|
||||
|
||||
const std::unique_ptr<QgsSettingsEntryVariant> QgsDualView::conditionalFormattingSplitterState = std::make_unique<QgsSettingsEntryVariant>( QStringLiteral( "attribute-table-splitter-state" ), QgsSettingsTree::sTreeWindowState, QgsVariantUtils::createNullVariant( QMetaType::Type::QByteArray ), QStringLiteral( "State of conditionnal formatting splitter's layout so it could be restored when opening attribute table view." ) );
|
||||
const std::unique_ptr<QgsSettingsEntryVariant> QgsDualView::conditionalFormattingSplitterState = std::make_unique<QgsSettingsEntryVariant>( QStringLiteral( "attribute-table-splitter-state" ), QgsSettingsTree::sTreeWindowState, QgsVariantUtils::createNullVariant( QMetaType::Type::QByteArray ), QStringLiteral( "State of conditional formatting splitter's layout so it could be restored when opening attribute table view." ) );
|
||||
const std::unique_ptr<QgsSettingsEntryVariant> QgsDualView::attributeEditorSplitterState = std::make_unique<QgsSettingsEntryVariant>( QStringLiteral( "attribute-editor-splitter-state" ), QgsSettingsTree::sTreeWindowState, QgsVariantUtils::createNullVariant( QMetaType::Type::QByteArray ), QStringLiteral( "State of attribute editor splitter's layout so it could be restored when opening attribute editor view." ) );
|
||||
|
||||
QgsDualView::QgsDualView( QWidget *parent )
|
||||
|
@ -249,13 +249,13 @@ void QgsFilteredTableWidget::onTableWidgetCustomContextMenuRequested( const QPoi
|
||||
|
||||
tableWidgetMenu->exec( QCursor::pos() );
|
||||
|
||||
// destory actions
|
||||
// destroy actions
|
||||
disconnect( actionTableWidgetSelectAll, &QAction::triggered, nullptr, nullptr );
|
||||
disconnect( actionTableWidgetDeselectAll, &QAction::triggered, nullptr, nullptr );
|
||||
actionTableWidgetSelectAll->deleteLater();
|
||||
actionTableWidgetDeselectAll->deleteLater();
|
||||
|
||||
// destory menu
|
||||
// destroy menu
|
||||
tableWidgetMenu->deleteLater();
|
||||
}
|
||||
|
||||
|
@ -263,7 +263,7 @@ void QgsLayoutLabelWidget::mHtmlCheckBox_stateChanged( int state )
|
||||
{
|
||||
if ( mLabel )
|
||||
{
|
||||
mVerticalAlignementLabel->setDisabled( state );
|
||||
mVerticalAlignmentLabel->setDisabled( state );
|
||||
mVAlignmentComboBox->setDisabled( state );
|
||||
|
||||
mLabel->beginCommand( tr( "Change Label Mode" ) );
|
||||
@ -385,7 +385,7 @@ void QgsLayoutLabelWidget::setGuiElementValues()
|
||||
mVAlignmentComboBox->setCurrentAlignment( mLabel->vAlign() );
|
||||
|
||||
mFontButton->setTextFormat( mLabel->textFormat() );
|
||||
mVerticalAlignementLabel->setDisabled( mLabel->mode() == QgsLayoutItemLabel::ModeHtml );
|
||||
mVerticalAlignmentLabel->setDisabled( mLabel->mode() == QgsLayoutItemLabel::ModeHtml );
|
||||
mVAlignmentComboBox->setDisabled( mLabel->mode() == QgsLayoutItemLabel::ModeHtml );
|
||||
|
||||
blockAllSignals( false );
|
||||
|
@ -29,7 +29,7 @@
|
||||
class QgsColorTooltip
|
||||
{
|
||||
public:
|
||||
//! Returns an HTML desciption given a \a color with a preview image of the color
|
||||
//! Returns an HTML description given a \a color with a preview image of the color
|
||||
template<typename T>
|
||||
static QString htmlDescription( QColor color, T *widget )
|
||||
{
|
||||
|
@ -46,7 +46,7 @@ class GUI_EXPORT QgsGpsToolsInterface
|
||||
* The geometry type of the feature is determined by the layer set via
|
||||
* QgsProjectGpsSettings::destinationLayer().
|
||||
*
|
||||
* The created geometry will be automatically commited depending on the
|
||||
* The created geometry will be automatically committed depending on the
|
||||
* status of QgsProjectGpsSettings::automaticallyCommitFeatures().
|
||||
*/
|
||||
virtual void createFeatureFromGpsTrack() = 0;
|
||||
|
@ -35,8 +35,8 @@ QgsArrowSymbolLayerWidget::QgsArrowSymbolLayerWidget( QgsVectorLayer *vl, QWidge
|
||||
connect( mArrowTypeCombo, static_cast<void ( QComboBox::* )( int )>( &QComboBox::currentIndexChanged ), this, &QgsArrowSymbolLayerWidget::mArrowTypeCombo_currentIndexChanged );
|
||||
connect( mOffsetSpin, static_cast<void ( QDoubleSpinBox::* )( double )>( &QDoubleSpinBox::valueChanged ), this, &QgsArrowSymbolLayerWidget::mOffsetSpin_valueChanged );
|
||||
connect( mOffsetUnitWidget, &QgsUnitSelectionWidget::changed, this, &QgsArrowSymbolLayerWidget::mOffsetUnitWidget_changed );
|
||||
connect( mCurvedArrowChck, &QCheckBox::stateChanged, this, &QgsArrowSymbolLayerWidget::mCurvedArrowChck_stateChanged );
|
||||
connect( mRepeatArrowChck, &QCheckBox::stateChanged, this, &QgsArrowSymbolLayerWidget::mRepeatArrowChck_stateChanged );
|
||||
connect( mCurvedArrowCheck, &QCheckBox::stateChanged, this, &QgsArrowSymbolLayerWidget::mCurvedArrowChck_stateChanged );
|
||||
connect( mRepeatArrowCheck, &QCheckBox::stateChanged, this, &QgsArrowSymbolLayerWidget::mRepeatArrowChck_stateChanged );
|
||||
this->layout()->setContentsMargins( 0, 0, 0, 0 );
|
||||
|
||||
mArrowWidthUnitWidget->setUnits( { Qgis::RenderUnit::Millimeters, Qgis::RenderUnit::MapUnits, Qgis::RenderUnit::Pixels, Qgis::RenderUnit::Points, Qgis::RenderUnit::Inches } );
|
||||
@ -79,8 +79,8 @@ void QgsArrowSymbolLayerWidget::setSymbolLayer( QgsSymbolLayer *layer )
|
||||
mOffsetUnitWidget->setUnit( mLayer->offsetUnit() );
|
||||
mOffsetUnitWidget->setMapUnitScale( mLayer->offsetMapUnitScale() );
|
||||
|
||||
mCurvedArrowChck->setChecked( mLayer->isCurved() );
|
||||
mRepeatArrowChck->setChecked( mLayer->isRepeated() );
|
||||
mCurvedArrowCheck->setChecked( mLayer->isCurved() );
|
||||
mRepeatArrowCheck->setChecked( mLayer->isRepeated() );
|
||||
|
||||
registerDataDefinedButton( mArrowWidthDDBtn, QgsSymbolLayer::Property::ArrowWidth );
|
||||
registerDataDefinedButton( mArrowStartWidthDDBtn, QgsSymbolLayer::Property::ArrowStartWidth );
|
||||
|
@ -646,7 +646,7 @@ void QgsVectorLayerProperties::syncToLayer()
|
||||
|
||||
mRefreshLayerNotificationCheckBox->setChecked( mLayer->isRefreshOnNotifyEnabled() );
|
||||
mNotificationMessageCheckBox->setChecked( !mLayer->refreshOnNotifyMessage().isEmpty() );
|
||||
mNotifyMessagValueLineEdit->setText( mLayer->refreshOnNotifyMessage() );
|
||||
mNotifyMessageValueLineEdit->setText( mLayer->refreshOnNotifyMessage() );
|
||||
|
||||
|
||||
// load appropriate symbology page (V1 or V2)
|
||||
@ -811,7 +811,7 @@ void QgsVectorLayerProperties::apply()
|
||||
mRefreshSettingsWidget->saveToLayer();
|
||||
|
||||
mLayer->setRefreshOnNotifyEnabled( mRefreshLayerNotificationCheckBox->isChecked() );
|
||||
mLayer->setRefreshOnNofifyMessage( mNotificationMessageCheckBox->isChecked() ? mNotifyMessagValueLineEdit->text() : QString() );
|
||||
mLayer->setRefreshOnNofifyMessage( mNotificationMessageCheckBox->isChecked() ? mNotifyMessageValueLineEdit->text() : QString() );
|
||||
|
||||
mOldJoins = mLayer->vectorJoins();
|
||||
|
||||
|
@ -250,7 +250,7 @@ def main(options, flags):
|
||||
# in parallel
|
||||
|
||||
# First estimate the number of maps per process. We use 400 maps
|
||||
# simultaniously as maximum for a single process
|
||||
# simultaneously as maximum for a single process
|
||||
|
||||
num_loops = int(num_maps / (400 * nprocs))
|
||||
remaining_maps = num_maps % (400 * nprocs)
|
||||
|
@ -160,7 +160,7 @@ void QgsVirtualLayerSourceSelect::layerComboChanged( int idx )
|
||||
|
||||
if ( !def.uid().isEmpty() )
|
||||
{
|
||||
mUIDColumnNameChck->setChecked( true );
|
||||
mUIDColumnNameCheck->setChecked( true );
|
||||
mUIDField->setText( def.uid() );
|
||||
}
|
||||
|
||||
@ -219,7 +219,7 @@ QgsVirtualLayerDefinition QgsVirtualLayerSourceSelect::getVirtualLayerDef()
|
||||
{
|
||||
def.setQuery( mQueryEdit->text() );
|
||||
}
|
||||
if ( mUIDColumnNameChck->isChecked() && !mUIDField->text().isEmpty() )
|
||||
if ( mUIDColumnNameCheck->isChecked() && !mUIDField->text().isEmpty() )
|
||||
{
|
||||
def.setUid( mUIDField->text() );
|
||||
}
|
||||
@ -261,11 +261,11 @@ bool QgsVirtualLayerSourceSelect::preFlight()
|
||||
if ( vl->isValid() )
|
||||
{
|
||||
const QStringList fieldNames = vl->fields().names();
|
||||
if ( mUIDColumnNameChck->isChecked() && mUIDField->text().isEmpty() )
|
||||
if ( mUIDColumnNameCheck->isChecked() && mUIDField->text().isEmpty() )
|
||||
{
|
||||
QMessageBox::warning( nullptr, tr( "Test Virtual Layer " ), tr( "Checkbox 'Unique identifier column' is checked, but no field given" ) );
|
||||
}
|
||||
else if ( mUIDColumnNameChck->isChecked() && !mUIDField->text().isEmpty() && !vl->fields().names().contains( mUIDField->text() ) )
|
||||
else if ( mUIDColumnNameCheck->isChecked() && !mUIDField->text().isEmpty() && !vl->fields().names().contains( mUIDField->text() ) )
|
||||
{
|
||||
QStringList bulletedFieldNames;
|
||||
for ( const QString &fieldName : fieldNames )
|
||||
|
@ -191,7 +191,7 @@ In particular, saving a virtual layer with embedded layers to a QLR file can be
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
||||
<item>
|
||||
<widget class="QCheckBox" name="mUIDColumnNameChck">
|
||||
<widget class="QCheckBox" name="mUIDColumnNameCheck">
|
||||
<property name="text">
|
||||
<string>Unique identifier column</string>
|
||||
</property>
|
||||
@ -352,7 +352,7 @@ In particular, saving a virtual layer with embedded layers to a QLR file can be
|
||||
<tabstop>mAddLayerBtn</tabstop>
|
||||
<tabstop>mImportLayerBtn</tabstop>
|
||||
<tabstop>mRemoveLayerBtn</tabstop>
|
||||
<tabstop>mUIDColumnNameChck</tabstop>
|
||||
<tabstop>mUIDColumnNameCheck</tabstop>
|
||||
<tabstop>mUIDField</tabstop>
|
||||
<tabstop>mNoGeometryRadio</tabstop>
|
||||
<tabstop>mAutodetectGeometryRadio</tabstop>
|
||||
@ -397,7 +397,7 @@ In particular, saving a virtual layer with embedded layers to a QLR file can be
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>mUIDColumnNameChck</sender>
|
||||
<sender>mUIDColumnNameCheck</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>mUIDField</receiver>
|
||||
<slot>setEnabled(bool)</slot>
|
||||
|
@ -467,7 +467,7 @@ bool QgsWFSDataSourceURI::isRestrictedToRequestBBOX() const
|
||||
return true;
|
||||
|
||||
// accept previously used version with typo
|
||||
if ( mURI.hasParam( QStringLiteral( "retrictToRequestBBOX" ) ) && mURI.param( QStringLiteral( "retrictToRequestBBOX" ) ).toInt() == 1 )
|
||||
if ( mURI.hasParam( QStringLiteral( "retrictToRequestBBOX" ) ) && mURI.param( QStringLiteral( "retrictToRequestBBOX" ) ).toInt() == 1 ) // spellok
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
@ -1171,7 +1171,7 @@ namespace QgsWms
|
||||
|
||||
writeServerProperties( doc, layerElem, project, treeGroupChild->serverProperties(), name, version );
|
||||
|
||||
// There is no style assicated with layer tree group so just use a defaut one
|
||||
// There is no style assicated with layer tree group so just use a default one
|
||||
const QString styleName = QStringLiteral( "default" );
|
||||
QDomElement styleElem = createStyleElement( doc, styleName );
|
||||
writeLegendUrl( doc, styleElem, treeGroupChild->serverProperties()->legendUrl(), treeGroupChild->serverProperties()->legendUrlFormat(), name, styleName, project, request, serverIface->serverSettings() );
|
||||
|
@ -717,7 +717,7 @@ namespace QgsWmts
|
||||
format = params.infoFormatAsString();
|
||||
}
|
||||
|
||||
// but we are good and savy and also accept FORMAT for getfeatureinfo requests
|
||||
// but we are good and savvy and also accept FORMAT for getfeatureinfo requests
|
||||
if ( format.isEmpty() )
|
||||
{
|
||||
format = params.formatAsString();
|
||||
|
@ -189,7 +189,7 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="mHorizontalAlignementLabel">
|
||||
<widget class="QLabel" name="mHorizontalAlignmentLabel">
|
||||
<property name="text">
|
||||
<string>Coverage layer</string>
|
||||
</property>
|
||||
|
@ -161,7 +161,7 @@
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="4" column="0">
|
||||
<widget class="QLabel" name="mVerticalAlignementLabel">
|
||||
<widget class="QLabel" name="mVerticalAlignmentLabel">
|
||||
<property name="text">
|
||||
<string>Vertical alignment</string>
|
||||
</property>
|
||||
@ -224,7 +224,7 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<widget class="QLabel" name="mHorizontalAlignementLabel">
|
||||
<widget class="QLabel" name="mHorizontalAlignmentLabel">
|
||||
<property name="text">
|
||||
<string>Horizontal alignment</string>
|
||||
</property>
|
||||
|
@ -161,7 +161,7 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="2">
|
||||
<widget class="QPushButton" name="mShifPointCloudZAxisButton">
|
||||
<widget class="QPushButton" name="mShiftPointCloudZAxisButton">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>24</width>
|
||||
@ -384,7 +384,7 @@
|
||||
<tabstop>mCrsGroupBox_2</tabstop>
|
||||
<tabstop>mScaleZSpinBox</tabstop>
|
||||
<tabstop>mOffsetZSpinBox</tabstop>
|
||||
<tabstop>mShifPointCloudZAxisButton</tabstop>
|
||||
<tabstop>mShiftPointCloudZAxisButton</tabstop>
|
||||
</tabstops>
|
||||
<resources/>
|
||||
<connections/>
|
||||
|
@ -918,7 +918,7 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QgsCollapsibleGroupBox" name="mVisiblityGrpBox">
|
||||
<widget class="QgsCollapsibleGroupBox" name="mVisibilityGrpBox">
|
||||
<property name="title">
|
||||
<string>Visibility</string>
|
||||
</property>
|
||||
|
@ -104,7 +104,7 @@
|
||||
<property name="widgetResizable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<widget class="QWidget" name="scrollAreaWidgetContents_mPreveiw">
|
||||
<widget class="QWidget" name="scrollAreaWidgetContents_mPreview">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
|
@ -1971,7 +1971,7 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="mNotifyMessagValueLineEdit">
|
||||
<widget class="QLineEdit" name="mNotifyMessageValueLineEdit">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
@ -2533,7 +2533,7 @@
|
||||
<tabstop>mRefreshSettingsWidget</tabstop>
|
||||
<tabstop>mRefreshLayerNotificationCheckBox</tabstop>
|
||||
<tabstop>mNotificationMessageCheckBox</tabstop>
|
||||
<tabstop>mNotifyMessagValueLineEdit</tabstop>
|
||||
<tabstop>mNotifyMessageValueLineEdit</tabstop>
|
||||
<tabstop>mLayersDependenciesTreeView</tabstop>
|
||||
<tabstop>scrollArea</tabstop>
|
||||
<tabstop>mWmsDimensionsTreeWidget</tabstop>
|
||||
@ -2586,7 +2586,7 @@
|
||||
<connection>
|
||||
<sender>mNotificationMessageCheckBox</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>mNotifyMessagValueLineEdit</receiver>
|
||||
<receiver>mNotifyMessageValueLineEdit</receiver>
|
||||
<slot>setEnabled(bool)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
|
@ -41,7 +41,7 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item row="7" column="1">
|
||||
<widget class="QCheckBox" name="mCurvedArrowChck">
|
||||
<widget class="QCheckBox" name="mCurvedArrowCheck">
|
||||
<property name="text">
|
||||
<string>Curved arrows</string>
|
||||
</property>
|
||||
@ -351,7 +351,7 @@
|
||||
</layout>
|
||||
</item>
|
||||
<item row="8" column="1">
|
||||
<widget class="QCheckBox" name="mRepeatArrowChck">
|
||||
<widget class="QCheckBox" name="mRepeatArrowCheck">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>If checked, one arrow will be rendered for each consecutive points (each 2 points for a straight arrow or 3 points for a curved arrow).</p><p>If unchecked, the arrow will be defined by extermum points of the line (the middle point will be used as a control point for a curved arrow)</p></body></html></string>
|
||||
</property>
|
||||
@ -406,8 +406,8 @@
|
||||
<tabstop>mOffsetSpin</tabstop>
|
||||
<tabstop>mOffsetUnitWidget</tabstop>
|
||||
<tabstop>mOffsetDDBtn</tabstop>
|
||||
<tabstop>mCurvedArrowChck</tabstop>
|
||||
<tabstop>mRepeatArrowChck</tabstop>
|
||||
<tabstop>mCurvedArrowCheck</tabstop>
|
||||
<tabstop>mRepeatArrowCheck</tabstop>
|
||||
</tabstops>
|
||||
<resources/>
|
||||
<connections/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user