QGIS API Documentation  2.8.2-Wien
 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 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

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

Definition at line 31 of file qgsvectorgradientcolorrampv2dialog.cpp.

Member Function Documentation

void QgsVectorGradientColorRampV2Dialog::addStop ( )
slot

Definition at line 329 of file qgsvectorgradientcolorrampv2dialog.cpp.

void QgsVectorGradientColorRampV2Dialog::on_btnInformation_pressed ( )
protectedslot

Definition at line 89 of file qgsvectorgradientcolorrampv2dialog.cpp.

void QgsVectorGradientColorRampV2Dialog::on_cboType_currentIndexChanged ( int  index)
protectedslot

Definition at line 79 of file qgsvectorgradientcolorrampv2dialog.cpp.

void QgsVectorGradientColorRampV2Dialog::removeStop ( )
slot

Definition at line 379 of file qgsvectorgradientcolorrampv2dialog.cpp.

void QgsVectorGradientColorRampV2Dialog::setColor1 ( const QColor &  color)
slot

Definition at line 230 of file qgsvectorgradientcolorrampv2dialog.cpp.

void QgsVectorGradientColorRampV2Dialog::setColor2 ( const QColor &  color)
slot

Definition at line 236 of file qgsvectorgradientcolorrampv2dialog.cpp.

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

Definition at line 263 of file qgsvectorgradientcolorrampv2dialog.cpp.

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

Definition at line 242 of file qgsvectorgradientcolorrampv2dialog.cpp.

void QgsVectorGradientColorRampV2Dialog::stopDoubleClicked ( QTreeWidgetItem *  item,
int  column 
)
slot

Definition at line 272 of file qgsvectorgradientcolorrampv2dialog.cpp.

void QgsVectorGradientColorRampV2Dialog::toggledStops ( bool  on)
slot

Definition at line 390 of file qgsvectorgradientcolorrampv2dialog.cpp.

void QgsVectorGradientColorRampV2Dialog::updatePreview ( )
protected

Definition at line 201 of file qgsvectorgradientcolorrampv2dialog.cpp.

void QgsVectorGradientColorRampV2Dialog::updateStops ( )
protected

Definition at line 174 of file qgsvectorgradientcolorrampv2dialog.cpp.

Member Data Documentation

QTreeWidgetItem* QgsVectorGradientColorRampV2Dialog::mCurrentItem
protected

Definition at line 58 of file qgsvectorgradientcolorrampv2dialog.h.

QgsVectorGradientColorRampV2* QgsVectorGradientColorRampV2Dialog::mRamp
protected

Definition at line 53 of file qgsvectorgradientcolorrampv2dialog.h.

const int QgsVectorGradientColorRampV2Dialog::StopColorRole = Qt::UserRole + 1
staticprotected

Definition at line 55 of file qgsvectorgradientcolorrampv2dialog.h.

const int QgsVectorGradientColorRampV2Dialog::StopOffsetRole = Qt::UserRole + 2
staticprotected

Definition at line 56 of file qgsvectorgradientcolorrampv2dialog.h.


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