This class implements the view of the periodic table showing all elements.
More...
#include <periodictableview.h>
<avogadro/qtgui/periodictableview.h>
- Author
- Marcus D. Hanwell This is the class that actually draws the widget onto screen. This is the class that should normally be instantiated in order to display a Periodic Table.
◆ PeriodicTableView()
◆ element()
- Returns
- The currently selected element.
◆ setElement
void setElement |
( |
int |
element_ | ) |
|
|
slot |
- Parameters
-
element | The currently selected element. |
◆ clearKeyPressBuffer
void clearKeyPressBuffer |
( |
| ) |
|
|
slot |
This slot is called to clear the key buffer (e.g. after a delay in typing).
◆ elementChanged
void elementChanged |
( |
int |
element | ) |
|
|
signal |
◆ mouseDoubleClickEvent()
void mouseDoubleClickEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ keyPressEvent()
void keyPressEvent |
( |
QKeyEvent * |
event_ | ) |
|
|
overrideprotected |
Handles the keyboard events to change the active element.
◆ resizeEvent()
void resizeEvent |
( |
QResizeEvent * |
event | ) |
|
|
overrideprotected |
The documentation for this class was generated from the following file: