mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-11 00:04:27 -04:00
Remove QgsAbstractProperty and subclasses, and instead use a single QgsProperty class which covers the use of QgsAbstractProperty and its subclasses. This simplifies the API and avoids pointer handling. QgsProperty is implicitly shared for memory efficiency and inexpensive copies.
21 lines
453 B
Plaintext
21 lines
453 B
Plaintext
class QgsSizeScaleWidget : QgsDataDefinedAssistant
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgssizescalewidget.h>
|
|
%End
|
|
public:
|
|
QgsSizeScaleWidget( const QgsVectorLayer * layer, const QgsMarkerSymbol * symbol );
|
|
|
|
virtual QgsProperty property() const;
|
|
|
|
/** Returns the vector layer associated with the widget.
|
|
* @note added in QGIS 2.12
|
|
*/
|
|
const QgsVectorLayer* layer() const;
|
|
|
|
protected:
|
|
|
|
virtual void showEvent( QShowEvent * );
|
|
};
|
|
|