Quantum GIS API Documentation  master-693a1fe
QgsVectorGradientColorRampV2Dialog Class Reference

#include <qgsvectorgradientcolorrampv2dialog.h>

+ Collaboration diagram for QgsVectorGradientColorRampV2Dialog:

List of all members.

Public Slots

void addStop ()
void removeStop ()
void setColor1 (const QColor &color)
void setColor2 (const QColor &color)
void setItemStopColor (const QColor &newColor)
void stopDoubleClicked (QTreeWidgetItem *item, int column)
void toggledStops (bool on)

Public Member Functions

 QgsVectorGradientColorRampV2Dialog (QgsVectorGradientColorRampV2 *ramp, QWidget *parent=NULL)

Protected Slots

void on_btnInformation_pressed ()
void on_cboType_currentIndexChanged (int index)

Protected Member Functions

void setStopColor (QTreeWidgetItem *item, QColor color)
void updatePreview ()
void updateStops ()

Protected Attributes

QTreeWidgetItem * mCurrentItem
QgsVectorGradientColorRampV2mRamp

Static Protected Attributes

static const int StopColorRole = Qt::UserRole + 1
static const int StopOffsetRole = Qt::UserRole + 2

Detailed Description

Definition at line 25 of file qgsvectorgradientcolorrampv2dialog.h.


Constructor & Destructor Documentation


Member Function Documentation

void QgsVectorGradientColorRampV2Dialog::setItemStopColor ( const QColor &  newColor) [slot]

Definition at line 250 of file qgsvectorgradientcolorrampv2dialog.cpp.

References mCurrentItem, setStopColor(), and updatePreview().

Referenced by stopDoubleClicked().

void QgsVectorGradientColorRampV2Dialog::setStopColor ( QTreeWidgetItem *  item,
QColor  color 
) [protected]

Member Data Documentation

Definition at line 58 of file qgsvectorgradientcolorrampv2dialog.h.

Referenced by setItemStopColor(), and stopDoubleClicked().

const int QgsVectorGradientColorRampV2Dialog::StopColorRole = Qt::UserRole + 1 [static, protected]
const int QgsVectorGradientColorRampV2Dialog::StopOffsetRole = Qt::UserRole + 2 [static, protected]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines