mirror of
https://github.com/arcan1s/moldyn.git
synced 2025-07-14 22:35:51 +00:00
Added atomtypewindow
This commit is contained in:
40
mathmech/atomtypeswindow.h
Normal file
40
mathmech/atomtypeswindow.h
Normal file
@ -0,0 +1,40 @@
|
||||
#ifndef ATOMTYPESWINDOW_H
|
||||
#define ATOMTYPESWINDOW_H
|
||||
|
||||
#include <QMainWindow>
|
||||
|
||||
class ErrorWindow;
|
||||
|
||||
namespace Ui {
|
||||
class AtomTypesWindow;
|
||||
}
|
||||
|
||||
class AtomTypesWindow : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit AtomTypesWindow(QWidget *parent = 0);
|
||||
~AtomTypesWindow();
|
||||
|
||||
private slots:
|
||||
// events
|
||||
void on_atomTypes_pushButton_output_clicked();
|
||||
void on_atomTypes_pushButton_add_clicked();
|
||||
void on_atomTypes_pushButton_typeRem_clicked();
|
||||
void on_atomTypes_pushButton_clear_clicked();
|
||||
void on_atomTypes_spinBox_numOfMol_editingFinished();
|
||||
void on_atomTypes_comboBox_mol_currentIndexChanged(int index);
|
||||
void on_atomTypes_pushButton_create_clicked();
|
||||
|
||||
private:
|
||||
Ui::AtomTypesWindow *ui;
|
||||
ErrorWindow *errorwin;
|
||||
int *num_of_mol;
|
||||
QStringList atomTypes;
|
||||
|
||||
// ESC pressed event
|
||||
void keyPressEvent(QKeyEvent *pressedKey);
|
||||
};
|
||||
|
||||
#endif /* ATOMTYPESWINDOW_H */
|
Reference in New Issue
Block a user