16 #ifndef QGSCPTCITYCOLORRAMPV2DIALOG_H
17 #define QGSCPTCITYCOLORRAMPV2DIALOG_H
20 #include "ui_qgscptcitycolorrampv2dialogbase.h"
25 #include <QAbstractProxyModel>
29 class ListFilterProxyModel;
30 class UngroupProxyModel;
41 QString selectedName()
const
42 {
return mRamp ? QFileInfo( mRamp->schemeName() ).baseName() + mRamp->variantName() : QString(); }
44 bool saveAsGradientRamp()
const;
47 void populateVariants();
49 void on_mTreeView_clicked(
const QModelIndex & );
50 void on_mListWidget_itemClicked( QListWidgetItem * item );
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();
63 void updateCopyingInfo(
const QMap< QString, QString >& copyingMap );
66 bool eventFilter( QObject *obj, QEvent *event )
override;