Main Page
Modules
Namespaces
Classes
Files
File List
File Members
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
*/
52
class
TEQTWIDGETSEXPORT
EditorInfo
:
public
LayoutObject
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
te::qt::widgets::EditorInfo
Definition:
EditorInfo.h:52
TEQTWIDGETSEXPORT
#define TEQTWIDGETSEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition:
Config.h:101
te::qt::widgets::EditorInfo::m_showRulerGrid
bool m_showRulerGrid
Definition:
EditorInfo.h:68
te::qt::widgets::LayoutEditor
A map editor ....
Definition:
LayoutEditor.h:63
te::qt::widgets::EditorInfo::m_rulerGridLines
int m_rulerGridLines
Definition:
EditorInfo.h:69
LayoutObject.h
te::qt::widgets::EditorInfo::m_paperSize
QSize m_paperSize
Definition:
EditorInfo.h:67
te::qt::widgets::EditorInfo::m_paperViewRect
QRectF m_paperViewRect
Definition:
EditorInfo.h:66
te::qt::widgets::LayoutObject
Definition:
LayoutObject.h:42
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
git
src
terralib
qt
widgets
layout
EditorInfo.h
Generated on Wed Dec 18 2013 08:52:09 for TerraLib by
1.8.5