QGIS API Documentation  master-6227475
QgsSingleBandPseudoColorRendererWidget Class Reference

#include <qgssinglebandpseudocolorrendererwidget.h>

+ Inheritance diagram for QgsSingleBandPseudoColorRendererWidget:
+ Collaboration diagram for QgsSingleBandPseudoColorRendererWidget:

List of all members.

Public Types

enum  Mode { Continuous = 1, EqualInterval = 2 }

Public Slots

void loadMinMax (int theBandNo, double theMin, double theMax, int theOrigin)

Public Member Functions

 QgsSingleBandPseudoColorRendererWidget (QgsRasterLayer *layer, const QgsRectangle &extent=QgsRectangle())
 ~QgsSingleBandPseudoColorRendererWidget ()
QgsRasterRendererrenderer ()
void setFromRenderer (const QgsRasterRenderer *r)

Static Public Member Functions

static QgsRasterRendererWidgetcreate (QgsRasterLayer *layer, const QgsRectangle &theExtent)

Private Slots

void on_mAddEntryButton_clicked ()
void on_mBandComboBox_currentIndexChanged (int index)
void on_mClassificationModeComboBox_currentIndexChanged (int index)
void on_mClassifyButton_clicked ()
void on_mColormapTreeWidget_itemDoubleClicked (QTreeWidgetItem *item, int column)
void on_mColorRampComboBox_currentIndexChanged (int index)
void on_mDeleteEntryButton_clicked ()
void on_mExportToFileButton_clicked ()
void on_mLoadFromBandButton_clicked ()
void on_mLoadFromFileButton_clicked ()
void on_mMaxLineEdit_textChanged (const QString &text)
void on_mMaxLineEdit_textEdited (const QString &text)
void on_mMinLineEdit_textChanged (const QString &text)
void on_mMinLineEdit_textEdited (const QString &text)
void on_mSortButton_clicked ()

Private Member Functions

double lineEditValue (const QLineEdit *theLineEdit) const
void populateColormapTreeWidget (const QList< QgsColorRampShader::ColorRampItem > &colorRampItems)
void resetClassifyButton ()
void setLineEditValue (QLineEdit *theLineEdit, double theValue)
void showMinMaxOrigin ()

Private Attributes

int mMinMaxOrigin
QgsRasterMinMaxWidgetmMinMaxWidget

Detailed Description

Definition at line 26 of file qgssinglebandpseudocolorrendererwidget.h.


Member Enumeration Documentation

Enumerator:
Continuous 
EqualInterval 

Definition at line 31 of file qgssinglebandpseudocolorrendererwidget.h.


Constructor & Destructor Documentation


Member Function Documentation

static QgsRasterRendererWidget* QgsSingleBandPseudoColorRendererWidget::create ( QgsRasterLayer layer,
const QgsRectangle theExtent 
) [inline, static]

Definition at line 40 of file qgssinglebandpseudocolorrendererwidget.h.

double QgsSingleBandPseudoColorRendererWidget::lineEditValue ( const QLineEdit *  theLineEdit) const [private]
void QgsSingleBandPseudoColorRendererWidget::loadMinMax ( int  theBandNo,
double  theMin,
double  theMax,
int  theOrigin 
) [slot]
void QgsSingleBandPseudoColorRendererWidget::on_mColormapTreeWidget_itemDoubleClicked ( QTreeWidgetItem *  item,
int  column 
) [private, slot]

Definition at line 537 of file qgssinglebandpseudocolorrendererwidget.cpp.

void QgsSingleBandPseudoColorRendererWidget::on_mMaxLineEdit_textChanged ( const QString &  text) [inline, private, slot]

Definition at line 62 of file qgssinglebandpseudocolorrendererwidget.h.

void QgsSingleBandPseudoColorRendererWidget::on_mMaxLineEdit_textEdited ( const QString &  text) [inline, private, slot]
void QgsSingleBandPseudoColorRendererWidget::on_mMinLineEdit_textChanged ( const QString &  text) [inline, private, slot]

Definition at line 61 of file qgssinglebandpseudocolorrendererwidget.h.

void QgsSingleBandPseudoColorRendererWidget::on_mMinLineEdit_textEdited ( const QString &  text) [inline, private, slot]
void QgsSingleBandPseudoColorRendererWidget::setLineEditValue ( QLineEdit *  theLineEdit,
double  theValue 
) [private]

Definition at line 641 of file qgssinglebandpseudocolorrendererwidget.cpp.

Referenced by setFromRenderer().


Member Data Documentation


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