mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
class QgsCptCityColorRampV2Dialog : QDialog
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgscptcitycolorrampv2dialog.h>
|
|
%End
|
|
|
|
public:
|
|
QgsCptCityColorRampV2Dialog( QgsCptCityColorRampV2* ramp, QWidget* parent = NULL );
|
|
~QgsCptCityColorRampV2Dialog();
|
|
|
|
QString selectedName() const;
|
|
|
|
bool saveAsGradientRamp() const;
|
|
|
|
public slots:
|
|
void populateVariants();
|
|
|
|
void on_mTreeView_clicked( const QModelIndex & );
|
|
void on_mListWidget_itemClicked( QListWidgetItem * item );
|
|
void on_tabBar_currentChanged( int index );
|
|
void on_pbtnLicenseDetails_pressed();
|
|
void on_cboVariantName_currentIndexChanged( int index );
|
|
void onFinished();
|
|
void on_buttonBox_helpRequested();
|
|
/* void refresh(); */
|
|
|
|
protected:
|
|
|
|
void updatePreview( bool clear = false );
|
|
void clearCopyingInfo();
|
|
void updateCopyingInfo( const QMap< QString, QString >& copyingMap );
|
|
void updateTreeView( QgsCptCityDataItem *item, bool resetRamp = true );
|
|
void updateListWidget( QgsCptCityDataItem *item );
|
|
bool eventFilter( QObject *obj, QEvent *event );
|
|
|
|
/* void refreshModel( const QModelIndex& index ); */
|
|
bool updateRamp();
|
|
void setTreeModel( QgsCptCityBrowserModel* model );
|
|
};
|