X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fwidgets%2Fqg_graphicview.h;h=af3528c14be074f90dbbcd916cc46a4985d81c08;hb=be33e866f2121c48db93e06d743c5ae3826c1948;hp=09a4333fbcd3f3a0b510171b616e4d9c3f91d580;hpb=47beade308343557117edbae58009bf0e02833ef;p=architektonas diff --git a/src/widgets/qg_graphicview.h b/src/widgets/qg_graphicview.h index 09a4333..af3528c 100644 --- a/src/widgets/qg_graphicview.h +++ b/src/widgets/qg_graphicview.h @@ -2,7 +2,7 @@ #define QG_GRAPHICVIEW_H #include -#include "rs_graphicview.h" +#include "graphicview.h" #include "rs_layerlistlistener.h" #include "rs_blocklistlistener.h" #include "qg_scrollbar.h" @@ -17,7 +17,8 @@ class PaintInterface; * Instances of this class can be linked to layer lists using * addLayerListListener(). */ -class QG_GraphicView: public QWidget, public RS_GraphicView, //public Q3FilePreview, +//class QG_GraphicView: public QWidget, public RS_GraphicView, //public Q3FilePreview, +class QG_GraphicView: public QWidget, public GraphicView, //public Q3FilePreview, public RS_LayerListListener, public RS_BlockListListener { Q_OBJECT @@ -31,12 +32,6 @@ class QG_GraphicView: public QWidget, public RS_GraphicView, //public Q3FilePrev virtual void redraw(); virtual void adjustOffsetControls(); virtual void adjustZoomControls(); -// virtual RS_Painter * createPainter(); -// virtual RS_Painter * createDirectPainter(); -#warning "!!! Need to scrub out all instances of createPainter and createDirectPainter !!!" -// virtual PaintInterface * createPainter(); -// virtual PaintInterface * createDirectPainter(); -// virtual void destroyPainter(); virtual void setBackground(const RS_Color & bg); virtual void setMouseCursor(RS2::CursorType c); virtual void updateGridStatusWidget(const QString & text);