mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 02:10:35 +05:00
windows port
This commit is contained in:
parent
e62fe64c08
commit
a5001f9559
@ -317,7 +317,7 @@ void SMESHGUI_FilterTable::AdditionalWidget::SetPrecision(const int theId, const
|
|||||||
if ( qobject_cast<SMESHGUI_SpinBox*>( myWidgets[ theId ] ) ) {
|
if ( qobject_cast<SMESHGUI_SpinBox*>( myWidgets[ theId ] ) ) {
|
||||||
SMESHGUI_SpinBox* sb = qobject_cast<SMESHGUI_SpinBox*>( myWidgets[ theId ] );
|
SMESHGUI_SpinBox* sb = qobject_cast<SMESHGUI_SpinBox*>( myWidgets[ theId ] );
|
||||||
double val = sb->GetValue();
|
double val = sb->GetValue();
|
||||||
double min = pow(10, -(sb->decimals()));
|
double min = pow(10.0, -(sb->decimals()));
|
||||||
sb->RangeStepAndValidator( 0., 1.e20, 0.1, precision ? precision : "len_tol_precision" );
|
sb->RangeStepAndValidator( 0., 1.e20, 0.1, precision ? precision : "len_tol_precision" );
|
||||||
sb->SetValue( qMax( val, min ) );
|
sb->SetValue( qMax( val, min ) );
|
||||||
}
|
}
|
||||||
|
@ -25,6 +25,10 @@
|
|||||||
// Author : Nicolas REJNERI
|
// Author : Nicolas REJNERI
|
||||||
// Module : SMESH
|
// Module : SMESH
|
||||||
//
|
//
|
||||||
|
#ifdef WNT
|
||||||
|
#define NOMINMAX
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "SMESH_MeshEditor_i.hxx"
|
#include "SMESH_MeshEditor_i.hxx"
|
||||||
|
|
||||||
#include "SMDS_Mesh0DElement.hxx"
|
#include "SMDS_Mesh0DElement.hxx"
|
||||||
|
@ -60,7 +60,7 @@ namespace
|
|||||||
*/
|
*/
|
||||||
//================================================================================
|
//================================================================================
|
||||||
|
|
||||||
class SMDS_EXPORT Q2TAdaptor_Triangle : public SMDS_MeshFace
|
class STDMESHERS_EXPORT Q2TAdaptor_Triangle : public SMDS_MeshFace
|
||||||
{
|
{
|
||||||
const SMDS_MeshNode* _nodes[3];
|
const SMDS_MeshNode* _nodes[3];
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user