16 #ifndef QGSCPTCITYCOLORRAMPV2DIALOG_H
17 #define QGSCPTCITYCOLORRAMPV2DIALOG_H
20 #include "ui_qgscptcitycolorrampv2dialogbase.h"
25 #include <QAbstractProxyModel>
29 class ListFilterProxyModel;
30 class UngroupProxyModel;
42 {
return mRamp ?
QFileInfo( mRamp->schemeName() ).baseName() + mRamp->variantName() :
QString(); }
44 bool saveAsGradientRamp()
const;
47 void populateVariants();
51 void on_mListWidget_itemSelectionChanged();
52 void on_tabBar_currentChanged(
int index );
53 void on_pbtnLicenseDetails_pressed();
54 void on_cboVariantName_currentIndexChanged(
int index );
56 void on_buttonBox_helpRequested();
61 void updatePreview(
bool clear =
false );
62 void clearCopyingInfo();
QgsCptCityBrowserModel * mSelectionsModel
QgsCptCityColorRampV2 * mRamp
QVector< QgsCptCityColorRampItem * > mListRamps
QgsCptCityBrowserModel * mAuthorsModel
QgsCptCityBrowserModel::ViewType mArchiveViewType
QgsCptCityArchive * mArchive
base class for all items in the model
QString selectedName() const
TreeFilterProxyModel * mTreeFilter
virtual bool eventFilter(QObject *o, QEvent *e)
QgsCptCityBrowserModel * mModel