X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fwidgets%2Fqg_graphicview.h;h=6990d926a363aba2e8b1ec97cdba8ec35a30ec27;hb=af32602b9d8075080d5805143f1cd47fc10672e1;hp=04d58a1ca0dc0c0e1e61de6b37018838c55045b7;hpb=c40d19f69539b4afaa2c15e7b314eb7b8c88e943;p=architektonas diff --git a/src/widgets/qg_graphicview.h b/src/widgets/qg_graphicview.h index 04d58a1..6990d92 100644 --- a/src/widgets/qg_graphicview.h +++ b/src/widgets/qg_graphicview.h @@ -3,9 +3,6 @@ #include #include "graphicview.h" -#include "rs_layerlistlistener.h" -#include "rs_blocklistlistener.h" -#include "qg_scrollbar.h" class RS_Document; class PaintInterface; @@ -18,8 +15,7 @@ class RS_Preview; * Instances of this class can be linked to layer lists using * addLayerListListener(). */ -class QG_GraphicView: public QWidget, public GraphicView//, //public Q3FilePreview, -// public RS_LayerListListener, public RS_BlockListListener +class QG_GraphicView: public QWidget, public GraphicView//, public Q3FilePreview { Q_OBJECT @@ -71,20 +67,19 @@ class QG_GraphicView: public QWidget, public GraphicView//, //public Q3FilePrevi void slotHScrolled(int value); void slotVScrolled(int value); - private: -#warning "!!! Double buffering is not necessary anymore !!!" - //! Buffer for double-buffering - QPixmap * buffer; +// private: +//#warning "!!! Double buffering is not necessary anymore !!!" +// //! Buffer for double-buffering +// QPixmap * buffer; // int refCount; +#if 0 protected: int lastWidth; int lastHeight; //! Horizontal scrollbar. -// QG_ScrollBar * hScrollBar; QScrollBar * hScrollBar; //! Vertical scrollbar. -// QG_ScrollBar * vScrollBar; QScrollBar * vScrollBar; //! Layout used to fit in the view and the scrollbars. QGridLayout * layout; @@ -100,6 +95,7 @@ class QG_GraphicView: public QWidget, public GraphicView//, //public Q3FilePrevi QCursor * curMagnifier; //! Hand mouse cursor QCursor * curHand; +#endif }; #endif