added some comments

git-svn-id: http://svn.osgeo.org/qgis/trunk@691 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
mhugent 2004-02-04 08:04:59 +00:00
parent 2b51161137
commit f1ae73f761

View File

@ -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;
};