QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
QgsPointDisplacementRendererWidget Class Reference

#include <qgspointdisplacementrendererwidget.h>

Inheritance diagram for QgsPointDisplacementRendererWidget:
Inheritance graph
[legend]
Collaboration diagram for QgsPointDisplacementRendererWidget:
Collaboration graph
[legend]

Public Member Functions

 QgsPointDisplacementRendererWidget (QgsVectorLayer *layer, QgsStyleV2 *style, QgsFeatureRendererV2 *renderer)
 
 ~QgsPointDisplacementRendererWidget ()
 
QgsFeatureRendererV2renderer ()
 return pointer to the renderer (no transfer of ownership) More...
 
- Public Member Functions inherited from QgsRendererV2Widget
 QgsRendererV2Widget (QgsVectorLayer *layer, QgsStyleV2 *style)
 
virtual ~QgsRendererV2Widget ()
 
void showSymbolLevelsDialog (QgsFeatureRendererV2 *r)
 show a dialog with renderer's symbol level settings More...
 

Static Public Member Functions

static QgsRendererV2Widgetcreate (QgsVectorLayer *layer, QgsStyleV2 *style, QgsFeatureRendererV2 *renderer)
 

Private Slots

void on_mLabelFieldComboBox_currentIndexChanged (const QString &text)
 
void on_mRendererComboBox_currentIndexChanged (int index)
 
void on_mLabelFontButton_clicked ()
 
void on_mCircleWidthSpinBox_valueChanged (double d)
 
void on_mCircleColorButton_colorChanged (const QColor &newColor)
 
void on_mDistanceSpinBox_valueChanged (double d)
 
void on_mLabelColorButton_colorChanged (const QColor &newColor)
 
void on_mCircleModificationSpinBox_valueChanged (double d)
 
void on_mScaleDependentLabelsCheckBox_stateChanged (int state)
 
void on_mMaxScaleDenominatorEdit_textChanged (const QString &text)
 
void on_mCenterSymbolPushButton_clicked ()
 
void on_mRendererSettingsButton_clicked ()
 

Private Member Functions

void blockAllSignals (bool block)
 
void updateCenterIcon ()
 
void setupBlankUi (const QString &layerName)
 

Private Attributes

QgsPointDisplacementRenderermRenderer
 
QgsRendererV2WidgetmEmbeddedRendererWidget
 

Additional Inherited Members

- Protected Slots inherited from QgsRendererV2Widget
void contextMenuViewCategories (const QPoint &p)
 
void changeSymbolColor ()
 Change color of selected symbols. More...
 
void changeSymbolTransparency ()
 Change opacity of selected symbols. More...
 
void changeSymbolUnit ()
 Change units mm/map units of selected symbols. More...
 
void changeSymbolWidth ()
 Change line widths of selected symbols. More...
 
void changeSymbolSize ()
 Change marker sizes of selected symbols. More...
 
virtual void copy ()
 
virtual void paste ()
 
- Protected Member Functions inherited from QgsRendererV2Widget
virtual QList< QgsSymbolV2 * > selectedSymbols ()
 Subclasses may provide the capability of changing multiple symbols at once by implementing the following two methods and by connecting the slot contextMenuViewCategories(const QPoint&) More...
 
virtual void refreshSymbolView ()
 
- Protected Attributes inherited from QgsRendererV2Widget
QgsVectorLayermLayer
 
QgsStyleV2mStyle
 
QMenu * contextMenu
 
QAction * mCopyAction
 
QAction * mPasteAction
 

Detailed Description

Definition at line 26 of file qgspointdisplacementrendererwidget.h.

Constructor & Destructor Documentation

QgsPointDisplacementRendererWidget::QgsPointDisplacementRendererWidget ( QgsVectorLayer layer,
QgsStyleV2 style,
QgsFeatureRendererV2 renderer 
)
QgsPointDisplacementRendererWidget::~QgsPointDisplacementRendererWidget ( )

Definition at line 138 of file qgspointdisplacementrendererwidget.cpp.

References mEmbeddedRendererWidget, and mRenderer.

Member Function Documentation

void QgsPointDisplacementRendererWidget::blockAllSignals ( bool  block)
private
QgsRendererV2Widget * QgsPointDisplacementRendererWidget::create ( QgsVectorLayer layer,
QgsStyleV2 style,
QgsFeatureRendererV2 renderer 
)
static
void QgsPointDisplacementRendererWidget::on_mCenterSymbolPushButton_clicked ( )
privateslot
void QgsPointDisplacementRendererWidget::on_mCircleColorButton_colorChanged ( const QColor &  newColor)
privateslot
void QgsPointDisplacementRendererWidget::on_mCircleModificationSpinBox_valueChanged ( double  d)
privateslot
void QgsPointDisplacementRendererWidget::on_mCircleWidthSpinBox_valueChanged ( double  d)
privateslot
void QgsPointDisplacementRendererWidget::on_mDistanceSpinBox_valueChanged ( double  d)
privateslot
void QgsPointDisplacementRendererWidget::on_mLabelColorButton_colorChanged ( const QColor &  newColor)
privateslot
void QgsPointDisplacementRendererWidget::on_mLabelFieldComboBox_currentIndexChanged ( const QString &  text)
privateslot
void QgsPointDisplacementRendererWidget::on_mLabelFontButton_clicked ( )
privateslot
void QgsPointDisplacementRendererWidget::on_mMaxScaleDenominatorEdit_textChanged ( const QString &  text)
privateslot
void QgsPointDisplacementRendererWidget::on_mRendererComboBox_currentIndexChanged ( int  index)
privateslot
void QgsPointDisplacementRendererWidget::on_mRendererSettingsButton_clicked ( )
privateslot

Definition at line 183 of file qgspointdisplacementrendererwidget.cpp.

References mEmbeddedRendererWidget.

void QgsPointDisplacementRendererWidget::on_mScaleDependentLabelsCheckBox_stateChanged ( int  state)
privateslot

Definition at line 273 of file qgspointdisplacementrendererwidget.cpp.

QgsFeatureRendererV2 * QgsPointDisplacementRendererWidget::renderer ( )
virtual
void QgsPointDisplacementRendererWidget::setupBlankUi ( const QString &  layerName)
private

Definition at line 344 of file qgspointdisplacementrendererwidget.cpp.

References tr.

Referenced by QgsPointDisplacementRendererWidget().

void QgsPointDisplacementRendererWidget::updateCenterIcon ( )
private

Member Data Documentation

QgsRendererV2Widget* QgsPointDisplacementRendererWidget::mEmbeddedRendererWidget
private
QgsPointDisplacementRenderer* QgsPointDisplacementRendererWidget::mRenderer
private

The documentation for this class was generated from the following files: