QoccApplication Class Reference

#include <qoccapplication.h>

List of all members.

Public Member Functions

 QoccApplication (int &argc, char **argv, int=QT_VERSION)
 ~QoccApplication ()
void splashScreen (const QPixmap &pixmap=QPixmap())
void splashMessage (const QString &message, int alignment=Qt::AlignLeft, const QColor &color=Qt::black)
void splashFinish (QWidget *w, long millisecs)
void msleep (unsigned long millisecs)
QoccDocumentcreateDocument ()
GEOMImpl_Gen * getEngine ()
void Undo (QoccDocument *aDoc)
void Redo (QoccDocument *aDoc)
bool SaveDocument (QoccDocument *aDoc)
bool SaveDocumentAs (QoccDocument *aDoc, char *theFormat, char *theFileName)
QoccDocumentLoadDocument (char *theFileName)
bool ResetDocument (QoccDocument *aDoc)
GEOMImpl_IBasicOperations * basicOps (int id)
GEOMImpl_ITransformOperations * transformOps (int id)
GEOMImpl_I3DPrimOperations * primitiveOps (int id)
GEOMImpl_IShapesOperations * shapesOps (int id)
GEOMImpl_IBlocksOperations * blocksOps (int id)
GEOMImpl_IMeasureOperations * measureOps (int id)
GEOMImpl_IBooleanOperations * booleanOps (int id)
GEOMImpl_ICurvesOperations * curvesOps (int id)
GEOMImpl_ILocalOperations * localOps (int id)
GEOMImpl_IInsertOperations * insertOps (int id)
GEOMImpl_IHealingOperations * healingOps (int id)
GEOMImpl_IGroupOperations * groupOps (int id)

Private Attributes

QSplashScreen * mySplash
GEOMImpl_Gen * myEngine
int myNextID


Detailed Description

Definition at line 36 of file qoccapplication.h.


Constructor & Destructor Documentation

QoccApplication::QoccApplication ( int &  argc,
char **  argv,
int  = QT_VERSION 
)

Definition at line 43 of file qoccapplication.cpp.

References myEngine.

QoccApplication::~QoccApplication (  ) 

Definition at line 60 of file qoccapplication.cpp.

References myEngine, and mySplash.


Member Function Documentation

GEOMImpl_IBasicOperations* QoccApplication::basicOps ( int  id  )  [inline]

Definition at line 67 of file qoccapplication.h.

GEOMImpl_IBlocksOperations* QoccApplication::blocksOps ( int  id  )  [inline]

Definition at line 71 of file qoccapplication.h.

GEOMImpl_IBooleanOperations* QoccApplication::booleanOps ( int  id  )  [inline]

Definition at line 73 of file qoccapplication.h.

QoccDocument * QoccApplication::createDocument (  ) 

Definition at line 66 of file qoccapplication.cpp.

References myEngine, and myNextID.

GEOMImpl_ICurvesOperations* QoccApplication::curvesOps ( int  id  )  [inline]

Definition at line 74 of file qoccapplication.h.

GEOMImpl_Gen* QoccApplication::getEngine (  )  [inline]

Definition at line 54 of file qoccapplication.h.

GEOMImpl_IGroupOperations* QoccApplication::groupOps ( int  id  )  [inline]

Definition at line 78 of file qoccapplication.h.

GEOMImpl_IHealingOperations* QoccApplication::healingOps ( int  id  )  [inline]

Definition at line 77 of file qoccapplication.h.

GEOMImpl_IInsertOperations* QoccApplication::insertOps ( int  id  )  [inline]

Definition at line 76 of file qoccapplication.h.

QoccDocument * QoccApplication::LoadDocument ( char *  theFileName  ) 

Definition at line 171 of file qoccapplication.cpp.

References myEngine, myNextID, and QoccDocument::UpdatePresentations().

Here is the call graph for this function:

GEOMImpl_ILocalOperations* QoccApplication::localOps ( int  id  )  [inline]

Definition at line 75 of file qoccapplication.h.

GEOMImpl_IMeasureOperations* QoccApplication::measureOps ( int  id  )  [inline]

Definition at line 72 of file qoccapplication.h.

void QoccApplication::msleep ( unsigned long  millisecs  ) 

Definition at line 115 of file qoccapplication.cpp.

Referenced by splashFinish().

Here is the caller graph for this function:

GEOMImpl_I3DPrimOperations* QoccApplication::primitiveOps ( int  id  )  [inline]

Definition at line 69 of file qoccapplication.h.

void QoccApplication::Redo ( QoccDocument aDoc  ) 

Definition at line 129 of file qoccapplication.cpp.

References QoccDocument::id(), and myEngine.

Here is the call graph for this function:

bool QoccApplication::ResetDocument ( QoccDocument aDoc  ) 

Definition at line 192 of file qoccapplication.cpp.

References QoccDocument::id(), myEngine, myNextID, and QoccDocument::SetDocumentAndID().

Here is the call graph for this function:

bool QoccApplication::SaveDocument ( QoccDocument aDoc  ) 

Definition at line 134 of file qoccapplication.cpp.

References myEngine.

bool QoccApplication::SaveDocumentAs ( QoccDocument aDoc,
char *  theFormat,
char *  theFileName 
)

Definition at line 147 of file qoccapplication.cpp.

References QoccDocument::id(), and myEngine.

Here is the call graph for this function:

GEOMImpl_IShapesOperations* QoccApplication::shapesOps ( int  id  )  [inline]

Definition at line 70 of file qoccapplication.h.

void QoccApplication::splashFinish ( QWidget *  w,
long  millisecs 
)

Definition at line 104 of file qoccapplication.cpp.

References msleep(), and mySplash.

Here is the call graph for this function:

void QoccApplication::splashMessage ( const QString &  message,
int  alignment = Qt::AlignLeft,
const QColor &  color = Qt::black 
)

Definition at line 96 of file qoccapplication.cpp.

References mySplash.

Referenced by splashScreen().

Here is the caller graph for this function:

void QoccApplication::splashScreen ( const QPixmap &  pixmap = QPixmap()  ) 

Definition at line 81 of file qoccapplication.cpp.

References mySplash, and splashMessage().

Here is the call graph for this function:

GEOMImpl_ITransformOperations* QoccApplication::transformOps ( int  id  )  [inline]

Definition at line 68 of file qoccapplication.h.

void QoccApplication::Undo ( QoccDocument aDoc  ) 

Definition at line 124 of file qoccapplication.cpp.

References QoccDocument::id(), and myEngine.

Here is the call graph for this function:


Member Data Documentation

GEOMImpl_Gen* QoccApplication::myEngine [private]

Definition at line 83 of file qoccapplication.h.

Referenced by createDocument(), LoadDocument(), QoccApplication(), Redo(), ResetDocument(), SaveDocument(), SaveDocumentAs(), Undo(), and ~QoccApplication().

int QoccApplication::myNextID [private]

Definition at line 84 of file qoccapplication.h.

Referenced by createDocument(), LoadDocument(), and ResetDocument().

QSplashScreen* QoccApplication::mySplash [private]

Definition at line 82 of file qoccapplication.h.

Referenced by splashFinish(), splashMessage(), splashScreen(), and ~QoccApplication().


The documentation for this class was generated from the following files:
Generated on Sat Feb 23 21:22:26 2008 for QtGEOM by  doxygen 1.4.7