1 #ifndef _PATH_WIDGET_H_
2 #define _PATH_WIDGET_H_
7 #include "qui/PathScene.hpp"
9 class PathWidget : public QWidget
14 PathWidget(QWidget *parent=0);
18 //! update the scrollbar with current viewport information
19 void updateScrollBar();
20 //! update scene with the properly scalled scrollbar offset
21 void setViewportCenter(int x);
24 QScrollBar viewportBar;