Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
|
@@ -75,7 +75,7 @@ class QgsActionManager |
|
|
* @param index action index |
|
|
* @param feature feature to run action for |
|
|
* @param context expression context to evalute expressions under |
|
|
* @param substitutionMap deprecated - kept for compatibilty with projects, will be removed for 3.0 |
|
|
* @param substitutionMap deprecated - kept for compatibility with projects, will be removed for 3.0 |
|
|
*/ |
|
|
// TODO QGIS 3.0 remove substition map - force use of expression variables |
|
|
void doAction( int index, |
|
|
|
@@ -67,7 +67,7 @@ class QgsAttributeAction |
|
|
* @param index action index |
|
|
* @param feature feature to run action for |
|
|
* @param context expression context to evalute expressions under |
|
|
* @param substitutionMap deprecated - kept for compatibilty with projects, will be removed for 3.0 |
|
|
* @param substitutionMap deprecated - kept for compatibility with projects, will be removed for 3.0 |
|
|
*/ |
|
|
// TODO QGIS 3.0 remove substition map - force use of expression variables |
|
|
void doAction( int index, |
|
|
|
@@ -250,7 +250,7 @@ class QgsDataProvider : QObject |
|
|
* |
|
|
* This is aimed at providers that can open differently the connection to |
|
|
* the datasource, according it to be in update mode or in read-only mode. |
|
|
* This method shall be balanced with a succesful call to enterUpdateMode(). |
|
|
* This method shall be balanced with a successful call to enterUpdateMode(). |
|
|
* |
|
|
* Most providers will have an empty implementation for that method. |
|
|
* |
|
|
|
@@ -92,10 +92,10 @@ class QgsGradientStopEditor : QWidget |
|
|
|
|
|
signals: |
|
|
|
|
|
//! Emmitted when the gradient ramp is changed by a user |
|
|
//! Emitted when the gradient ramp is changed by a user |
|
|
void changed(); |
|
|
|
|
|
/** Emmitted when the current selected stop changes. |
|
|
/** Emitted when the current selected stop changes. |
|
|
* @param stop details about newly selected stop |
|
|
*/ |
|
|
void selectedStopChanged( const QgsGradientStop& stop ); |
|
|
|
@@ -54,7 +54,7 @@ def defineCharacteristics(self): |
|
|
self.addParameter(ParameterBoolean(lasground.NO_BULGE, |
|
|
self.tr("no triangle bulging during TIN refinement"), False)) |
|
|
self.addParameter(ParameterBoolean(lasground.BY_FLIGHTLINE, |
|
|
self.tr("classify flightlines seperately (needs point source IDs populated)"), False)) |
|
|
self.tr("classify flightlines separately (needs point source IDs populated)"), False)) |
|
|
self.addParameter(ParameterSelection(lasground.TERRAIN, |
|
|
self.tr("terrain type"), lasground.TERRAINS, 1)) |
|
|
self.addParameter(ParameterSelection(lasground.GRANULARITY, |
|
|
|
@@ -3,7 +3,8 @@ |
|
|
QgsMapStylePanel::QgsMapStylePanel( QgsMapLayer *layer, QgsMapCanvas *canvas, QWidget *parent ) |
|
|
: QWidget( parent ) |
|
|
{ |
|
|
|
|
|
Q_UNUSED( layer ); |
|
|
Q_UNUSED( canvas ); |
|
|
} |
|
|
|
|
|
QgsMapStylePanelFactory::QgsMapStylePanelFactory() |
|
|
|
@@ -9,7 +9,8 @@ |
|
|
class QgsMapCanvas; |
|
|
|
|
|
/** \ingroup gui |
|
|
* \class A panel widget that can be shown in the map style dock |
|
|
* \class QgsMapStylePanel |
|
|
* \brief A panel widget that can be shown in the map style dock |
|
|
* \note added in QGIS 2.16 |
|
|
*/ |
|
|
class GUI_EXPORT QgsMapStylePanel : public QWidget |
|
@@ -65,7 +66,7 @@ class GUI_EXPORT QgsMapStylePanelFactory |
|
|
virtual QIcon icon() = 0; |
|
|
|
|
|
/** |
|
|
* @brief The title of the panel.. |
|
|
* @brief The title of the panel. |
|
|
* @note This may or may not be shown to the user. |
|
|
* @return Title of the panel |
|
|
*/ |
|
|
|
@@ -75,13 +75,13 @@ class GUI_EXPORT QgsShortcutsManager : public QObject |
|
|
/** Registers an action with the manager so the shortcut can be configured in GUI. |
|
|
* @param action action to register. The action must have a unique text string for |
|
|
* identification. |
|
|
* @param defaultSequence default key sequence for action |
|
|
* @param defaultShortcut default key sequence for action |
|
|
* @returns true if action was successfully registered |
|
|
* @see registerShortcut() |
|
|
* @see unregisterAction() |
|
|
* @see registerAllChildActions() |
|
|
*/ |
|
|
bool registerAction( QAction* action, const QString& defaultShortcut = QString() ); |
|
|
bool registerAction( QAction *action, const QString &defaultShortcut = QString() ); |
|
|
|
|
|
/** Registers a QShortcut with the manager so the shortcut can be configured in GUI. |
|
|
* @param shortcut QShortcut to register. The shortcut must have a unique QObject::objectName() for |
|
|
|
@@ -78,7 +78,7 @@ class QgsAmsProvider : public QgsRasterDataProvider |
|
|
QGis::DataType dataType( int /*bandNo*/ ) const override { return QGis::ARGB32; } |
|
|
QGis::DataType srcDataType( int /*bandNo*/ ) const override { return QGis::ARGB32; } |
|
|
QgsRasterInterface* clone() const override; |
|
|
QString metadata(); |
|
|
QString metadata() override; |
|
|
QImage* draw( const QgsRectangle & viewExtent, int pixelWidth, int pixelHeight ) override; |
|
|
bool supportsLegendGraphic() const override { return true; } |
|
|
QImage getLegendGraphic( double scale = 0, bool forceRefresh = false, const QgsRectangle * visibleExtent = 0 ) override; |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.