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 QC_GraphicView::QC_GraphicView(RS_Document * doc, QWidget * parent):
20 QG_GraphicView(parent, "graphicview")
22 RS_DEBUG->print("QC_GraphicView::QC_GraphicView()...");
24 RS_DEBUG->print(" Setting Container...");
29 RS_DEBUG->print(" container set.");
33 setBorders(10, 10, 10, 10);
36 setDefaultAction(new RS_ActionDefault(*doc, *this));
39 QC_GraphicView::~QC_GraphicView()
43 void QC_GraphicView::drawIt()
45 if (!isUpdateEnabled())
48 GraphicView::drawIt();