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

A class to get point cloud properties from the user. More...

#include <pointdialog.h>

Public Slots

void init ()
 initialize dialog More...
 
void update ()
 update dialog More...
 
void remember ()
 remember settings (for undo) More...
 
void reset ()
 undo settings More...
 
void updateComboBoxElectrons (PointCloud::Mode mode)
 update combo box text More...
 
void updateComboBoxDefects (PointCloud::Mode mode)
 update combo box text More...
 
void updateComboBoxHoles (PointCloud::Mode mode)
 update combo box text More...
 
void updateComboBoxTraps (PointCloud::Mode mode)
 update combo box text More...
 
void updateSpinBoxElectrons (float d)
 update spin box value More...
 
void updateSpinBoxDefects (float d)
 update spin box value More...
 
void updateSpinBoxHoles (float d)
 update spin box value More...
 
void updateSpinBoxTraps (float d)
 update spin box value More...
 
void updateCheckBoxElectrons (bool checked)
 update check box state More...
 
void updateCheckBoxDefects (bool checked)
 update check box state More...
 
void updateCheckBoxHoles (bool checked)
 update check box state More...
 
void updateCheckBoxTraps (bool checked)
 update check box state More...
 
void on_comboBoxElectrons_currentTextChanged (const QString &text)
 set pointcloud render mode More...
 
void on_comboBoxDefects_currentTextChanged (const QString &text)
 set pointcloud render mode More...
 
void on_comboBoxHoles_currentTextChanged (const QString &text)
 set pointcloud render mode More...
 
void on_comboBoxTraps_currentTextChanged (const QString &text)
 set pointcloud render mode More...
 
void on_spinBoxElectrons_valueChanged (double d)
 set pointcloud point size More...
 
void on_spinBoxDefects_valueChanged (double d)
 set pointcloud point size More...
 
void on_spinBoxHoles_valueChanged (double d)
 set pointcloud point size More...
 
void on_spinBoxTraps_valueChanged (double d)
 set pointcloud point size More...
 
void on_checkBoxElectrons_stateChanged (int state)
 set pointcloud visible state More...
 
void on_checkBoxDefects_stateChanged (int state)
 set pointcloud visible state More...
 
void on_checkBoxHoles_stateChanged (int state)
 set pointcloud visible state More...
 
void on_checkBoxTraps_stateChanged (int state)
 set pointcloud visible state More...
 
void on_pushButtonReset_clicked ()
 reset values More...
 
void on_buttonBox_rejected ()
 reset values More...
 

Public Member Functions

 PointDialog (LangmuirViewer &viewer, QWidget *parent=0)
 create the PointDialog More...
 
 ~PointDialog ()
 destroy the PointDialog More...
 

Private Attributes

Ui::PointDialog * ui
 dialog UI More...
 
LangmuirViewerm_viewer
 reference to OpenGL widget More...
 
float e_pointSize_old
 old pointSize (for undo) More...
 
float d_pointSize_old
 old pointSize (for undo) More...
 
float h_pointSize_old
 old pointSize (for undo) More...
 
float t_pointSize_old
 old pointSize (for undo) More...
 
PointCloud::Mode e_mode_old
 old mode (for undo) More...
 
PointCloud::Mode d_mode_old
 old mode (for undo) More...
 
PointCloud::Mode h_mode_old
 old mode (for undo) More...
 
PointCloud::Mode t_mode_old
 old mode (for undo) More...
 
bool e_visible
 old visible state (for undo) More...
 
bool d_visible
 old visible state (for undo) More...
 
bool h_visible
 old visible state (for undo) More...
 
bool t_visible
 old visible state (for undo) More...
 

Detailed Description

A class to get point cloud properties from the user.

Constructor & Destructor Documentation

LangmuirView::PointDialog::PointDialog ( LangmuirViewer viewer,
QWidget *  parent = 0 
)
explicit

create the PointDialog

Parameters
viewerthe viewer
parentQObject this belongs to
LangmuirView::PointDialog::~PointDialog ( )

destroy the PointDialog

Member Function Documentation

void LangmuirView::PointDialog::init ( )
slot

initialize dialog

void LangmuirView::PointDialog::on_buttonBox_rejected ( )
slot

reset values

void LangmuirView::PointDialog::on_checkBoxDefects_stateChanged ( int  state)
slot

set pointcloud visible state

Parameters
statevisible state
void LangmuirView::PointDialog::on_checkBoxElectrons_stateChanged ( int  state)
slot

set pointcloud visible state

Parameters
statevisible state
void LangmuirView::PointDialog::on_checkBoxHoles_stateChanged ( int  state)
slot

set pointcloud visible state

Parameters
statevisible state
void LangmuirView::PointDialog::on_checkBoxTraps_stateChanged ( int  state)
slot

set pointcloud visible state

Parameters
statevisible state
void LangmuirView::PointDialog::on_comboBoxDefects_currentTextChanged ( const QString &  text)
slot

set pointcloud render mode

Parameters
textmode as string
void LangmuirView::PointDialog::on_comboBoxElectrons_currentTextChanged ( const QString &  text)
slot

set pointcloud render mode

Parameters
textmode as string
void LangmuirView::PointDialog::on_comboBoxHoles_currentTextChanged ( const QString &  text)
slot

set pointcloud render mode

Parameters
textmode as string
void LangmuirView::PointDialog::on_comboBoxTraps_currentTextChanged ( const QString &  text)
slot

set pointcloud render mode

Parameters
textmode as string
void LangmuirView::PointDialog::on_pushButtonReset_clicked ( )
slot

reset values

void LangmuirView::PointDialog::on_spinBoxDefects_valueChanged ( double  d)
slot

set pointcloud point size

Parameters
dpoint size
void LangmuirView::PointDialog::on_spinBoxElectrons_valueChanged ( double  d)
slot

set pointcloud point size

Parameters
dpoint size
void LangmuirView::PointDialog::on_spinBoxHoles_valueChanged ( double  d)
slot

set pointcloud point size

Parameters
dpoint size
void LangmuirView::PointDialog::on_spinBoxTraps_valueChanged ( double  d)
slot

set pointcloud point size

Parameters
dpoint size
void LangmuirView::PointDialog::remember ( )
slot

remember settings (for undo)

void LangmuirView::PointDialog::reset ( )
slot

undo settings

void LangmuirView::PointDialog::update ( )
slot

update dialog

void LangmuirView::PointDialog::updateCheckBoxDefects ( bool  checked)
slot

update check box state

Parameters
checkedtrue if checked
void LangmuirView::PointDialog::updateCheckBoxElectrons ( bool  checked)
slot

update check box state

Parameters
checkedtrue if checked
void LangmuirView::PointDialog::updateCheckBoxHoles ( bool  checked)
slot

update check box state

Parameters
checkedtrue if checked
void LangmuirView::PointDialog::updateCheckBoxTraps ( bool  checked)
slot

update check box state

Parameters
checkedtrue if checked
void LangmuirView::PointDialog::updateComboBoxDefects ( PointCloud::Mode  mode)
slot

update combo box text

Parameters
modeselection number
void LangmuirView::PointDialog::updateComboBoxElectrons ( PointCloud::Mode  mode)
slot

update combo box text

Parameters
modeselection number
void LangmuirView::PointDialog::updateComboBoxHoles ( PointCloud::Mode  mode)
slot

update combo box text

Parameters
modeselection number
void LangmuirView::PointDialog::updateComboBoxTraps ( PointCloud::Mode  mode)
slot

update combo box text

Parameters
modeselection number
void LangmuirView::PointDialog::updateSpinBoxDefects ( float  d)
slot

update spin box value

Parameters
dvalue
void LangmuirView::PointDialog::updateSpinBoxElectrons ( float  d)
slot

update spin box value

Parameters
dvalue
void LangmuirView::PointDialog::updateSpinBoxHoles ( float  d)
slot

update spin box value

Parameters
dvalue
void LangmuirView::PointDialog::updateSpinBoxTraps ( float  d)
slot

update spin box value

Parameters
dvalue

Member Data Documentation

PointCloud::Mode LangmuirView::PointDialog::d_mode_old
private

old mode (for undo)

float LangmuirView::PointDialog::d_pointSize_old
private

old pointSize (for undo)

bool LangmuirView::PointDialog::d_visible
private

old visible state (for undo)

PointCloud::Mode LangmuirView::PointDialog::e_mode_old
private

old mode (for undo)

float LangmuirView::PointDialog::e_pointSize_old
private

old pointSize (for undo)

bool LangmuirView::PointDialog::e_visible
private

old visible state (for undo)

PointCloud::Mode LangmuirView::PointDialog::h_mode_old
private

old mode (for undo)

float LangmuirView::PointDialog::h_pointSize_old
private

old pointSize (for undo)

bool LangmuirView::PointDialog::h_visible
private

old visible state (for undo)

LangmuirViewer& LangmuirView::PointDialog::m_viewer
private

reference to OpenGL widget

PointCloud::Mode LangmuirView::PointDialog::t_mode_old
private

old mode (for undo)

float LangmuirView::PointDialog::t_pointSize_old
private

old pointSize (for undo)

bool LangmuirView::PointDialog::t_visible
private

old visible state (for undo)

Ui::PointDialog* LangmuirView::PointDialog::ui
private

dialog UI


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