16 #ifndef QGSCPTCITYCOLORRAMPV2DIALOG_H 17 #define QGSCPTCITYCOLORRAMPV2DIALOG_H 20 #include "ui_qgscptcitycolorrampv2dialogbase.h" 25 #include <QAbstractProxyModel> 26 #include <QSortFilterProxyModel> 29 class TreeFilterProxyModel;
30 class ListFilterProxyModel;
31 class UngroupProxyModel;
45 {
return mRamp ?
QFileInfo( mRamp->schemeName() ).baseName() + mRamp->variantName() :
QString(); }
47 bool saveAsGradientRamp()
const;
50 void populateVariants();
54 void on_mListWidget_itemSelectionChanged();
55 void on_tabBar_currentChanged(
int index );
56 void on_pbtnLicenseDetails_pressed();
57 void on_cboVariantName_currentIndexChanged(
int index );
59 void on_buttonBox_helpRequested();
64 void updatePreview(
bool clear =
false );
65 void clearCopyingInfo();
101 bool filterAcceptsRow(
int sourceRow,
const QModelIndex &sourceParent )
const override;
QgsCptCityBrowserModel * mSelectionsModel
QgsCptCityColorRampV2 * mRamp
QVector< QgsCptCityColorRampItem * > mListRamps
QgsCptCityBrowserModel * mAuthorsModel
QString selectedName() const
QgsCptCityBrowserModel::ViewType mArchiveViewType
QgsCptCityArchive * mArchive
Base class for all items in the model.
TreeFilterProxyModel * mTreeFilter
virtual bool eventFilter(QObject *o, QEvent *e)
QgsCptCityBrowserModel * mModel