Test change - can I push OK?
[kdeedu-porting.git] / kalzium / src / tools / moleculeview.h
blobffe63dc94f387da16805bcf274c93906229c4ae4
1 /***************************************************************************
2 copyright : (C) 2006 by Carsten Niehaus
3 email : cniehaus@kde.org
4 ***************************************************************************/
6 /***************************************************************************
7 * *
8 * This program is free software; you can redistribute it and/or modify *
9 * it under the terms of the GNU General Public License as published by *
10 * the Free Software Foundation; either version 2 of the License, or *
11 * (at your option) any later version. *
12 * *
13 ***************************************************************************/
14 #ifndef MOLECULEVIEW_H
15 #define MOLECULEVIEW_H
17 #include <kdialog.h>
19 #include "ui_moleculeviewerwidget.h"
21 #include <openbabel/mol.h>
22 #include <openbabel/obiter.h>
24 /**
25 * @author Carsten Niehaus
27 class MoleculeDialog : public KDialog
29 Q_OBJECT
31 public:
32 MoleculeDialog( QWidget * parent );
33 ~MoleculeDialog();
35 private:
36 QString m_path;///to store the path were the molecules are located
37 KDialog *m_helpWindow;
39 Ui::moleculeViewerForm ui;
41 /**
42 * Update the statistical information about the current molecule
44 void updateStatistics();
46 private slots:
47 /**
48 * Load a molecule
50 void slotLoadMolecule();
52 /**
53 * Get a new molecule using hot new stuff
55 void slotDownloadNewStuff();
57 void slotHelp();
60 #endif // MOLECULEVIEW_H