scrollview.h
00001
00002 #ifndef SCROLLVIEW_H
00003 #define SCROLLVIEW_H
00004
00005 #include <qscrollview.h>
00006
00007 #include "kformuladefs.h"
00008
00009 class KFormulaWidget;
00010
00011 using namespace KFormula;
00012
00013
00014 class ScrollView : public QScrollView {
00015 Q_OBJECT
00016 public:
00017 ScrollView();
00018
00019 virtual void addChild(KFormulaWidget* c, int x=0, int y=0);
00020
00021 protected:
00022 virtual void focusInEvent(QFocusEvent* event);
00023
00024 protected slots:
00025
00026 void cursorChanged(bool visible, bool selecting);
00027
00028 private:
00029 KFormulaWidget* child;
00030 };
00031
00032 #endif // SCROLLVIEW_H
This file is part of the documentation for lib Library Version 1.3.5.