mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
50 lines
1.8 KiB
C++
50 lines
1.8 KiB
C++
/***************************************************************************
|
|
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
|