All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DraftLayoutEditor.h
Go to the documentation of this file.
1 /* Copyright (C) 2011-2012 National Institute For Space Research (INPE) - Brazil.
2 
3  This file is part of TerraView - A Free and Open Source GIS Application.
4 
5  TerraView is free software: you can redistribute it and/or modify
6  it under the terms of the GNU 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  TerraView 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 General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with TerraLib Code Editor. See COPYING. If not, write to
17  TerraLib Team at <terralib-team@dpi.inpe.br>.
18  */
19 
20 /*!
21  \file terralib/qt/widgets/canvas/FrameData.h
22 
23  \brief The main class of FrameData.
24 */
25 
26 #ifndef __TERRALIB_QT_WIDGETS_INTERNAL_DRAFT_MAP_EDITOR_H
27 #define __TERRALIB_QT_WIDGETS_INTERNAL_DRAFT_MAP_EDITOR_H
28 
29 // TerraLib
30 #include "../Config.h"
31 
32 // Qt
33 #include <QPixmap>
34 #include <QWidget>
35 
36 namespace te
37 {
38  namespace qt
39  {
40  namespace widgets
41  {
42  /*!
43  \class DraftLayoutEditor
44 
45  \brief A DraftLayoutEditor ....
46 
47  */
48  class TEQTWIDGETSEXPORT DraftLayoutEditor : public QWidget
49  {
50  public:
51  DraftLayoutEditor(QWidget* parent = 0, Qt::WindowFlags f = Qt::Widget);
52  virtual ~DraftLayoutEditor();
53 
54  QPixmap* getDraftPixmap();
55  void resizeEvent(QResizeEvent*);
56  void paintEvent(QPaintEvent*);
57  void mouseMoveEvent(QMouseEvent*);
58 
59  private:
60  QPixmap m_draftPixmap;
61  };
62  } // end namespace widgets
63  } // end namespace qt
64 } // end namespace te
65 
66 #endif // __TERRALIB_QT_WIDGETS_INTERNAL_DRAFT_MAP_EDITOR_H
#define TEQTWIDGETSEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition: Config.h:66