X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fwidgets%2Fqg_graphicview.h;h=2a5c3a8d1848c465ec22fa7d17be423e697295dc;hb=f7188d32d0beaef31fc3475be05daea2f018ebec;hp=af3528c14be074f90dbbcd916cc46a4985d81c08;hpb=27d4a138d23453e93a833e9347444b828a971cb4;p=architektonas diff --git a/src/widgets/qg_graphicview.h b/src/widgets/qg_graphicview.h index af3528c..2a5c3a8 100644 --- a/src/widgets/qg_graphicview.h +++ b/src/widgets/qg_graphicview.h @@ -7,8 +7,9 @@ #include "rs_blocklistlistener.h" #include "qg_scrollbar.h" -class RS_Preview; +class RS_Document; class PaintInterface; +class RS_Preview; /** * This is the Qt implementation of a widget which can view a @@ -25,6 +26,7 @@ class QG_GraphicView: public QWidget, public GraphicView, //public Q3FilePreview public: QG_GraphicView(QWidget * parent = 0, const char * name = 0, Qt::WindowFlags f = 0); + QG_GraphicView(RS_Document * doc, QWidget * parent = 0); virtual ~QG_GraphicView(); virtual int getWidth(); @@ -61,6 +63,9 @@ class QG_GraphicView: public QWidget, public GraphicView, //public Q3FilePreview #warning "!!! File preview needs porting to Qt4 !!!" // void previewUrl(const Q3Url &u); + private: + void CommonInitialization(void); + private slots: void slotHScrolled(int value); void slotVScrolled(int value);