Dialog to display Cancel button. More...
#include <SMESHGUI_ComputeDlg.h>
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 |
QLabel * | nbNodesLabel |
QLabel * | nbElemsLabel |
QLabel * | freeRAMLabel |
QProgressBar * | progressBar |
Dialog to display Cancel button.
SMESHGUI_ComputeDlg_QThreadQDialog::SMESHGUI_ComputeDlg_QThreadQDialog | ( | QWidget * | parent, |
SMESH::SMESH_Gen_var | gen, | ||
SMESH::SMESH_Mesh_var | mesh, | ||
GEOM::GEOM_Object_var | mainShape | ||
) |
References cancelButton, freeRAMLabel, MARGIN, nbElemsLabel, nbNodesLabel, onCancel(), progressBar, qthread, and SPACING.
|
protected |
References qthread.
|
privateslot |
References SMESHGUI_ComputeDlg_QThread::cancel(), cancelButton, and qthread.
Referenced by SMESHGUI_ComputeDlg_QThreadQDialog().
bool SMESHGUI_ComputeDlg_QThreadQDialog::result | ( | ) |
References qthread, and SMESHGUI_ComputeDlg_QThread::result().
Referenced by SMESHGUI_BaseComputeOp::computeMesh().
|
protected |
References cancelButton, freeRAMLabel, SMESHGUI_ComputeDlg_QThread::getMesh(), nbElemsLabel, nbNodesLabel, progressBar, and qthread.
|
private |
Referenced by onCancel(), SMESHGUI_ComputeDlg_QThreadQDialog(), and timerEvent().
|
private |
Referenced by SMESHGUI_ComputeDlg_QThreadQDialog(), and timerEvent().
|
private |
Referenced by SMESHGUI_ComputeDlg_QThreadQDialog(), and timerEvent().
|
private |
Referenced by SMESHGUI_ComputeDlg_QThreadQDialog(), and timerEvent().
|
private |
Referenced by SMESHGUI_ComputeDlg_QThreadQDialog(), and timerEvent().
|
private |
Referenced by closeEvent(), onCancel(), result(), SMESHGUI_ComputeDlg_QThreadQDialog(), and timerEvent().