• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

kalzium

detailedgraphicaloverview.h

Go to the documentation of this file.
00001 #ifndef DETAILEDGRAPHICALOVERVIEW_H
00002 #define DETAILEDGRAPHICALOVERVIEW_H
00003 /***************************************************************************
00004     copyright            : (C) 2004, 2005, 2006, 2007 by Carsten Niehaus
00005     email                : cniehaus@kde.org
00006 
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
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         //calculation of the corners
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 

kalzium

Skip menu "kalzium"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal