DrawingGui::DrawingView Class Reference

#include <DrawingView.h>

Inheritance diagram for DrawingGui::DrawingView:
Gui::MDIView Gui::BaseView Base::BaseClass

List of all members.

Public Slots

void load (const QString &path=QString())
void setRenderer (QAction *action)
void viewAll ()

Public Member Functions

 DrawingView (QWidget *parent=0)
bool onHasMsg (const char *pMsg) const
 Message handler test.
bool onMsg (const char *pMsg, const char **ppReturn)
 Message handler.
void print ()
 print function of the view
void printPdf ()
void printPreview ()

Protected Slots

void print (QPrinter *printer)

Protected Member Functions

void contextMenuEvent (QContextMenuEvent *event)

Detailed Description

Definition at line 77 of file DrawingView.h.


Constructor & Destructor Documentation

DrawingView::DrawingView ( QWidget *  parent = 0  ) 

Definition at line 203 of file DrawingView.cpp.

References draftlibs::fcgeo::connect(), and setRenderer().


Member Function Documentation

void DrawingView::contextMenuEvent ( QContextMenuEvent *  event  )  [protected]

Definition at line 275 of file DrawingView.cpp.

void DrawingView::load ( const QString &  path = QString()  )  [slot]
bool DrawingView::onHasMsg ( const char *  pMsg  )  const [virtual]

Message handler test.

Reimplemented from Gui::MDIView.

Definition at line 317 of file DrawingView.cpp.

bool DrawingView::onMsg ( const char *  pMsg,
const char **  ppReturn 
) [virtual]

Message handler.

receive a message

Reimplemented from Gui::MDIView.

Definition at line 308 of file DrawingView.cpp.

References viewAll().

void DrawingView::print ( QPrinter *  printer  )  [protected, slot]

Definition at line 407 of file DrawingView.cpp.

References draftTools::p.

void DrawingView::print (  )  [virtual]

print function of the view

Reimplemented from Gui::MDIView.

Definition at line 384 of file DrawingView.cpp.

Referenced by printPdf(), and printPreview().

void DrawingView::printPdf (  )  [virtual]
void DrawingView::printPreview (  )  [virtual]

Reimplemented from Gui::MDIView.

Definition at line 395 of file DrawingView.cpp.

References draftlibs::fcgeo::connect(), and print().

void DrawingView::setRenderer ( QAction *  action  )  [slot]
void DrawingView::viewAll (  )  [virtual, slot]

Reimplemented from Gui::MDIView.

Definition at line 432 of file DrawingView.cpp.

Referenced by onMsg(), and DrawingGui::ViewProviderDrawingPage::updateData().


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

Generated on Wed Nov 23 19:01:56 2011 for FreeCAD by  doxygen 1.6.1