VectorProcessingConfigWidget.h
Go to the documentation of this file.
1 /* Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
2 
3  This file is part of the TerraLib - a Framework for building GIS enabled applications.
4 
5  TerraLib is free software: you can redistribute it and/or modify
6  it under the terms of the GNU Lesser General Public License as published by
7  the Free Software Foundation, either version 3 of the License,
8  or (at your option) any later version.
9 
10  TerraLib is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public License
16  along with TerraLib. See COPYING. If not, write to
17  TerraLib Team at <terralib-team@terralib.org>.
18  */
19 
20 /*!
21  \file VectorProcessingConfigWidget.h
22 
23  \brief A frame for setting vector processing options.
24 */
25 
26 #ifndef __TERRALIB_QT_PLUGINS_VP_VECTORPROCESSINGCONFIGWIDGET_H
27 #define __TERRALIB_QT_PLUGINS_VP_VECTORPROCESSINGCONFIGWIDGET_H
28 
29 // TerraLib
30 #include "../../af/Config.h"
31 
32 // Qt
33 #include "../../af/settings/AbstractSettingWidget.h"
34 
35 // STL
36 #include <memory>
37 
38 // Forward declaration
39 namespace Ui
40 {
41  class VectorProcessingConfigWidgetForm;
42 }
43 
44 namespace te
45 {
46  namespace qt
47  {
48  namespace plugins
49  {
50  namespace vp
51  {
52  /*!
53  \class DisplayWidget
54 
55  \brief A frame for setting vector processing options.
56  */
58  {
59  Q_OBJECT
60 
61  public:
62 
63  VectorProcessingConfigWidget(QWidget* parent = 0);
64 
66 
67  void saveChanges();
68 
69  void resetState();
70 
71  void getHelpInformations(QString& ns, QString& helpFile);
72 
73  private:
74 
75  void configSettings();
76 
77  void initialize();
78 
79  private slots:
80 
81  void onQuestionChecked(bool checked);
82 
83  void onSetSpatialIndexAsDefaultChecked(bool checked);
84 
85  private:
86 
87  std::unique_ptr<Ui::VectorProcessingConfigWidgetForm> m_ui;
88 
89  };
90  } // end namespace vp
91  } // end namespace plugins
92  } // end namespace qt
93 } // end namespace te
94 
95 #endif // __TERRALIB_QT_PLUGINS_VP_VECTORPROCESSINGCONFIGWIDGET_H
#define slots
A frame for setting Table options.
URI C++ Library.
std::unique_ptr< Ui::VectorProcessingConfigWidgetForm > m_ui