Version: 8.3.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
SALOME GUI Developer
Todo List
Namespaces
Classes
Files
File List
idl
src
CAF
CAM
CASCatch
DDS
Event
GLViewer
GLViewer.h
GLViewer_AspectLine.cxx
GLViewer_AspectLine.h
GLViewer_BaseDrawers.cxx
GLViewer_BaseDrawers.h
GLViewer_BaseObjects.cxx
GLViewer_BaseObjects.h
GLViewer_Compass.cxx
GLViewer_Compass.h
GLViewer_Context.cxx
GLViewer_Context.h
GLViewer_CoordSystem.cxx
GLViewer_CoordSystem.h
GLViewer_Defs.h
GLViewer_Drawer.cxx
GLViewer_Drawer.h
GLViewer_Geom.cxx
GLViewer_Geom.h
GLViewer_Grid.cxx
GLViewer_Grid.h
GLViewer_Group.cxx
GLViewer_Group.h
GLViewer_MimeData.cxx
GLViewer_MimeData.h
GLViewer_Object.cxx
GLViewer_Object.h
GLViewer_Selector.cxx
GLViewer_Selector.h
GLViewer_Selector2d.cxx
GLViewer_Selector2d.h
GLViewer_Text.cxx
GLViewer_Text.h
GLViewer_Tools.cxx
GLViewer_Tools.h
GLViewer_ToolTip.cxx
GLViewer_ToolTip.h
GLViewer_Viewer.cxx
GLViewer_Viewer.h
GLViewer_Viewer2d.cxx
GLViewer_Viewer2d.h
GLViewer_ViewFrame.cxx
GLViewer_ViewFrame.h
GLViewer_ViewManager.cxx
GLViewer_ViewManager.h
GLViewer_ViewPort.cxx
GLViewer_ViewPort.h
GLViewer_ViewPort2d.cxx
GLViewer_ViewPort2d.h
GLViewer_Widget.cxx
GLViewer_Widget.h
GraphicsView
GuiHelpers
HelpBrowser
ImageComposer
LightApp
LogWindow
ObjBrowser
OBJECT
OCCViewer
OpenGLUtils
Plot2d
Prs
PVServerService
PVViewer
PyViewer
QDS
Qtx
QxScene
SALOME_PY
SALOME_PYQT
SALOME_SWIG
SalomeApp
Session
SOCC
SPlot2d
STD
Style
SUIT
SUITApp
SVTK
TOOLSGUI
TreeData
ViewerData
ViewerTools
VTKViewer
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
GLViewer_MimeData.h
Go to the documentation of this file.
1
// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
2
//
3
// This library is free software; you can redistribute it and/or
4
// modify it under the terms of the GNU Lesser General Public
5
// License as published by the Free Software Foundation; either
6
// version 2.1 of the License, or (at your option) any later version.
7
//
8
// This library is distributed in the hope that it will be useful,
9
// but WITHOUT ANY WARRANTY; without even the implied warranty of
10
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
// Lesser General Public License for more details.
12
//
13
// You should have received a copy of the GNU Lesser General Public
14
// License along with this library; if not, write to the Free Software
15
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
//
17
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18
//
19
20
// Author : OPEN CASCADE
21
// File: GLViewer_MimeData.h
22
// Created: November, 2004
23
//
24
#ifndef GLVIEWER_MIMEDATA_H
25
#define GLVIEWER_MIMEDATA_H
26
27
#ifdef WIN32
28
#include <windows.h>
29
#endif
30
31
#include "
GLViewer.h
"
32
33
#include <QMimeData>
34
35
#ifdef WIN32
36
#pragma warning( disable:4251 )
37
#endif
38
39
class
GLViewer_Object
;
40
45
class
GLVIEWER_API
GLViewer_MimeData
:
public
QMimeData
46
{
47
public
:
48
GLViewer_MimeData
():
QMimeData
(){};
49
~
GLViewer_MimeData
();
50
52
bool
setObjects(
QList<GLViewer_Object*>
);
54
/*If you want to use new class, following two method must be redefined*/
55
static
QList<GLViewer_Object*>
getObjects( QByteArray, QString theType);
57
/*If you want to use new class, following two method must be redefined*/
58
static
GLViewer_Object
* getObject( QByteArray, QString theType);
59
60
const
char
* format(
int
theIndex = 0 )
const
;
61
QByteArray encodedData(
const
char
* )
const
;
62
63
private
:
64
QByteArray
myByteArray
;
65
};
66
67
#ifdef WIN32
68
#pragma warning ( default:4251 )
69
#endif
70
71
#endif
src
GLViewer
GLViewer_MimeData.h
Copyright © 2007-2017 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS