QGIS API Documentation  2.6.0-Brighton
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Slots | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
QgsVectorGradientColorRampV2Dialog Class Reference

#include <qgsvectorgradientcolorrampv2dialog.h>

Public Slots

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

Public Member Functions

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

Protected Slots

void on_cboType_currentIndexChanged (int index)
void on_btnInformation_pressed ()

Protected Member Functions

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

Protected Attributes

QgsVectorGradientColorRampV2mRamp
QTreeWidgetItem * mCurrentItem

Static Protected Attributes

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

Constructor & Destructor Documentation

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

Member Function Documentation

void QgsVectorGradientColorRampV2Dialog::addStop ( )
slot
void QgsVectorGradientColorRampV2Dialog::on_btnInformation_pressed ( )
protectedslot
void QgsVectorGradientColorRampV2Dialog::on_cboType_currentIndexChanged ( int  index)
protectedslot
void QgsVectorGradientColorRampV2Dialog::removeStop ( )
slot
void QgsVectorGradientColorRampV2Dialog::setColor1 ( const QColor &  color)
slot
void QgsVectorGradientColorRampV2Dialog::setColor2 ( const QColor &  color)
slot
void QgsVectorGradientColorRampV2Dialog::setItemStopColor ( const QColor &  newColor)
slot
void QgsVectorGradientColorRampV2Dialog::setStopColor ( QTreeWidgetItem *  item,
QColor  color 
)
protected
void QgsVectorGradientColorRampV2Dialog::stopDoubleClicked ( QTreeWidgetItem *  item,
int  column 
)
slot
void QgsVectorGradientColorRampV2Dialog::toggledStops ( bool  on)
slot
void QgsVectorGradientColorRampV2Dialog::updatePreview ( )
protected
void QgsVectorGradientColorRampV2Dialog::updateStops ( )
protected

Member Data Documentation

QTreeWidgetItem* QgsVectorGradientColorRampV2Dialog::mCurrentItem
protected
QgsVectorGradientColorRampV2* QgsVectorGradientColorRampV2Dialog::mRamp
protected
const int QgsVectorGradientColorRampV2Dialog::StopColorRole = Qt::UserRole + 1
staticprotected
const int QgsVectorGradientColorRampV2Dialog::StopOffsetRole = Qt::UserRole + 2
staticprotected

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