mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
added some comments
git-svn-id: http://svn.osgeo.org/qgis/trunk@691 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
2b51161137
commit
f1ae73f761
@ -33,12 +33,17 @@ class QgsDlgVectorLayerProperties : public QgsDlgVectorLayerPropertiesBase{
|
||||
~QgsDlgVectorLayerProperties();
|
||||
/**Sets the legend type to "single symbol", "graduated symbol" or "continuous color"*/
|
||||
void setLegendType(QString type);
|
||||
/**Returns the display name entered in the dialog*/
|
||||
QString displayName();
|
||||
/**Sets the rendererDirty flag*/
|
||||
void setRendererDirty(bool enabled=true);
|
||||
/**Returns a pointer to the bufferDialog*/
|
||||
QDialog* getBufferDialog();
|
||||
/**Sets the buffer dialog*/
|
||||
void setBufferDialog(QDialog* dialog);
|
||||
/**Returns a pointer to the buffer pixmap*/
|
||||
QPixmap* getBufferPixmap();
|
||||
/**Returns a pointer to the buffer renderer*/
|
||||
QgsRenderer* getBufferRenderer();
|
||||
|
||||
|
||||
@ -49,11 +54,13 @@ class QgsDlgVectorLayerProperties : public QgsDlgVectorLayerPropertiesBase{
|
||||
|
||||
protected:
|
||||
QgsVectorLayer *layer;
|
||||
/**Flag indicating if the render type still has to be changed (true) or not (false)*/
|
||||
/**Flag indicating that the render type has changed compared to the vector layer (true)*/
|
||||
bool rendererDirty;
|
||||
/**Renderer dialog. If the legend type has changed, it is assigned to the vectorlayer if apply or ok are pressed*/
|
||||
/**Renderer dialog which is shown. If apply is pressed, it assigned to the vector layer*/
|
||||
QDialog* bufferDialog;
|
||||
/**Buffer renderer, which is assigned to the vector layer when apply is pressed*/
|
||||
QgsRenderer* bufferRenderer;
|
||||
/**Buffer pixmap which takes the picture of renderers before they are assigned to the vector layer*/
|
||||
QPixmap bufferPixmap;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user