All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EditorInfo.cpp
Go to the documentation of this file.
1 /* Copyright (C) 2001-2009 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/canvas/DataFrame.h
22 
23  \brief The frame data....
24 */
25 
26 // TerraLib
27 #include "EditorInfo.h"
28 #include "LayoutEditor.h"
29 #include <QtGui/QWidget>
30 
32  LayoutObject(me, f)
33 {
34  setWindowTitle("EditorInfo");
35 }
36 
38  LayoutObject(rhs.m_layoutEditor, rhs.windowFlags())
39 {
40  setWindowTitle("EditorInfo");
41  m_rect = rhs.m_rect;
46  m_resize = rhs.m_resize;
47  m_move = rhs.m_move;
48 }
49 
51 {
52  hide();
53 }
54 
55 
57 {
58  if(this != &rhs)
59  {
61  setWindowTitle("EditorInfo");
62 
63  m_rect = rhs.m_rect;
64  m_paperViewRect = rhs.m_paperViewRect;
65  m_paperSize = rhs.m_paperSize;
66  m_showRulerGrid = rhs.m_showRulerGrid;
67  m_rulerGridLines = rhs.m_rulerGridLines;
68  m_resize = rhs.m_resize;
69  m_move = rhs.m_move;
70  }
71 
72  return *this;
73 }
74 
LayoutObject & operator=(const LayoutObject &rhs)
EditorInfo(te::qt::widgets::LayoutEditor *me, Qt::WindowFlags f=Qt::Widget)
Definition: EditorInfo.cpp:31
EditorInfo & operator=(const EditorInfo &rhs)
Definition: EditorInfo.cpp:56