All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EditorInfo.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_EDITOR_INFO_H
27 #define __TERRALIB_QT_WIDGETS_INTERNAL_EDITOR_INFO_H
28 
29 // TerraLib
30 #include "LayoutObject.h"
31 #include "../Config.h"
32 
33 // Qt
34 #include <QtCore/QRect>
35 #include <QtCore/QRectF>
36 #include <QtGui/QPixmap>
37 #include <QtGui/QWidget>
38 
39 namespace te
40 {
41  namespace qt
42  {
43  namespace widgets
44  {
45  class LayoutEditor;
46  /*!
47  \class FrameData
48 
49  \brief A Framedata ....
50 
51  */
53  {
54  public:
55  EditorInfo(te::qt::widgets::LayoutEditor* me, Qt::WindowFlags f = Qt::Widget);
56  EditorInfo(const EditorInfo& rhs);
57 
58  virtual ~EditorInfo();
59 
60  EditorInfo& operator=(const EditorInfo& rhs);
61  void setEditorChanged(bool);
62  bool isEditorChanged();
63 
64  public:
65  QRect m_rect; // rect of editor Widget
66  QRectF m_paperViewRect; // editor paper view rect
67  QSize m_paperSize; // paper size
68  bool m_showRulerGrid; // true = show
69  int m_rulerGridLines; // grid options: 1 = all, 2 = only medium and large, 3 = only large
70  bool m_resize;
71  bool m_move;
72  };
73  } // end namespace widgets
74  } // end namespace qt
75 } // end namespace te
76 
77 #endif // __TERRALIB_QT_WIDGETS_INTERNAL_EDITOR_INFO_H
#define TEQTWIDGETSEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition: Config.h:101