QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
qgsrendererv2propertiesdialog.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsrendererv2propertiesdialog.h
3 
4  ---------------------
5  begin : December 2009
6  copyright : (C) 2009 by Martin Dobias
7  email : wonder dot sk at gmail dot com
8  ***************************************************************************
9  * *
10  * This program is free software; you can redistribute it and/or modify *
11  * it under the terms of the GNU General Public License as published by *
12  * the Free Software Foundation; either version 2 of the License, or *
13  * (at your option) any later version. *
14  * *
15  ***************************************************************************/
16 
17 #ifndef QGSRENDERERV2PROPERTIESDIALOG_H
18 #define QGSRENDERERV2PROPERTIESDIALOG_H
19 
20 #include <QDialog>
21 
22 #include "ui_qgsrendererv2propsdialogbase.h"
23 
24 class QKeyEvent;
25 
26 class QgsVectorLayer;
27 class QgsStyleV2;
28 class QgsSymbolV2;
29 
31 
32 class GUI_EXPORT QgsRendererV2PropertiesDialog : public QDialog, private Ui::QgsRendererV2PropsDialogBase
33 {
34  Q_OBJECT
35 
36  public:
37  QgsRendererV2PropertiesDialog( QgsVectorLayer* layer, QgsStyleV2* style, bool embedded = false );
38 
39  public slots:
41  void rendererChanged();
42 
43  void apply();
44  void onOK();
45 
46  protected:
47 
49  void keyPressEvent( QKeyEvent * event );
50 
51 
54 
56 };
57 
58 
59 #endif
Definition: qgsrendererv2propertiesdialog.h:32
Definition: qgssymbolv2.h:43
Definition: qgsstylev2.h:66
Base class for renderer settings widgets.
Definition: qgsrendererv2widget.h:38
QgsStyleV2 * mStyle
Definition: qgsrendererv2propertiesdialog.h:53
QgsVectorLayer * mLayer
Definition: qgsrendererv2propertiesdialog.h:52
Represents a vector layer which manages a vector based data sets.
Definition: qgsvectorlayer.h:470
QgsRendererV2Widget * mActiveWidget
Definition: qgsrendererv2propertiesdialog.h:55