~ubuntu-branches/ubuntu/wily/qgis/wily

« back to all changes in this revision

Viewing changes to src/gui/qgscontinuouscolordialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Johan Van de Wauw
  • Date: 2010-07-11 20:23:24 UTC
  • mfrom: (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100711202324-5ktghxa7hracohmr
Tags: 1.4.0+12730-3ubuntu1
* Merge from Debian unstable (LP: #540941).
* Fix compilation issues with QT 4.7
* Add build-depends on libqt4-webkit-dev 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***************************************************************************
2
 
                          qgscontinuouscolordialog.h 
3
 
                        Continuous color renderer dialog
4
 
                             -------------------
5
 
    begin                : 2004-02-12
6
 
    copyright            : (C) 2004 by Gary E.Sherman
7
 
    email                : sherman at mrcc.com
8
 
***************************************************************************/
9
 
 
10
 
/***************************************************************************
11
 
 *                                                                         *
12
 
 *   This program is free software; you can redistribute it and/or modify  *
13
 
 *   it under the terms of the GNU General Public License as published by  *
14
 
 *   the Free Software Foundation; either version 2 of the License, or     *
15
 
 *   (at your option) any later version.                                   *
16
 
 *                                                                         *
17
 
 ***************************************************************************/
18
 
 /* $Id: qgscontinuouscolordialog.h 6251 2006-12-13 23:23:50Z telwertowski $ */
19
 
 
20
 
#ifndef QGSCONTINUOUSCOLORDIALOG_H
21
 
#define QGSCONTINUOUSCOLORDIALOG_H
22
 
 
23
 
#include "ui_qgscontinuouscolordialogbase.h"
24
 
#include <map>
25
 
 
26
 
class QgsVectorLayer;
27
 
 
28
 
 
29
 
class QgsContinuousColorDialog: public QDialog, private Ui::QgsContinuousColorDialogBase
30
 
{
31
 
    Q_OBJECT
32
 
 
33
 
 public:
34
 
    QgsContinuousColorDialog(QgsVectorLayer* layer);
35
 
    ~QgsContinuousColorDialog();
36
 
 
37
 
 public slots:
38
 
    void apply();
39
 
 
40
 
 protected slots:
41
 
    void selectMinimumColor();
42
 
    void selectMaximumColor();
43
 
    void on_cb_polygonOutline_clicked();
44
 
 
45
 
 protected:
46
 
    QgsVectorLayer* mVectorLayer;
47
 
    /**Stores the relationship between provider field indices and field selection 
48
 
       combobox indices. First is the combobox index, second is the provider field index */
49
 
     std::map<int,int> mFieldMap;
50
 
 
51
 
 private:
52
 
    /** Default constructor is private, do not use this */
53
 
    QgsContinuousColorDialog();
54
 
 
55
 
};
56
 
 
57
 
#endif