Version: 9.12.0
SMESHGUI_MgAdaptArguments Class Reference

#include <SMESHGUI_MgAdaptDlg.h>

Inheritance diagram for SMESHGUI_MgAdaptArguments:

Public Types

enum  Mode { Mesh , Browser }
 Property type. More...
 
enum  SIZEMAP { Local , Background , Constant }
 

Signals

void updateSelection ()
 
void toExportMED (const char *)
 
void meshDimSignal (ADAPTATION_MODE aMode)
 

Public Member Functions

 SMESHGUI_MgAdaptArguments (QWidget *parent)
 
 ~SMESHGUI_MgAdaptArguments ()
 
void setMode (const Mode, const SIZEMAP)
 

Data Fields

QString myFileInDir
 
QString myFileOutDir
 
QString myFileSizeMapDir
 
QGroupBoxaMeshIn
 
QRadioButton * aMedfile
 
QRadioButton * aBrowser
 
QLineEdit * aBrowserObject
 
QPushButton * selectMedFilebutton
 
QSpacerItem * hspacer
 
QLineEdit * selectMedFileLineEdit
 
QButtonGroup * meshInGroup
 
QGridLayout * meshIn
 
QGroupBoxaMeshOut
 
QLabelmeshName
 
QLineEdit * meshNameLineEdit
 
QSpacerItem * secondHspacer
 
QCheckBox * medFileCheckBox
 
QPushButton * selectOutMedFilebutton
 
QLineEdit * selectOutMedFileLineEdit
 
QSpacerItem * thirdHspacer
 
QCheckBox * publishOut
 
QGridLayout * meshOut
 
QGroupBoxsizeMapDefinition
 
QRadioButton * localButton
 
QRadioButton * backgroundButton
 
QRadioButton * constantButton
 
QLabelmedFileBackground
 
QPushButton * selectMedFileBackgroundbutton
 
QLineEdit * selectMedFileBackgroundLineEdit
 
QLabelvalueLabel
 
QDoubleSpinBox * dvalue
 
QButtonGroup * sizeMapDefGroup
 
QGridLayout * sizeMapDefGroupLayout
 
QGroupBoxsizeMapField
 
QLabelfieldName
 
QComboBoxfieldNameCmb
 
QRadioButton * noTimeStep
 
QRadioButton * lastTimeStep
 
QRadioButton * chosenTimeStep
 
QLabeltimeStepLabel
 
QSpinBox * timeStep
 
QLabelrankLabel
 
QSpinBox * rankSpinBox
 
QButtonGroup * timeStepGroup
 
QGridLayout * sizeMapFieldGroupLayout
 

Private Slots

void modeChanged (int)
 
void sizeMapDefChanged (int)
 
void timeStepGroupChanged (int timeStepType, bool disableOther=false, int vmax=0)
 
void onSelectMedFilebuttonClicked ()
 
void clear ()
 
void onMedFileCheckBox (int)
 
void onPublishOut (int)
 
void onSelectOutMedFilebutton ()
 
void onSelectMedFileBackgroundbutton ()
 
void onLocalSelected (QString)
 
void onNoTimeStep (bool disableOther=false)
 
void onLastTimeStep (bool disableOther=false)
 
void onChosenTimeStep (bool disableOther=false, int vmax=0)
 
void visibleTimeStepRankLabel (bool visible)
 
void valueAdaptation ()
 

Private Member Functions

QString getMedFileName (bool avertir)
 

Private Attributes

int meshDim
 
int meshDimBG
 
std::map< QString, int > myFieldList
 

Member Enumeration Documentation

◆ Mode

Property type.

Enumerator
Mesh 
Browser 

◆ SIZEMAP

Enumerator
Local 
Background 
Constant 

Constructor & Destructor Documentation

◆ SMESHGUI_MgAdaptArguments()

◆ ~SMESHGUI_MgAdaptArguments()

SMESHGUI_MgAdaptArguments::~SMESHGUI_MgAdaptArguments ( )

Member Function Documentation

◆ clear

void SMESHGUI_MgAdaptArguments::clear ( )
privateslot

◆ getMedFileName()

QString SMESHGUI_MgAdaptArguments::getMedFileName ( bool  avertir)
private

◆ meshDimSignal

void SMESHGUI_MgAdaptArguments::meshDimSignal ( ADAPTATION_MODE  aMode)
signal

◆ modeChanged

void SMESHGUI_MgAdaptArguments::modeChanged ( int  theMode)
privateslot

◆ onChosenTimeStep

void SMESHGUI_MgAdaptArguments::onChosenTimeStep ( bool  disableOther = false,
int  vmax = 0 
)
privateslot

◆ onLastTimeStep

void SMESHGUI_MgAdaptArguments::onLastTimeStep ( bool  disableOther = false)
privateslot

◆ onLocalSelected

void SMESHGUI_MgAdaptArguments::onLocalSelected ( QString  filePath)
privateslot

◆ onMedFileCheckBox

void SMESHGUI_MgAdaptArguments::onMedFileCheckBox ( int  state)
privateslot

◆ onNoTimeStep

void SMESHGUI_MgAdaptArguments::onNoTimeStep ( bool  disableOther = false)
privateslot

◆ onPublishOut

void SMESHGUI_MgAdaptArguments::onPublishOut ( int  state)
privateslot

References medFileCheckBox.

Referenced by SMESHGUI_MgAdaptArguments().

◆ onSelectMedFileBackgroundbutton

◆ onSelectMedFilebuttonClicked

◆ onSelectOutMedFilebutton

void SMESHGUI_MgAdaptArguments::onSelectOutMedFilebutton ( )
privateslot

◆ setMode()

void SMESHGUI_MgAdaptArguments::setMode ( const Mode  theMode,
const SIZEMAP  theSizeMap 
)

◆ sizeMapDefChanged

◆ timeStepGroupChanged

void SMESHGUI_MgAdaptArguments::timeStepGroupChanged ( int  timeStepType,
bool  disableOther = false,
int  vmax = 0 
)
privateslot

◆ toExportMED

void SMESHGUI_MgAdaptArguments::toExportMED ( const char *  )
signal

◆ updateSelection

void SMESHGUI_MgAdaptArguments::updateSelection ( )
signal

◆ valueAdaptation

void SMESHGUI_MgAdaptArguments::valueAdaptation ( )
privateslot

◆ visibleTimeStepRankLabel

void SMESHGUI_MgAdaptArguments::visibleTimeStepRankLabel ( bool  visible)
privateslot

Field Documentation

◆ aBrowser

QRadioButton* SMESHGUI_MgAdaptArguments::aBrowser

◆ aBrowserObject

◆ aMedfile

QRadioButton* SMESHGUI_MgAdaptArguments::aMedfile

◆ aMeshIn

QGroupBox* SMESHGUI_MgAdaptArguments::aMeshIn

◆ aMeshOut

QGroupBox* SMESHGUI_MgAdaptArguments::aMeshOut

◆ backgroundButton

◆ chosenTimeStep

◆ constantButton

◆ dvalue

◆ fieldName

QLabel* SMESHGUI_MgAdaptArguments::fieldName

◆ fieldNameCmb

◆ hspacer

QSpacerItem* SMESHGUI_MgAdaptArguments::hspacer

◆ lastTimeStep

◆ localButton

◆ medFileBackground

QLabel* SMESHGUI_MgAdaptArguments::medFileBackground

◆ medFileCheckBox

◆ meshDim

int SMESHGUI_MgAdaptArguments::meshDim
private

◆ meshDimBG

int SMESHGUI_MgAdaptArguments::meshDimBG
private

◆ meshIn

QGridLayout* SMESHGUI_MgAdaptArguments::meshIn

◆ meshInGroup

QButtonGroup* SMESHGUI_MgAdaptArguments::meshInGroup

◆ meshName

QLabel* SMESHGUI_MgAdaptArguments::meshName

◆ meshNameLineEdit

◆ meshOut

QGridLayout* SMESHGUI_MgAdaptArguments::meshOut

◆ myFieldList

std::map<QString, int> SMESHGUI_MgAdaptArguments::myFieldList
private

◆ myFileInDir

◆ myFileOutDir

◆ myFileSizeMapDir

◆ noTimeStep

◆ publishOut

◆ rankLabel

QLabel* SMESHGUI_MgAdaptArguments::rankLabel

◆ rankSpinBox

◆ secondHspacer

QSpacerItem* SMESHGUI_MgAdaptArguments::secondHspacer

◆ selectMedFileBackgroundbutton

QPushButton* SMESHGUI_MgAdaptArguments::selectMedFileBackgroundbutton

◆ selectMedFileBackgroundLineEdit

◆ selectMedFilebutton

QPushButton* SMESHGUI_MgAdaptArguments::selectMedFilebutton

◆ selectMedFileLineEdit

◆ selectOutMedFilebutton

QPushButton* SMESHGUI_MgAdaptArguments::selectOutMedFilebutton

◆ selectOutMedFileLineEdit

◆ sizeMapDefGroup

QButtonGroup* SMESHGUI_MgAdaptArguments::sizeMapDefGroup

◆ sizeMapDefGroupLayout

QGridLayout* SMESHGUI_MgAdaptArguments::sizeMapDefGroupLayout

◆ sizeMapDefinition

QGroupBox* SMESHGUI_MgAdaptArguments::sizeMapDefinition

◆ sizeMapField

QGroupBox* SMESHGUI_MgAdaptArguments::sizeMapField

◆ sizeMapFieldGroupLayout

QGridLayout* SMESHGUI_MgAdaptArguments::sizeMapFieldGroupLayout

◆ thirdHspacer

QSpacerItem* SMESHGUI_MgAdaptArguments::thirdHspacer

◆ timeStep

◆ timeStepGroup

QButtonGroup* SMESHGUI_MgAdaptArguments::timeStepGroup

◆ timeStepLabel

QLabel* SMESHGUI_MgAdaptArguments::timeStepLabel

◆ valueLabel

QLabel* SMESHGUI_MgAdaptArguments::valueLabel