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;
43 {
return mRamp ?
QFileInfo( mRamp->schemeName() ).baseName() + mRamp->variantName() :
QString(); }
45 bool saveAsGradientRamp()
const;
48 void populateVariants();
52 void on_mListWidget_itemSelectionChanged();
53 void on_tabBar_currentChanged(
int index );
54 void on_pbtnLicenseDetails_pressed();
55 void on_cboVariantName_currentIndexChanged(
int index );
57 void on_buttonBox_helpRequested();
62 void updatePreview(
bool clear =
false );
63 void clearCopyingInfo();
96 bool filterAcceptsRow(
int sourceRow,
const QModelIndex &sourceParent )
const override;
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