Loading...
Searching...
No Matches
AddColumnDialog.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 terralib/qt/widgets/table/AddColumnDialog.h
22
23 \brief A Qt dialog for inserting columns into a table.
24*/
25
26#include "../Config.h"
27
28// Qt
29#include <QDialog>
30
31// STL
32#include <memory>
33
34// Forward declarations
35namespace Ui
36{
37 class AddColumnDialogForm;
38}
39
40namespace te
41{
42 namespace dt
43 {
44 class Property;
45 }
46
47 namespace qt
48 {
49 namespace widgets
50 {
51 class AddColumnDialog : public QDialog
52 {
53 Q_OBJECT
54
55 public :
56
57 AddColumnDialog(QWidget* parent=0);
58
60
62
63 void setTableName(const std::string& name);
64
65 private:
66
67 void fillTypes();
68
69 private :
70
71 std::unique_ptr<Ui::AddColumnDialogForm> m_ui;
72 };
73 }
74 }
75}
It models a property definition.
Definition: Property.h:60
AddColumnDialog(QWidget *parent=0)
void setTableName(const std::string &name)
te::dt::Property * getNewProperty() const
std::unique_ptr< Ui::AddColumnDialogForm > m_ui
TerraLib.