| 1 |
#ifndef EXPORTCCDLG_H |
| 2 |
#define EXPORTCCDLG_H |
| 3 |
|
| 4 |
#include <QObject> |
| 5 |
#include <QWidget> |
| 6 |
#include <QtGui> |
| 7 |
#include <QDialog> |
| 8 |
#include <QGridLayout> |
| 9 |
#include <QLineEdit> |
| 10 |
#include <QPlainTextEdit> |
| 11 |
#include <QComboBox> |
| 12 |
#include <QSpinBox> |
| 13 |
#include <QCheckBox> |
| 14 |
#include <QDialogButtonBox> |
| 15 |
#include "molecule.h" |
| 16 |
|
| 17 |
#if defined Q_WS_WIN || defined Q_OS_WIN |
| 18 |
#define FONTFAM "Lucida Console" |
| 19 |
#elif defined Q_WS_MAC || defined Q_OS_MAC |
| 20 |
#define FONTFAM "Monaco" |
| 21 |
#else |
| 22 |
#define FONTFAM "Droid Sans Mono" |
| 23 |
#endif |
| 24 |
class ExportCCDlg : public QDialog{ |
| 25 |
Q_OBJECT |
| 26 |
public: |
| 27 |
ExportCCDlg(QString _dirName,Molecule *_mole,QString fn); |
| 28 |
public slots: |
| 29 |
void makeHeader(); |
| 30 |
protected slots: |
| 31 |
void accept () ; |
| 32 |
private: |
| 33 |
QFile f; |
| 34 |
QString dirName; |
| 35 |
Molecule *mole; |
| 36 |
QGridLayout *glt; |
| 37 |
QLineEdit *titlE; |
| 38 |
QPlainTextEdit *pe; |
| 39 |
QComboBox *calcbox; |
| 40 |
QSpinBox *nproc; |
| 41 |
QSpinBox *mem; |
| 42 |
QSpinBox *charge; |
| 43 |
QSpinBox *multipl; |
| 44 |
QComboBox *membx; |
| 45 |
QComboBox *theorbox; |
| 46 |
QComboBox *basisbox; |
| 47 |
QComboBox *outputLevel; |
| 48 |
QCheckBox *sve; |
| 49 |
QCheckBox *chk; |
| 50 |
QCheckBox *spec; |
| 51 |
QDialogButtonBox *bb; |
| 52 |
QString headerQM, bodyQM, footerQM, filenameQM; |
| 53 |
}; |
| 54 |
|
| 55 |
#endif |