statusbarUI.h

Go to the documentation of this file.
00001 // vim:set ts=4 sw=4 noet cin:
00002 
00003 #ifndef STATUSBARUI_H
00004 #define STATUSBARUI_H
00005 
00006 #include <QApplication>
00007 //#include <QColorDialog>
00008 
00009 #include <Data.h>
00010 
00011 #include <ArrowRenderer.h>
00012 #include "ui_statusbarUI.h"
00013 
00014 class FlowVisMainUI;
00015 
00016 class StatusbarUI : public QMainWindow {
00017         Q_OBJECT
00018     public:
00019         StatusbarUI(ARender* aRenderer, QWidget* parent = 0);
00020 //              ~StatusbarUI(){ if (mParent) mParent->statusbarDeleted();}
00021                 void update(int x, int y);
00022                 
00023         public slots:   
00024                 virtual bool close(){return false;}
00025     private:
00026                 ARender* mRenderer;
00027                 Vector<float> mMinPos;
00028                 Vector<float> mMaxPos;
00029                 
00030                 float mDiffX;
00031                 float mDiffY;
00032 
00033         std::auto_ptr<QPixmap> mPixmap;
00034 
00035                 QWidget* mParent;
00036         Ui::statusbarUI ui;
00037     };
00038 
00039 
00040 
00041 #endif

Generated on Mon Jan 23 19:44:28 2006 for Visualization by  doxygen 1.4.6