Langmuir
Simulation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
LangmuirView::MainWindow Class Reference

A window with an OpenGL widget. More...

#include <mainwindow.h>

Public Slots

void on_actionScreenshot_triggered ()
 take a screen shot More...
 
void on_actionOpen_triggered ()
 open an input file More...
 
void on_actionSave_triggered ()
 save checkpoint file More...
 
void on_actionResetSettings_triggered ()
 reset settings (looks for config.ini) More...
 
void on_actionLoadSettings_triggered ()
 load settings file More...
 
void on_actionSaveSettings_triggered ()
 save settings file More...
 
void on_actionPoints_triggered ()
 open point dialog More...
 
void on_actionIsoSurface_triggered ()
 open isosurface dialog More...
 
void on_actionChecker_triggered ()
 open checker dialog More...
 
void setStopEnabled (bool enabled)
 enabled or disable stop and play buttons More...
 
void closeEvent (QCloseEvent *event)
 clean up before closing More...
 
void initAfter ()
 setup some connections that require OpenGL to be initialized first More...
 
void updateSpinBox (int value)
 update the iterations.print spin box More...
 

Public Member Functions

 MainWindow (const QString &inputFile="", QWidget *parent=0)
 
 ~MainWindow ()
 

Private Member Functions

void setIcon (QAction *action, QString themeIcon, QStyle::StandardPixmap standardPixmap)
 set user interface icon More...
 
void init ()
 setup More...
 

Private Attributes

Ui::MainWindow * ui
 main window user interface More...
 
LangmuirViewerm_viewer
 OpenGL widget. More...
 
PointDialogm_pointdialog
 dialog to set point parameters More...
 
IsoSurfaceDialogm_isosurfacedialog
 dialog to create isosurface More...
 
QDir m_currentDir
 current directory for open/save actions More...
 

Detailed Description

A window with an OpenGL widget.

Constructor & Destructor Documentation

LangmuirView::MainWindow::MainWindow ( const QString &  inputFile = "",
QWidget *  parent = 0 
)
explicit
LangmuirView::MainWindow::~MainWindow ( )

Member Function Documentation

void LangmuirView::MainWindow::closeEvent ( QCloseEvent *  event)
slot

clean up before closing

void LangmuirView::MainWindow::init ( )
private

setup

void LangmuirView::MainWindow::initAfter ( )
slot

setup some connections that require OpenGL to be initialized first

void LangmuirView::MainWindow::on_actionChecker_triggered ( )
slot

open checker dialog

void LangmuirView::MainWindow::on_actionIsoSurface_triggered ( )
slot

open isosurface dialog

void LangmuirView::MainWindow::on_actionLoadSettings_triggered ( )
slot

load settings file

void LangmuirView::MainWindow::on_actionOpen_triggered ( )
slot

open an input file

void LangmuirView::MainWindow::on_actionPoints_triggered ( )
slot

open point dialog

void LangmuirView::MainWindow::on_actionResetSettings_triggered ( )
slot

reset settings (looks for config.ini)

void LangmuirView::MainWindow::on_actionSave_triggered ( )
slot

save checkpoint file

void LangmuirView::MainWindow::on_actionSaveSettings_triggered ( )
slot

save settings file

void LangmuirView::MainWindow::on_actionScreenshot_triggered ( )
slot

take a screen shot

void LangmuirView::MainWindow::setIcon ( QAction *  action,
QString  themeIcon,
QStyle::StandardPixmap  standardPixmap 
)
private

set user interface icon

void LangmuirView::MainWindow::setStopEnabled ( bool  enabled)
slot

enabled or disable stop and play buttons

void LangmuirView::MainWindow::updateSpinBox ( int  value)
slot

update the iterations.print spin box

Member Data Documentation

QDir LangmuirView::MainWindow::m_currentDir
private

current directory for open/save actions

IsoSurfaceDialog* LangmuirView::MainWindow::m_isosurfacedialog
private

dialog to create isosurface

PointDialog* LangmuirView::MainWindow::m_pointdialog
private

dialog to set point parameters

LangmuirViewer* LangmuirView::MainWindow::m_viewer
private

OpenGL widget.

Ui::MainWindow* LangmuirView::MainWindow::ui
private

main window user interface


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