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

kalzium

kalzium.h

Go to the documentation of this file.
00001 /***************************************************************************
00002 copyright            : (C) 2003, 2004, 2005, 2006, 2007 by Carsten Niehaus
00003 email                : cniehaus@kde.org
00004  ***************************************************************************/
00005 /***************************************************************************
00006  *                                                                         *
00007  *   This program is free software; you can redistribute it and/or modify  *
00008  *   it under the terms of the GNU General Public License as published by  *
00009  *   the Free Software Foundation; either version 2 of the License, or     *
00010  *   (at your option) any later version.                                   *
00011  *                                                                         *
00012  ***************************************************************************/
00013 #ifndef KALZIUM_H
00014 #define KALZIUM_H
00015 
00016 #include <kxmlguiwindow.h>
00017 
00018 class KAction;
00019 class KSelectAction;
00020 class QToolBox;
00021 class QTabWidget;
00022 class QVBoxLayout;
00023 class QDockWidget;
00024 class DetailedInfoDlg;
00025 class PeriodicTableView;
00026 class MolcalcWidget;
00027 class DetailedGraphicalOverview;
00028 class SOMWidgetIMPL;
00029 class TimeWidgetImpl;
00030 class GlossaryDialog;
00031 class IsotopeTable;
00032 class SearchWidget;
00033 class QKeyEvent;
00034 class LegendWidget;
00035 class TableInfoWidget;
00036 
00037 #include "kalziumpainter.h"
00038 
00047 class Kalzium : public KXmlGuiWindow
00048 {
00049     Q_OBJECT
00050     public:
00054         Kalzium();
00055 
00059         virtual ~Kalzium();
00060 
00061     private:
00062         DetailedInfoDlg   *m_infoDialog;
00063 
00064         LegendWidget *m_legendWidget;
00065         TableInfoWidget *m_TableInfoWidget;
00066 
00070         PeriodicTableView *m_PeriodicTableView;
00071 
00075         void setupActions();
00076 
00080         void setupSidebars();
00081 
00082         //TODO KDE 4.1
00083 //        void extractIconicInformationAboutElement( int elementNumber );
00084 
00088         KSelectAction *look_action;
00089         KSelectAction *look_action_schemes;
00090 
00091         KSelectAction *table_action;
00092         KSelectAction *table_action_schemes;
00093         KSelectAction *numeration_action;
00094         // settings
00095         QAction *m_pLegendAction;
00096         QAction *m_SidebarAction;
00097         // tools
00098         QAction *m_pPlotAction;
00099         QAction *m_pIsotopeTableAction;
00100         QAction *m_pGlossaryAction;
00101         QAction *m_pRSAction;
00102         QAction *m_pTables;
00103         QAction *m_pMoleculesviewer;
00104         QAction *m_pOBConverterAction;
00105         QAction *m_EQSolverAction;
00106 
00107         QAction *m_legendAction;
00108 
00112         QVBoxLayout *m_pCentralLayout;
00113 
00114         MolcalcWidget *m_calcWidget;
00115 
00116         SOMWidgetIMPL *m_somWidget;
00117         TimeWidgetImpl *m_timeWidget;
00118 
00119         DetailedGraphicalOverview *m_detailWidget;
00120 
00121         QDockWidget *m_dockWin;
00122         QDockWidget *m_InfoDock;
00123         QToolBox *m_toolbox;
00124 
00125         QTabWidget *m_infoTabWidget;
00126         int m_toolboxCurrent;
00127 
00128         GlossaryDialog *m_glossarydlg;
00129 
00130         SearchWidget *m_searchWidget;
00131 
00132         KalziumPainter::MODE m_prevNormalMode;
00133 
00134         public slots:
00135             void slotSearchElements();
00136 
00137         private slots:
00141             void openInformationDialog( int number );
00142 
00143         void elementHover( int num );
00144         void setupStatusBar();
00145 
00146         void slotShowEQSolver();
00147 
00151         void slotSwitchtoTable( int index );
00152 
00156         void slotGlossary();
00157 
00161         void slotRS();
00162 
00163         void slotMoleculeviewer();
00164 
00165         void slotOBConverter();
00166 
00167         void slotTables();
00168 
00169         void slotSwitchtoLook( int );
00170         void slotSwitchtoNumeration(int);
00171 
00175         void slotIsotopeTable();
00176 
00177         void slotPlotData();
00178 
00179         void slotExportTable();
00180 
00181         void slotUpdateSettings();
00182 
00186         void showSettingsDialog();
00187 
00188         void slotToolboxCurrentChanged(int);
00189 
00190         void slotShowHideSidebar( bool checked, bool changeconfig = true );
00191         void slotShowLegend( bool checked, bool changeconfig = true );
00192 
00193 
00194     protected:
00195         virtual void keyPressEvent( QKeyEvent * e);
00196 };
00197 
00198 #endif // _KALZIUM_H_

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