Test change - can I push OK?
[kdeedu-porting.git] / kalzium / src / orbitswidget.h
blob1810a5292fddbc069aae113cc8f23950b9487207
1 #ifndef ORBITSWIDGET_H
2 #define ORBITSWIDGET_H
3 /***************************************************************************
5 orbitswidget.h - description
6 -------------------
7 begin : June 2003
8 copyright : (C) 2003, 2004, 2005, 2006, 2007 by Carsten Niehaus
9 email : cniehaus@kde.org
10 ***************************************************************************/
12 /***************************************************************************
13 * *
14 * This program is free software; you can redistribute it and/or modify *
15 * it under the terms of the GNU General Public License as published by *
16 * the Free Software Foundation; either version 2 of the License, or *
17 * (at your option) any later version. *
18 * *
19 ***************************************************************************/
21 #include <QWidget>
23 /**
24 * @brief the widget which displays the Bohr-orbit of the element
25 * @author Carsten Niehaus
27 class OrbitsWidget : public QWidget
29 Q_OBJECT
31 public:
32 OrbitsWidget( QWidget *parent = 0 );
34 void setElementNumber( int num );
36 private:
37 /**
38 * the elementnumber we are looking at
40 int Elemno;
42 QList<int> numOfElectrons;
44 protected slots:
45 virtual void paintEvent( QPaintEvent* );
48 #endif // ORBITSWIDGET_H