|
QGIS API Documentation
master-28efcda
|
#include <qgscptcitycolorrampv2dialog.h>
Collaboration diagram for QgsCptCityColorRampV2Dialog:Definition at line 33 of file qgscptcitycolorrampv2dialog.h.
| QgsCptCityColorRampV2Dialog::QgsCptCityColorRampV2Dialog | ( | QgsCptCityColorRampV2 * | ramp, |
| QWidget * | parent = NULL |
||
| ) |
Definition at line 60 of file qgscptcitycolorrampv2dialog.cpp.
References QgsCptCityArchive::archiveName(), QgsCptCityBrowserModel::Authors, QgsCptCityArchive::defaultArchive(), QgsCptCityArchive::initDefaultArchive(), QgsCptCityArchive::isEmpty(), mArchive, mAuthorsModel, mModel, mRamp, mSelectionsModel, mTreeFilter, onFinished(), QgsApplication::qgisSettingsDirPath(), QgsDebugMsg, QgsCptCityColorRampV2::schemeName(), QgsCptCityBrowserModel::Selections, setTreeModel(), tr, updateRamp(), QgsCptCityColorRampV2::variantList(), and QgsCptCityColorRampV2::variantName().
Definition at line 172 of file qgscptcitycolorrampv2dialog.cpp.
| void QgsCptCityColorRampV2Dialog::clearCopyingInfo | ( | ) | [protected] |
Definition at line 441 of file qgscptcitycolorrampv2dialog.cpp.
References updateCopyingInfo().
Referenced by updateRamp(), and updateTreeView().
| bool QgsCptCityColorRampV2Dialog::eventFilter | ( | QObject * | obj, |
| QEvent * | event | ||
| ) | [protected] |
Definition at line 543 of file qgscptcitycolorrampv2dialog.cpp.
References QgsSymbolLayerV2Utils::colorRampPreviewPixmap(), QgsCptCityColorRampV2::fileName(), mRamp, and size.
| void QgsCptCityColorRampV2Dialog::on_buttonBox_helpRequested | ( | ) | [slot] |
Definition at line 488 of file qgscptcitycolorrampv2dialog.cpp.
References tr.
| void QgsCptCityColorRampV2Dialog::on_cboVariantName_currentIndexChanged | ( | int | index | ) | [slot] |
Definition at line 471 of file qgscptcitycolorrampv2dialog.cpp.
References mRamp, QgsDebugMsg, QgsCptCityColorRampV2::setVariantName(), updatePreview(), QgsCptCityColorRampV2::variantList(), and QgsCptCityColorRampV2::variantName().
Referenced by populateVariants().
| void QgsCptCityColorRampV2Dialog::on_mListWidget_itemClicked | ( | QListWidgetItem * | item | ) | [slot] |
Definition at line 301 of file qgscptcitycolorrampv2dialog.cpp.
References QgsCptCityColorRampV2::copy(), mListRamps, mRamp, QgsCptCityDataItem::name(), QgsCptCityDataItem::path(), populateVariants(), QgsDebugMsg, QgsCptCityColorRampItem::ramp(), QgsCptCityDataItem::type(), QgsCptCityColorRampV2::variantList(), and QgsCptCityColorRampV2::variantName().
| void QgsCptCityColorRampV2Dialog::on_mTreeView_clicked | ( | const QModelIndex & | index | ) | [slot] |
Definition at line 249 of file qgscptcitycolorrampv2dialog.cpp.
References QgsCptCityBrowserModel::dataItem(), mModel, mTreeFilter, QgsCptCityDataItem::name(), QgsDebugMsg, and updateTreeView().
| void QgsCptCityColorRampV2Dialog::on_pbtnLicenseDetails_pressed | ( | ) | [slot] |
Definition at line 341 of file qgscptcitycolorrampv2dialog.cpp.
References QgsCptCityArchive::copyingFileName(), QgsCptCityBrowserModel::dataItem(), QgsCptCityArchive::descFileName(), QgsCptCityDataItem::Directory, file, QgsDialog::layout(), mArchive, mModel, mTreeFilter, QgsCptCityDataItem::path(), tr, and QgsCptCityDataItem::type().
| void QgsCptCityColorRampV2Dialog::on_tabBar_currentChanged | ( | int | index | ) | [slot] |
Definition at line 318 of file qgscptcitycolorrampv2dialog.cpp.
References QgsCptCityBrowserModel::Authors, mArchiveViewType, mAuthorsModel, mSelectionsModel, QgsDebugMsg, QgsCptCityBrowserModel::Selections, setTreeModel(), and updateRamp().
| void QgsCptCityColorRampV2Dialog::onFinished | ( | ) | [slot] |
Definition at line 480 of file qgscptcitycolorrampv2dialog.cpp.
Referenced by QgsCptCityColorRampV2Dialog().
| void QgsCptCityColorRampV2Dialog::populateVariants | ( | ) | [slot] |
Definition at line 176 of file qgscptcitycolorrampv2dialog.cpp.
References QgsSymbolLayerV2Utils::colorRampPreviewIcon(), mRamp, on_cboVariantName_currentIndexChanged(), QgsDebugMsg, QgsCptCityColorRampV2::schemeName(), QgsCptCityColorRampV2::variantList(), and QgsCptCityColorRampV2::variantName().
Referenced by on_mListWidget_itemClicked(), updateRamp(), and updateTreeView().
| bool QgsCptCityColorRampV2Dialog::saveAsGradientRamp | ( | ) | const |
Definition at line 500 of file qgscptcitycolorrampv2dialog.cpp.
References QgsDebugMsg.
Referenced by QgsStyleV2ManagerDialog::addColorRampStatic(), and QgsStyleV2ManagerDialog::editColorRamp().
| QString QgsCptCityColorRampV2Dialog::selectedName | ( | ) | const [inline] |
Definition at line 41 of file qgscptcitycolorrampv2dialog.h.
| void QgsCptCityColorRampV2Dialog::setTreeModel | ( | QgsCptCityBrowserModel * | model | ) | [protected] |
Definition at line 631 of file qgscptcitycolorrampv2dialog.cpp.
References mModel, and mTreeFilter.
Referenced by on_tabBar_currentChanged(), and QgsCptCityColorRampV2Dialog().
| void QgsCptCityColorRampV2Dialog::updateCopyingInfo | ( | const QMap< QString, QString > & | copyingMap | ) | [protected] |
Definition at line 446 of file qgscptcitycolorrampv2dialog.cpp.
Referenced by clearCopyingInfo(), updatePreview(), and updateTreeView().
| void QgsCptCityColorRampV2Dialog::updateListWidget | ( | QgsCptCityDataItem * | item | ) | [protected] |
Definition at line 507 of file qgscptcitycolorrampv2dialog.cpp.
References QgsCptCityCollectionItem::childrenRamps(), QgsCptCityColorRampItem::icon(), QgsCptCityDataItem::info(), mListRamps, QgsCptCityDataItem::path(), QgsDebugMsg, and QgsCptCityDataItem::shortInfo().
Referenced by updateTreeView().
| void QgsCptCityColorRampV2Dialog::updatePreview | ( | bool | clear = false | ) | [protected] |
Definition at line 412 of file qgscptcitycolorrampv2dialog.cpp.
References QgsSymbolLayerV2Utils::colorRampPreviewPixmap(), QgsCptCityColorRampV2::copyingInfo(), QgsCptCityColorRampV2::loadFile(), mRamp, QgsCptCityColorRampV2::schemeName(), size, updateCopyingInfo(), and QgsCptCityColorRampV2::variantName().
Referenced by on_cboVariantName_currentIndexChanged(), and updateRamp().
| bool QgsCptCityColorRampV2Dialog::updateRamp | ( | ) | [protected] |
Definition at line 569 of file qgscptcitycolorrampv2dialog.cpp.
References clearCopyingInfo(), QgsCptCityBrowserModel::dataItem(), QgsCptCityBrowserModel::findPath(), mListRamps, mModel, mRamp, mTreeFilter, QgsCptCityDataItem::path(), populateVariants(), QgsDebugMsg, QgsCptCityColorRampItem::ramp(), QgsCptCityColorRampV2::schemeName(), QgsCptCityColorRampV2::setVariantList(), updatePreview(), updateTreeView(), and QgsCptCityColorRampV2::variantList().
Referenced by on_tabBar_currentChanged(), and QgsCptCityColorRampV2Dialog().
| void QgsCptCityColorRampV2Dialog::updateTreeView | ( | QgsCptCityDataItem * | item, |
| bool | resetRamp = true |
||
| ) | [protected] |
Definition at line 260 of file qgscptcitycolorrampv2dialog.cpp.
References QgsCptCityDataItem::AllRamps, clearCopyingInfo(), QgsCptCityArchive::copyingFileName(), QgsCptCityArchive::copyingInfo(), QgsCptCityDataItem::Directory, QgsCptCityDataItem::info(), QgsCptCityDataItem::leafCount(), mArchive, mRamp, QgsCptCityDataItem::path(), populateVariants(), QgsDebugMsg, QgsCptCityDataItem::Selection, QgsCptCityColorRampV2::setName(), tr, QgsCptCityDataItem::type(), updateCopyingInfo(), updateListWidget(), QgsCptCityColorRampV2::variantList(), and QgsCptCityColorRampV2::variantName().
Referenced by on_mTreeView_clicked(), and updateRamp().
QgsCptCityArchive* QgsCptCityColorRampV2Dialog::mArchive [protected] |
Definition at line 68 of file qgscptcitycolorrampv2dialog.h.
Referenced by on_pbtnLicenseDetails_pressed(), QgsCptCityColorRampV2Dialog(), and updateTreeView().
Definition at line 69 of file qgscptcitycolorrampv2dialog.h.
Referenced by on_tabBar_currentChanged().
Definition at line 76 of file qgscptcitycolorrampv2dialog.h.
Referenced by on_tabBar_currentChanged(), and QgsCptCityColorRampV2Dialog().
QVector<QgsCptCityColorRampItem*> QgsCptCityColorRampV2Dialog::mListRamps [protected] |
Definition at line 79 of file qgscptcitycolorrampv2dialog.h.
Referenced by on_mListWidget_itemClicked(), updateListWidget(), and updateRamp().
Definition at line 75 of file qgscptcitycolorrampv2dialog.h.
Referenced by on_mTreeView_clicked(), on_pbtnLicenseDetails_pressed(), QgsCptCityColorRampV2Dialog(), setTreeModel(), and updateRamp().
QgsCptCityColorRampV2* QgsCptCityColorRampV2Dialog::mRamp [protected] |
Definition at line 67 of file qgscptcitycolorrampv2dialog.h.
Referenced by eventFilter(), on_cboVariantName_currentIndexChanged(), on_mListWidget_itemClicked(), populateVariants(), QgsCptCityColorRampV2Dialog(), updatePreview(), updateRamp(), and updateTreeView().
Definition at line 77 of file qgscptcitycolorrampv2dialog.h.
Referenced by on_tabBar_currentChanged(), and QgsCptCityColorRampV2Dialog().
Definition at line 78 of file qgscptcitycolorrampv2dialog.h.
Referenced by on_mTreeView_clicked(), on_pbtnLicenseDetails_pressed(), QgsCptCityColorRampV2Dialog(), setTreeModel(), and updateRamp().