00001 /*************************************************************************** 00002 qgscontinuouscolordialog.h 00003 Continuous color renderer dialog 00004 ------------------- 00005 begin : 2004-02-12 00006 copyright : (C) 2004 by Gary E.Sherman 00007 email : sherman at mrcc.com 00008 ***************************************************************************/ 00009 00010 /*************************************************************************** 00011 * * 00012 * This program is free software; you can redistribute it and/or modify * 00013 * it under the terms of the GNU General Public License as published by * 00014 * the Free Software Foundation; either version 2 of the License, or * 00015 * (at your option) any later version. * 00016 * * 00017 ***************************************************************************/ 00018 /* $Id: qgscontinuouscolordialog.h 9138 2008-08-23 21:37:31Z jef $ */ 00019 00020 #ifndef QGSCONTINUOUSCOLORDIALOG_H 00021 #define QGSCONTINUOUSCOLORDIALOG_H 00022 00023 #include "ui_qgscontinuouscolordialogbase.h" 00024 #include <map> 00025 00026 class QgsVectorLayer; 00027 00028 00029 class QgsContinuousColorDialog: public QDialog, private Ui::QgsContinuousColorDialogBase 00030 { 00031 Q_OBJECT 00032 00033 public: 00034 QgsContinuousColorDialog( QgsVectorLayer* layer ); 00035 ~QgsContinuousColorDialog(); 00036 00037 public slots: 00038 void apply(); 00039 00040 protected slots: 00041 void selectMinimumColor(); 00042 void selectMaximumColor(); 00043 void on_cb_polygonOutline_clicked(); 00044 00045 protected: 00046 QgsVectorLayer* mVectorLayer; 00049 std::map<int, int> mFieldMap; 00050 00051 private: 00053 QgsContinuousColorDialog(); 00054 00055 }; 00056 00057 #endif
1.5.1