Quantum GIS API Documentation  master-693a1fe
src/gui/symbology-ng/qgsvectorcolorbrewercolorrampv2dialog.h
Go to the documentation of this file.
00001 /***************************************************************************
00002     qgsvectorcolorbrewercolorrampv2dialog.h
00003     ---------------------
00004     begin                : November 2009
00005     copyright            : (C) 2009 by Martin Dobias
00006     email                : wonder dot sk at gmail dot com
00007  ***************************************************************************
00008  *                                                                         *
00009  *   This program is free software; you can redistribute it and/or modify  *
00010  *   it under the terms of the GNU General Public License as published by  *
00011  *   the Free Software Foundation; either version 2 of the License, or     *
00012  *   (at your option) any later version.                                   *
00013  *                                                                         *
00014  ***************************************************************************/
00015 
00016 #ifndef QGSVECTORCOLORBREWERCOLORRAMPV2DIALOG_H
00017 #define QGSVECTORCOLORBREWERCOLORRAMPV2DIALOG_H
00018 
00019 #include <QDialog>
00020 
00021 #include "ui_qgsvectorcolorbrewercolorrampv2dialogbase.h"
00022 
00023 class QgsVectorColorBrewerColorRampV2;
00024 
00025 class GUI_EXPORT QgsVectorColorBrewerColorRampV2Dialog : public QDialog, private Ui::QgsVectorColorBrewerColorRampV2DialogBase
00026 {
00027     Q_OBJECT
00028 
00029   public:
00030     QgsVectorColorBrewerColorRampV2Dialog( QgsVectorColorBrewerColorRampV2* ramp, QWidget* parent = NULL );
00031 
00032   public slots:
00033     void setSchemeName();
00034     void setColors();
00035 
00036     void populateVariants();
00037 
00038   protected:
00039 
00040     void updatePreview();
00041 
00042     QgsVectorColorBrewerColorRampV2* mRamp;
00043 };
00044 
00045 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines