00001
00002
00003
00004
00005
00006
00007 #ifndef VIEW_PROFILE_H
00008 #define VIEW_PROFILE_H
00009
00010 #include <QGraphicsView>
00011
00012 class QGraphicsRectItem;
00013
00015 class ViewProfile : public QGraphicsView
00016 {
00017 public:
00019 ViewProfile(QGraphicsScene *scene,
00020 int minimumWidth,
00021 QWidget *parent = 0);
00022
00024 virtual void resizeEvent(QResizeEvent *event);
00025
00026 private:
00027 ViewProfile();
00028
00029 void createFrame();
00030 void refit();
00031
00032 QGraphicsRectItem *m_frame;
00033 };
00034
00035 #endif // VIEW_PROFILE_H