moved kdeaccessibility kdeaddons kdeadmin kdeartwork kdebindings kdeedu kdegames...
[kdeedu.git] / kalzium / src / detailinfodlg.h
blob5bc802a3ec0463ce7f7f15ee6f694e953e94998b
1 /***************************************************************************
3 detailedinfodlg.h - description
4 -------------------
5 begin : Tue Apr 2 20:43:44 2002 UTC
6 copyright : (C) 2003, 2004 by Carsten Niehaus
7 email : cniehaus@kde.org
8 ***************************************************************************/
10 /***************************************************************************
11 * *
12 * This program is free software; you can redistribute it and/or modify *
13 * it under the terms of the GNU General Public License as published by *
14 * the Free Software Foundation; either version 2 of the License, or *
15 * (at your option) any later version. *
16 * *
17 ***************************************************************************/
19 #ifndef _DETAILINFODLG_H_
20 #define _DETAILINFODLG_H_
22 #include <kdialogbase.h>
23 #include "element.h"
24 #include "detail_chemical.h"
25 #include "detail_energy.h"
26 #include "orbitswidget.h"
28 class QFrame;
29 class DetailedGraphicalOverview;
30 class KalziumDataObject;
32 class QMouseEvent;
36 /**
37 * @short The dialog which shows all availeble information
38 * @author Carsten Niehaus
40 class DetailedInfoDlg : public KDialogBase
42 Q_OBJECT
44 public:
45 DetailedInfoDlg( KalziumDataObject* data, Element *el , QWidget *parent=0, const char *name=0);
47 private:
48 KalziumDataObject *m_data;
49 Element *e;
50 QFrame *m_pEnergyTab,
51 *m_pOverviewTab,
52 *m_pPictureTab,
53 *m_pChemicalTab,
54 *m_pMiscTab,
55 *m_pModelTab;
57 QLabel *piclabel,
58 *discovered_label,
59 *meanweight_label;
61 QVBoxLayout *miscLayout, *mainLayout,
62 *overviewLayout, *energyLayout,
63 *chemicalLayout;
65 DetailedGraphicalOverview *dTab;
67 detail_chemical *wChemical;
68 detail_energy *wEnergy;
69 OrbitsWidget *wOrbits;
71 /**
72 * create the tabs.
74 void createContent( Element *e );
76 protected:
77 virtual void wheelEvent ( QWheelEvent * ev );
79 #endif