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=b509421ec406b24d31300d342995b24084f61183;hpb=16ce54abf01ca3032e42a5bb11a4afcf9014dcca;p=architektonas diff --git a/src/widgets/qg_graphicview.h b/src/widgets/qg_graphicview.h index b509421..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);