]> Shamusworld >> Repos - architektonas/blobdiff - src/widgets/qg_graphicview.h
Partially fixed thumbnail rendering on Library Browser.
[architektonas] / src / widgets / qg_graphicview.h
index 04d58a1ca0dc0c0e1e61de6b37018838c55045b7..6990d926a363aba2e8b1ec97cdba8ec35a30ec27 100644 (file)
@@ -3,9 +3,6 @@
 
 #include <QtGui>
 #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