mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-22 00:06:57 -04: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
39 lines
1.0 KiB
Plaintext
39 lines
1.0 KiB
Plaintext
class QgsRendererV2PropertiesDialog : QDialog
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgsrendererv2propertiesdialog.h>
|
|
%End
|
|
|
|
public:
|
|
QgsRendererV2PropertiesDialog( QgsVectorLayer* layer, QgsStyleV2* style, bool embedded = false );
|
|
~QgsRendererV2PropertiesDialog();
|
|
|
|
/** Sets the map canvas associated with the dialog. This allows the widget to retrieve the current
|
|
* map scale and other properties from the canvas.
|
|
* @param canvas map canvas
|
|
* @note added in QGIS 2.12
|
|
*/
|
|
void setMapCanvas( QgsMapCanvas* canvas );
|
|
|
|
signals:
|
|
/**
|
|
* Emitted when expression context variables on the associated
|
|
* vector layers have been changed. Will request the parent dialog
|
|
* to re-synchronize with the variables.
|
|
*/
|
|
void layerVariablesChanged();
|
|
|
|
public slots:
|
|
//! called when user changes renderer type
|
|
void rendererChanged();
|
|
|
|
void apply();
|
|
void onOK();
|
|
|
|
protected:
|
|
|
|
//! Reimplements dialog keyPress event so we can ignore it
|
|
void keyPressEvent( QKeyEvent * event );
|
|
|
|
};
|