Quantum GIS API Documentation  master-ce49b66
src/gui/symbology-ng/qgsvectorrandomcolorrampv2dialog.h
Go to the documentation of this file.
00001 /***************************************************************************
00002     qgsvectorrandomcolorrampv2dialog.h
00003     ---------------------
00004     begin                : December 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 QGSVECTORRANDOMCOLORRAMPV2DIALOG_H
00017 #define QGSVECTORRANDOMCOLORRAMPV2DIALOG_H
00018 
00019 #include <QDialog>
00020 
00021 #include "ui_qgsvectorrandomcolorrampv2dialogbase.h"
00022 
00023 class QgsVectorRandomColorRampV2;
00024 
00025 class GUI_EXPORT QgsVectorRandomColorRampV2Dialog : public QDialog, private Ui::QgsVectorRandomColorRampV2DialogBase
00026 {
00027     Q_OBJECT
00028 
00029   public:
00030     QgsVectorRandomColorRampV2Dialog( QgsVectorRandomColorRampV2* ramp, QWidget* parent = NULL );
00031 
00032   public slots:
00033     void setCount( int val );
00034     void setHue1( int val );
00035     void setHue2( int val );
00036     void setSat1( int val );
00037     void setSat2( int val );
00038     void setVal1( int val );
00039     void setVal2( int val );
00040 
00041   protected:
00042 
00043     void updatePreview();
00044 
00045     QgsVectorRandomColorRampV2* mRamp;
00046 };
00047 
00048 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines