#include <newatombase.h>
This can be done either by specifying the required cartesian coordinates or by entering internal coordinates using other atoms as references.
Definition at line 33 of file newatombase.h.
Public Slots | |
void | updateAtomLimits () |
Updates all widgets that are based on the AtomSet. | |
Signals | |
void | atomAdded () |
Public Member Functions | |
NewAtomBase (AtomSet *atomset, QWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0) | |
~NewAtomBase () | |
The default destructor. | |
Protected Member Functions | |
void | showEvent (QShowEvent *e) |
Updates everything when showing the dialog. Overridden from NewAtomWidget. | |
Private Slots | |
void | addAtom () |
Adds an atom based on the status of the widgets. | |
void | updateICAtoms () |
Updates the labels for the internal coordinate specifications depending on the values in the spinboxes holding the reference atoms and the type of the new atom. | |
void | updateSelectedAtom (int number) |
Updates the symbol and atomic number of the selected atom type. | |
void | checkAdd () |
Checks the status of the widgets to verify whether an atom can be added or not and subsequently enables/disables the addAtom button. | |
Private Attributes | |
AtomSet * | atoms |
A pointer to the active AtomSet. |
|
Definition at line 53 of file newatombase.cpp. |
|
The default destructor.
Definition at line 73 of file newatombase.cpp. |
|
|
|
Updates all widgets that are based on the AtomSet. This slot should be called whenever the AtomSet changes. Definition at line 83 of file newatombase.cpp. |
|
Updates everything when showing the dialog. Overridden from NewAtomWidget.
Definition at line 143 of file newatombase.cpp. |
|
Adds an atom based on the status of the widgets.
Definition at line 155 of file newatombase.cpp. |
|
Updates the labels for the internal coordinate specifications depending on the values in the spinboxes holding the reference atoms and the type of the new atom.
Definition at line 221 of file newatombase.cpp. |
|
Updates the symbol and atomic number of the selected atom type. The atomic number of this atom is passed as an argument. Definition at line 248 of file newatombase.cpp. |
|
Checks the status of the widgets to verify whether an atom can be added or not and subsequently enables/disables the addAtom button.
Definition at line 257 of file newatombase.cpp. |
|
A pointer to the active AtomSet.
Definition at line 59 of file newatombase.h. |