QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
qgsvectorrandomcolorrampv2dialog.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsvectorrandomcolorrampv2dialog.h
3  ---------------------
4  begin : December 2009
5  copyright : (C) 2009 by Martin Dobias
6  email : wonder dot sk at gmail dot com
7  ***************************************************************************
8  * *
9  * This program is free software; you can redistribute it and/or modify *
10  * it under the terms of the GNU General Public License as published by *
11  * the Free Software Foundation; either version 2 of the License, or *
12  * (at your option) any later version. *
13  * *
14  ***************************************************************************/
15 
16 #ifndef QGSVECTORRANDOMCOLORRAMPV2DIALOG_H
17 #define QGSVECTORRANDOMCOLORRAMPV2DIALOG_H
18 
19 #include <QDialog>
20 
21 #include "ui_qgsvectorrandomcolorrampv2dialogbase.h"
22 
24 
25 class GUI_EXPORT QgsVectorRandomColorRampV2Dialog : public QDialog, private Ui::QgsVectorRandomColorRampV2DialogBase
26 {
27  Q_OBJECT
28 
29  public:
30  QgsVectorRandomColorRampV2Dialog( QgsVectorRandomColorRampV2* ramp, QWidget* parent = NULL );
31 
32  public slots:
33  void setCount( int val );
34  void setHue1( int val );
35  void setHue2( int val );
36  void setSat1( int val );
37  void setSat2( int val );
38  void setVal1( int val );
39  void setVal2( int val );
40 
41  protected:
42 
43  void updatePreview();
44 
46 };
47 
48 #endif