kalzium
detailedgraphicaloverview.h
Go to the documentation of this file.00001 #ifndef DETAILEDGRAPHICALOVERVIEW_H
00002 #define DETAILEDGRAPHICALOVERVIEW_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #include <QWidget>
00019
00020 class Element;
00021
00029 class DetailedGraphicalOverview : public QWidget
00030 {
00031 Q_OBJECT
00032
00033 public:
00039 DetailedGraphicalOverview( QWidget *parent );
00040
00041 public slots:
00045 void setElement( int el );
00046
00050 void setBackgroundColor( const QColor& bgColor );
00051
00052 private:
00056 Element *m_element;
00057
00058
00059 int x1,x2,y1,y2,h_t;
00060
00064 QColor m_backgroundColor;
00065
00066 protected:
00067 virtual void paintEvent( QPaintEvent* );
00068 };
00069
00070 #endif // DETAILEDGRAPHICALOVERVIEW_H
00071