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

#include <qgscptcitycolorrampv2dialog.h>

Inheritance diagram for QgsCptCityColorRampV2Dialog:
Inheritance graph
[legend]
Collaboration diagram for QgsCptCityColorRampV2Dialog:
Collaboration graph
[legend]

Public Slots

void populateVariants ()
 
void on_mTreeView_clicked (const QModelIndex &)
 
void on_mListWidget_itemClicked (QListWidgetItem *item)
 
void on_mListWidget_itemSelectionChanged ()
 
void on_tabBar_currentChanged (int index)
 
void on_pbtnLicenseDetails_pressed ()
 
void on_cboVariantName_currentIndexChanged (int index)
 
void onFinished ()
 
void on_buttonBox_helpRequested ()
 

Public Member Functions

 QgsCptCityColorRampV2Dialog (QgsCptCityColorRampV2 *ramp, QWidget *parent=NULL)
 
 ~QgsCptCityColorRampV2Dialog ()
 
QString selectedName () const
 
bool saveAsGradientRamp () const
 

Protected Member Functions

void updatePreview (bool clear=false)
 
void clearCopyingInfo ()
 
void updateCopyingInfo (const QMap< QString, QString > &copyingMap)
 
void updateTreeView (QgsCptCityDataItem *item, bool resetRamp=true)
 
void updateListWidget (QgsCptCityDataItem *item)
 
bool eventFilter (QObject *obj, QEvent *event)
 
bool updateRamp ()
 
void showAll ()
 
void setTreeModel (QgsCptCityBrowserModel *model)
 

Protected Attributes

QgsCptCityColorRampV2mRamp
 
QgsCptCityArchivemArchive
 
QgsCptCityBrowserModel::ViewType mArchiveViewType
 
QgsCptCityBrowserModelmModel
 
QgsCptCityBrowserModelmAuthorsModel
 
QgsCptCityBrowserModelmSelectionsModel
 
TreeFilterProxyModelmTreeFilter
 
QVector
< QgsCptCityColorRampItem * > 
mListRamps
 

Detailed Description

Definition at line 33 of file qgscptcitycolorrampv2dialog.h.

Constructor & Destructor Documentation

QgsCptCityColorRampV2Dialog::QgsCptCityColorRampV2Dialog ( QgsCptCityColorRampV2 ramp,
QWidget *  parent = NULL 
)
QgsCptCityColorRampV2Dialog::~QgsCptCityColorRampV2Dialog ( )

Definition at line 175 of file qgscptcitycolorrampv2dialog.cpp.

Member Function Documentation

void QgsCptCityColorRampV2Dialog::clearCopyingInfo ( )
protected

Definition at line 455 of file qgscptcitycolorrampv2dialog.cpp.

References updateCopyingInfo().

Referenced by updateRamp(), and updateTreeView().

bool QgsCptCityColorRampV2Dialog::eventFilter ( QObject *  obj,
QEvent *  event 
)
protected
void QgsCptCityColorRampV2Dialog::on_buttonBox_helpRequested ( )
slot

Definition at line 502 of file qgscptcitycolorrampv2dialog.cpp.

References tr.

void QgsCptCityColorRampV2Dialog::on_cboVariantName_currentIndexChanged ( int  index)
slot
void QgsCptCityColorRampV2Dialog::on_mListWidget_itemClicked ( QListWidgetItem *  item)
slot
void QgsCptCityColorRampV2Dialog::on_mListWidget_itemSelectionChanged ( )
slot

Definition at line 321 of file qgscptcitycolorrampv2dialog.cpp.

References mRamp, and QgsCptCityColorRampV2::setName().

void QgsCptCityColorRampV2Dialog::on_mTreeView_clicked ( const QModelIndex &  index)
slot
void QgsCptCityColorRampV2Dialog::on_pbtnLicenseDetails_pressed ( )
slot
void QgsCptCityColorRampV2Dialog::on_tabBar_currentChanged ( int  index)
slot
void QgsCptCityColorRampV2Dialog::onFinished ( )
slot

Definition at line 494 of file qgscptcitycolorrampv2dialog.cpp.

Referenced by QgsCptCityColorRampV2Dialog().

void QgsCptCityColorRampV2Dialog::populateVariants ( )
slot
bool QgsCptCityColorRampV2Dialog::saveAsGradientRamp ( ) const
QString QgsCptCityColorRampV2Dialog::selectedName ( ) const
inline

Definition at line 41 of file qgscptcitycolorrampv2dialog.h.

void QgsCptCityColorRampV2Dialog::setTreeModel ( QgsCptCityBrowserModel model)
protected
void QgsCptCityColorRampV2Dialog::showAll ( )
protected
void QgsCptCityColorRampV2Dialog::updateCopyingInfo ( const QMap< QString, QString > &  copyingMap)
protected
void QgsCptCityColorRampV2Dialog::updateListWidget ( QgsCptCityDataItem item)
protected
void QgsCptCityColorRampV2Dialog::updatePreview ( bool  clear = false)
protected
bool QgsCptCityColorRampV2Dialog::updateRamp ( )
protected
void QgsCptCityColorRampV2Dialog::updateTreeView ( QgsCptCityDataItem item,
bool  resetRamp = true 
)
protected

Member Data Documentation

QgsCptCityArchive* QgsCptCityColorRampV2Dialog::mArchive
protected
QgsCptCityBrowserModel::ViewType QgsCptCityColorRampV2Dialog::mArchiveViewType
protected

Definition at line 70 of file qgscptcitycolorrampv2dialog.h.

Referenced by on_tabBar_currentChanged().

QgsCptCityBrowserModel* QgsCptCityColorRampV2Dialog::mAuthorsModel
protected
QVector<QgsCptCityColorRampItem*> QgsCptCityColorRampV2Dialog::mListRamps
protected
QgsCptCityBrowserModel* QgsCptCityColorRampV2Dialog::mModel
protected
QgsCptCityColorRampV2* QgsCptCityColorRampV2Dialog::mRamp
protected
QgsCptCityBrowserModel* QgsCptCityColorRampV2Dialog::mSelectionsModel
protected
TreeFilterProxyModel* QgsCptCityColorRampV2Dialog::mTreeFilter
protected

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