Gui::Flag Class Reference

#include <Flag.h>

List of all members.

Public Member Functions

void drawLine (int tox, int toy)
 Flag (QWidget *parent=0)
const SbVec3f & getOrigin () const
void setOrigin (const SbVec3f &)
void setText (const QString &)
QSize sizeHint () const
 ~Flag ()

Protected Member Functions

void contextMenuEvent (QContextMenuEvent *)
void initializeGL ()
void mouseMoveEvent (QMouseEvent *)
void mousePressEvent (QMouseEvent *)
void paintEvent (QPaintEvent *)
void paintGL ()
void resizeEvent (QResizeEvent *)
void resizeGL (int width, int height)

Detailed Description

Author:
Werner Mayer

Definition at line 39 of file Flag.h.


Constructor & Destructor Documentation

Flag::Flag ( QWidget *  parent = 0  ) 

Definition at line 138 of file Flag.cpp.

Flag::~Flag (  ) 

Definition at line 181 of file Flag.cpp.


Member Function Documentation

void Flag::contextMenuEvent ( QContextMenuEvent *  e  )  [protected]

Definition at line 312 of file Flag.cpp.

References Draft::select().

void Flag::drawLine ( int  tox,
int  toy 
)

Definition at line 195 of file Flag.cpp.

References SketcherExample::f, and RobotExample::pos.

Referenced by Gui::View3DInventorViewer::actualRedraw().

const SbVec3f & Flag::getOrigin (  )  const

Definition at line 190 of file Flag.cpp.

Referenced by Gui::View3DInventorViewer::actualRedraw().

void Flag::initializeGL (  )  [protected]

Definition at line 144 of file Flag.cpp.

void Flag::mouseMoveEvent ( QMouseEvent *  e  )  [protected]

Definition at line 296 of file Flag.cpp.

References Draft::move().

void Flag::mousePressEvent ( QMouseEvent *  e  )  [protected]

Definition at line 304 of file Flag.cpp.

void Flag::paintEvent ( QPaintEvent *  e  )  [protected]

Definition at line 272 of file Flag.cpp.

References draftTools::p.

void Flag::paintGL (  )  [protected]

Definition at line 150 of file Flag.cpp.

void Flag::resizeEvent ( QResizeEvent *  e  )  [protected]

Definition at line 258 of file Flag.cpp.

void Flag::resizeGL ( int  width,
int  height 
) [protected]

Definition at line 158 of file Flag.cpp.

void Flag::setOrigin ( const SbVec3f &  v  ) 
void Flag::setText ( const QString &  t  ) 
QSize Flag::sizeHint (  )  const

Definition at line 331 of file Flag.cpp.


The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:00 2011 for FreeCAD by  doxygen 1.6.1