mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-06 00:05:02 -05:00
* Move height and angle expressions for 2.5D renderer to layer * Apply color based on main symbol color This makes the transition to other renderers easy. Fixes #14132
43 lines
1.6 KiB
Plaintext
43 lines
1.6 KiB
Plaintext
/***************************************************************************
|
|
qgs25drendererwidget.sip - Qgs25DRendererWidget
|
|
|
|
---------------------
|
|
begin : 14.1.2016
|
|
copyright : (C) 2016 by Matthias Kuhn
|
|
email : matthias@opengis.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. *
|
|
* *
|
|
***************************************************************************/
|
|
|
|
class Qgs25DRendererWidget : QgsRendererV2Widget
|
|
{
|
|
%TypeHeaderCode
|
|
#include "qgs25drendererwidget.h"
|
|
%End
|
|
public:
|
|
/** Static creation method
|
|
* @param layer the layer where this renderer is applied
|
|
* @param style
|
|
* @param renderer the mask renderer (will take ownership)
|
|
*/
|
|
static QgsRendererV2Widget* create( QgsVectorLayer* layer, QgsStyleV2* style, QgsFeatureRendererV2* renderer );
|
|
|
|
/** Constructor
|
|
* @param layer the layer where this renderer is applied
|
|
* @param style
|
|
* @param renderer the mask renderer (will take ownership)
|
|
*/
|
|
Qgs25DRendererWidget( QgsVectorLayer* layer, QgsStyleV2* style, QgsFeatureRendererV2* renderer );
|
|
|
|
QgsFeatureRendererV2* renderer();
|
|
|
|
private:
|
|
void apply();
|
|
|
|
};
|