QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
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 
28 class GUI_EXPORT QgsVectorRandomColorRampV2Dialog : public QDialog, private Ui::QgsVectorRandomColorRampV2DialogBase
29 {
30  Q_OBJECT
31 
32  public:
34 
35  public slots:
36  void setCount( int val );
37  void setHue1( int val );
38  void setHue2( int val );
39  void setSat1( int val );
40  void setSat2( int val );
41  void setVal1( int val );
42  void setVal2( int val );
43 
44  protected:
45 
46  void updatePreview();
47 
49 };
50 
51 #endif
Random color ramp, which returns random colors based on preset parameters.