Main Page
Modules
Namespaces
Classes
Files
File List
File Members
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
31
te::qt::widgets::EditorInfo::EditorInfo
(
te::qt::widgets::LayoutEditor
* me, Qt::WindowFlags f) :
32
LayoutObject
(me, f)
33
{
34
setWindowTitle(
"EditorInfo"
);
35
}
36
37
te::qt::widgets::EditorInfo::EditorInfo
(
const
EditorInfo
& rhs) :
38
LayoutObject
(rhs.m_layoutEditor, rhs.windowFlags())
39
{
40
setWindowTitle(
"EditorInfo"
);
41
m_rect
= rhs.
m_rect
;
42
m_paperViewRect
= rhs.
m_paperViewRect
;
43
m_paperSize
= rhs.
m_paperSize
;
44
m_showRulerGrid
= rhs.
m_showRulerGrid
;
45
m_rulerGridLines
= rhs.
m_rulerGridLines
;
46
m_resize
= rhs.
m_resize
;
47
m_move
= rhs.
m_move
;
48
}
49
50
te::qt::widgets::EditorInfo::~EditorInfo
()
51
{
52
hide();
53
}
54
55
56
te::qt::widgets::EditorInfo
&
te::qt::widgets::EditorInfo::operator=
(
const
EditorInfo
& rhs)
57
{
58
if
(
this
!= &rhs)
59
{
60
te::qt::widgets::LayoutObject::operator=
(rhs);
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
te::qt::widgets::EditorInfo
Definition:
EditorInfo.h:52
te::qt::widgets::LayoutObject::operator=
LayoutObject & operator=(const LayoutObject &rhs)
Definition:
LayoutObject.cpp:49
te::qt::widgets::EditorInfo::m_showRulerGrid
bool m_showRulerGrid
Definition:
EditorInfo.h:68
te::qt::widgets::EditorInfo::~EditorInfo
virtual ~EditorInfo()
Definition:
EditorInfo.cpp:50
te::qt::widgets::LayoutEditor
A map editor ....
Definition:
LayoutEditor.h:63
te::qt::widgets::EditorInfo::m_rulerGridLines
int m_rulerGridLines
Definition:
EditorInfo.h:69
LayoutEditor.h
te::qt::widgets::EditorInfo::m_paperSize
QSize m_paperSize
Definition:
EditorInfo.h:67
te::qt::widgets::EditorInfo::EditorInfo
EditorInfo(te::qt::widgets::LayoutEditor *me, Qt::WindowFlags f=Qt::Widget)
Definition:
EditorInfo.cpp:31
te::qt::widgets::EditorInfo::m_paperViewRect
QRectF m_paperViewRect
Definition:
EditorInfo.h:66
te::qt::widgets::LayoutObject
Definition:
LayoutObject.h:42
EditorInfo.h
te::qt::widgets::EditorInfo::m_rect
QRect m_rect
Definition:
EditorInfo.h:65
te::qt::widgets::EditorInfo::m_move
bool m_move
Definition:
EditorInfo.h:71
te::qt::widgets::EditorInfo::m_resize
bool m_resize
Definition:
EditorInfo.h:70
te::qt::widgets::EditorInfo::operator=
EditorInfo & operator=(const EditorInfo &rhs)
Definition:
EditorInfo.cpp:56
git
src
terralib
qt
widgets
layout
EditorInfo.cpp
Generated on Wed Dec 18 2013 08:52:09 for TerraLib by
1.8.5