3 // Part of the Architektonas Project
4 // Originally part of QCad Community Edition by Andrew Mustun
5 // Extensively rewritten and refactored by James L. Hammons
6 // (C) 2010 Underground Software
8 // JLH = James L. Hammons <jlhamm@acm.org>
11 // --- ---------- -----------------------------------------------------------
12 // JLH 05/17/2010 Added this text. :-)
15 #include "qc_graphicview.h"
17 #include "rs_actiondefault.h"
19 #include "qc_applicationwindow.h"
21 QC_GraphicView::QC_GraphicView(RS_Document * doc, QWidget * parent):
22 QG_GraphicView(parent, "graphicview")
24 RS_DEBUG->print("QC_GraphicView::QC_GraphicView()...");
26 RS_DEBUG->print(" Setting Container...");
31 RS_DEBUG->print(" container set.");
35 setBorders(10, 10, 10, 10);
38 setDefaultAction(new RS_ActionDefault(*doc, *this));
41 QC_GraphicView::~QC_GraphicView()
45 void QC_GraphicView::drawIt()
47 if (!isUpdateEnabled())
50 RS_GraphicView::drawIt();