/*************************************************************************** qgsmaptoolchangelabelproperties.h --------------------------------- begin : 2010-11-11 copyright : (C) 2010 by Marco Hugentobler email : marco dot hugentobler at sourcepole dot ch ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef QGSMAPTOOLCHANGELABELPROPERTIES_H #define QGSMAPTOOLCHANGELABELPROPERTIES_H #include "qgsmaptoollabel.h" #include "qgis_app.h" class APP_EXPORT QgsMapToolChangeLabelProperties: public QgsMapToolLabel { Q_OBJECT public: QgsMapToolChangeLabelProperties( QgsMapCanvas* canvas ); ~QgsMapToolChangeLabelProperties(); virtual void canvasPressEvent( QgsMapMouseEvent* e ) override; virtual void canvasReleaseEvent( QgsMapMouseEvent* e ) override; protected: /** Applies the label property changes * @param changes attribute map of changes * @note added in QGIS 2.9 */ void applyChanges( const QgsAttributeMap& changes ); private slots: void dialogPropertiesApplied(); }; #endif // QGSMAPTOOLCHANGELABEL_H