QGIS/python/gui/symbology-ng/qgscptcitycolorrampv2dialog.sip

42 lines
1.2 KiB
Plaintext
Raw Normal View History

class QgsCptCityColorRampV2Dialog : QDialog
{
%TypeHeaderCode
#include <qgscptcitycolorrampv2dialog.h>
%End
public:
QgsCptCityColorRampV2Dialog( QgsCptCityColorRampV2* ramp, QWidget* parent = NULL );
~QgsCptCityColorRampV2Dialog();
QString selectedName() const;
2013-06-23 16:00:16 +02:00
bool saveAsGradientRamp() const;
public slots:
void populateVariants();
void on_mTreeView_clicked( const QModelIndex & );
void on_mListWidget_itemClicked( QListWidgetItem * item );
2014-01-27 09:22:24 +01:00
void on_mListWidget_itemSelectionChanged();
void on_tabBar_currentChanged( int index );
void on_pbtnLicenseDetails_pressed();
void on_cboVariantName_currentIndexChanged( int index );
void onFinished();
2013-06-23 16:00:16 +02:00
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();
2014-01-27 09:22:24 +01:00
void showAll();
void setTreeModel( QgsCptCityBrowserModel* model );
};