1 #ifndef DETAILEDGRAPHICALOVERVIEW_H
2 #define DETAILEDGRAPHICALOVERVIEW_H
3 /***************************************************************************
4 copyright : (C) 2004 by Carsten Niehaus
5 email : cniehaus@kde.org
7 ***************************************************************************/
9 /***************************************************************************
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
16 ***************************************************************************/
24 * @short The widget which displays the most important information
25 * in one widget like a lot people know it from school
26 * @author Carsten Niehaus
28 class DetailedGraphicalOverview
: public QWidget
33 DetailedGraphicalOverview( Element
*el
, QWidget
*parent
, const char *name
=0 );
34 DetailedGraphicalOverview( QWidget
*parent
, const char *name
=0 );
36 void setElement( Element
* el
);
39 * @return the QColor of the block
41 QColor
PSEColor( const QString
&Block
) const;
44 * draw the small symbol which symbolises the
45 * relevence for humans
47 void drawBiologicalSymbol( QPainter
*p
);
49 //calculation of the corners
55 virtual void paintEvent( QPaintEvent
* );
58 #endif // DETAILEDGRAPHICALOVERVIEW_H