#include <DrawingView.h>
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) |
Definition at line 77 of file DrawingView.h.
| DrawingView::DrawingView | ( | QWidget * | parent = 0 |
) |
Definition at line 203 of file DrawingView.cpp.
References draftlibs::fcgeo::connect(), and setRenderer().
| void DrawingView::contextMenuEvent | ( | QContextMenuEvent * | event | ) | [protected] |
Definition at line 275 of file DrawingView.cpp.
| void DrawingView::load | ( | const QString & | path = QString() |
) | [slot] |
Definition at line 250 of file DrawingView.cpp.
References DrawingExample::file, and DrawingGui::SvgView::openFile().
Referenced by importer(), open(), and DrawingGui::ViewProviderDrawingPage::updateData().
| 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] |
Reimplemented from Gui::MDIView.
Definition at line 330 of file DrawingView.cpp.
References Gui::FileOptionsDialog::ExtensionRight, draftlibs::dxfReader::filename, print(), and Gui::FileOptionsDialog::setOptionsWidget().
| 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] |
Definition at line 289 of file DrawingView.cpp.
References DrawingGui::SvgView::Image, DrawingGui::SvgView::Native, DrawingGui::SvgView::OpenGL, and DrawingGui::SvgView::setRenderer().
Referenced by DrawingView().
| void DrawingView::viewAll | ( | ) | [virtual, slot] |
Reimplemented from Gui::MDIView.
Definition at line 432 of file DrawingView.cpp.
Referenced by onMsg(), and DrawingGui::ViewProviderDrawingPage::updateData().
1.6.1