Version: 9.12.0
SMESHGUI_ComputeDlg_QThreadQDialog Class Reference

Dialog to display Cancel button. More...

#include <SMESHGUI_ComputeDlg.h>

Inheritance diagram for SMESHGUI_ComputeDlg_QThreadQDialog:

Public Member Functions

 SMESHGUI_ComputeDlg_QThreadQDialog (QWidget *parent, SMESH::SMESH_Gen_var gen, SMESH::SMESH_Mesh_var mesh, GEOM::GEOM_Object_var mainShape)
 
bool result ()
 

Protected Member Functions

void timerEvent (QTimerEvent *timer)
 
void closeEvent (QCloseEvent *event)
 

Private Slots

void onCancel ()
 

Private Attributes

SMESHGUI_ComputeDlg_QThread qthread
 
QPushButton * cancelButton
 
QLabelnbNodesLabel
 
QLabelnbElemsLabel
 
QLabelfreeRAMLabel
 
QProgressBar * progressBar
 

Detailed Description

Dialog to display Cancel button.

Constructor & Destructor Documentation

◆ SMESHGUI_ComputeDlg_QThreadQDialog()

SMESHGUI_ComputeDlg_QThreadQDialog::SMESHGUI_ComputeDlg_QThreadQDialog ( QWidget parent,
SMESH::SMESH_Gen_var  gen,
SMESH::SMESH_Mesh_var  mesh,
GEOM::GEOM_Object_var  mainShape 
)

Member Function Documentation

◆ closeEvent()

void SMESHGUI_ComputeDlg_QThreadQDialog::closeEvent ( QCloseEvent *  event)
protected

References qthread.

◆ onCancel

void SMESHGUI_ComputeDlg_QThreadQDialog::onCancel ( )
privateslot

◆ result()

bool SMESHGUI_ComputeDlg_QThreadQDialog::result ( )

◆ timerEvent()

void SMESHGUI_ComputeDlg_QThreadQDialog::timerEvent ( QTimerEvent *  timer)
protected

Field Documentation

◆ cancelButton

QPushButton* SMESHGUI_ComputeDlg_QThreadQDialog::cancelButton
private

◆ freeRAMLabel

QLabel* SMESHGUI_ComputeDlg_QThreadQDialog::freeRAMLabel
private

◆ nbElemsLabel

QLabel* SMESHGUI_ComputeDlg_QThreadQDialog::nbElemsLabel
private

◆ nbNodesLabel

QLabel* SMESHGUI_ComputeDlg_QThreadQDialog::nbNodesLabel
private

◆ progressBar

QProgressBar* SMESHGUI_ComputeDlg_QThreadQDialog::progressBar
private

◆ qthread

SMESHGUI_ComputeDlg_QThread SMESHGUI_ComputeDlg_QThreadQDialog::qthread
private