Molecule Visualizer
 All Classes Namespaces Files Functions Enumerations Enumerator Macros Groups Pages
Public Slots | Public Member Functions | Protected Member Functions | List of all members
MainWindow Class Reference

Inherits QMainWindow.

Public Slots

void selectedFile ()
 A member function to get the selected file from the tree view and forward it to the OpenGl context. More...
 
void setAmbientFactor (double ambientFactor)
 
void setDiffuseFactor (double diffuseFactor)
 
void setSpecularFactor (double specularFactor)
 
void setNearPlane (double nearPlane)
 
void setFarPlane (double farPlane)
 
void setAmbientOcclusion (int value)
 
void setAmbientOcclusionQuality (int value)
 
void setContourProps (int value)
 
void setShadowsEnabled (int value)
 
void setDepthFactor (double value)
 
void setContourWidth (double value)
 
void zoomIn ()
 
void zoomOut ()
 
void zoomFit ()
 
void setAmbientIntensity (double value)
 

Public Member Functions

 MainWindow (QWidget *parent=0)
 Constructor. More...
 
 ~MainWindow ()
 Destructor.
 

Protected Member Functions

virtual void keyPressEvent (QKeyEvent *event)
 A virtual member function to handle key press events. The event is forwarded to the intended receiver. More...
 

Constructor & Destructor Documentation

MainWindow::MainWindow ( QWidget *  parent = 0)
explicit

Constructor.

Parameters
apointer to the parent widget.

Member Function Documentation

void MainWindow::keyPressEvent ( QKeyEvent *  event)
protectedvirtual

A virtual member function to handle key press events. The event is forwarded to the intended receiver.

Parameters
eventa pointer to a QKeyEvent.
Returns
void.
void MainWindow::selectedFile ( )
slot

A member function to get the selected file from the tree view and forward it to the OpenGl context.

Returns
void.

The documentation for this class was generated from the following files: