mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-14 18:50:39 +05:00
A patch by Nicolas GEIMER for the problem of Qt dialogs not appearing in GEOM (for Ubuntu 8.10 32bits)
This commit is contained in:
parent
c51839e323
commit
bcc48ea905
@ -683,7 +683,7 @@ void BasicGUI_ArcDlg::ConstructorsClicked( int constructorId )
|
||||
|
||||
qApp->processEvents();
|
||||
updateGeometry();
|
||||
resize( minimumSize() );
|
||||
resize( minimumSizeHint() );
|
||||
|
||||
myEditCurrentArgument->setFocus();
|
||||
connect( myGeomGUI->getApp()->selectionMgr(), SIGNAL( currentSelectionChanged() ),
|
||||
|
@ -269,7 +269,7 @@ void BasicGUI_CircleDlg::ConstructorsClicked( int constructorId )
|
||||
|
||||
qApp->processEvents();
|
||||
updateGeometry();
|
||||
resize( minimumSize() );
|
||||
resize( minimumSizeHint() );
|
||||
|
||||
myEditCurrentArgument->setFocus();
|
||||
globalSelection(); // close local contexts, if any
|
||||
|
@ -226,7 +226,7 @@ void BasicGUI_LineDlg::ConstructorsClicked( int constructorId )
|
||||
|
||||
qApp->processEvents();
|
||||
updateGeometry();
|
||||
resize( minimumSize() );
|
||||
resize( minimumSizeHint() );
|
||||
|
||||
SelectionIntoArgument();
|
||||
}
|
||||
|
@ -301,7 +301,7 @@ void BasicGUI_MarkerDlg::ConstructorsClicked( int constructorId )
|
||||
|
||||
qApp->processEvents();
|
||||
updateGeometry();
|
||||
resize( minimumSize() );
|
||||
resize( minimumSizeHint() );
|
||||
|
||||
connect( myGeomGUI->getApp()->selectionMgr(), SIGNAL( currentSelectionChanged() ),
|
||||
this, SLOT( onSelectionDone() ) );
|
||||
|
@ -308,7 +308,7 @@ void BasicGUI_PlaneDlg::ConstructorsClicked( int constructorId )
|
||||
|
||||
qApp->processEvents();
|
||||
updateGeometry();
|
||||
resize( minimumSize() );
|
||||
resize( minimumSizeHint() );
|
||||
|
||||
myEditCurrentArgument->setFocus();
|
||||
connect( myGeomGUI->getApp()->selectionMgr(), SIGNAL( currentSelectionChanged() ),
|
||||
|
@ -380,7 +380,7 @@ void BasicGUI_PointDlg::ConstructorsClicked(int constructorId)
|
||||
|
||||
qApp->processEvents();
|
||||
updateGeometry();
|
||||
resize( minimumSize() );
|
||||
resize( minimumSizeHint() );
|
||||
|
||||
SelectionIntoArgument();
|
||||
}
|
||||
|
@ -229,7 +229,7 @@ void BasicGUI_VectorDlg::ConstructorsClicked( int constructorId )
|
||||
|
||||
qApp->processEvents();
|
||||
updateGeometry();
|
||||
resize( minimumSize() );
|
||||
resize( minimumSizeHint() );
|
||||
|
||||
displayPreview();
|
||||
}
|
||||
|
@ -242,7 +242,7 @@ void BasicGUI_WorkingPlaneDlg::ConstructorsClicked( int constructorId )
|
||||
|
||||
qApp->processEvents();
|
||||
updateGeometry();
|
||||
resize( minimumSize() );
|
||||
resize( minimumSizeHint() );
|
||||
|
||||
updateWPlane();
|
||||
}
|
||||
|
@ -78,7 +78,7 @@ bool BlocksGUI::OnGUIEvent( int theCommandID, SUIT_Desktop* parent )
|
||||
|
||||
if ( aDlg ) {
|
||||
aDlg->updateGeometry();
|
||||
aDlg->resize( aDlg->minimumSize() );
|
||||
aDlg->resize( aDlg->minimumSizeHint() );
|
||||
aDlg->show();
|
||||
}
|
||||
|
||||
|
@ -191,7 +191,7 @@ void BlocksGUI_BlockDlg::ConstructorsClicked (int constructorId)
|
||||
|
||||
qApp->processEvents();
|
||||
updateGeometry();
|
||||
resize(minimumSize());
|
||||
resize(minimumSizeHint());
|
||||
|
||||
// on dialog initialization we init the first field with a selected object (if any)
|
||||
SelectionIntoArgument();
|
||||
|
@ -178,7 +178,7 @@ void BlocksGUI_QuadFaceDlg::ConstructorsClicked (int constructorId)
|
||||
|
||||
qApp->processEvents();
|
||||
updateGeometry();
|
||||
resize(minimumSize());
|
||||
resize(minimumSizeHint());
|
||||
|
||||
// on dialog initialization we init the first field with a selected object (if any)
|
||||
SelectionIntoArgument();
|
||||
|
@ -184,7 +184,7 @@ void BlocksGUI_TrsfDlg::ConstructorsClicked (int constructorId)
|
||||
|
||||
qApp->processEvents();
|
||||
updateGeometry();
|
||||
resize(minimumSize());
|
||||
resize(minimumSizeHint());
|
||||
|
||||
// on dialog initialization we init the first field with a selected object (if any)
|
||||
SelectionIntoArgument();
|
||||
|
@ -79,7 +79,7 @@ bool BuildGUI::OnGUIEvent( int theCommandID, SUIT_Desktop* parent )
|
||||
|
||||
if ( aDlg ) {
|
||||
aDlg->updateGeometry();
|
||||
aDlg->resize( aDlg->minimumSize() );
|
||||
aDlg->resize( aDlg->minimumSizeHint() );
|
||||
aDlg->show();
|
||||
}
|
||||
|
||||
|
@ -276,7 +276,7 @@ void GenerationGUI_PrismDlg::ConstructorsClicked (int constructorId)
|
||||
|
||||
qApp->processEvents();
|
||||
updateGeometry();
|
||||
resize(minimumSize());
|
||||
resize(minimumSizeHint());
|
||||
|
||||
if (myInitial) {
|
||||
myInitial = false;
|
||||
|
@ -113,7 +113,7 @@ bool GroupGUI::OnGUIEvent( int theCommandID, SUIT_Desktop* parent )
|
||||
|
||||
if ( aDlg ) {
|
||||
aDlg->updateGeometry();
|
||||
aDlg->resize( aDlg->minimumSize() );
|
||||
aDlg->resize( aDlg->minimumSizeHint() );
|
||||
aDlg->show();
|
||||
}
|
||||
|
||||
|
@ -116,7 +116,7 @@ bool MeasureGUI::OnGUIEvent( int theCommandID, SUIT_Desktop* parent )
|
||||
}
|
||||
if ( dlg ) {
|
||||
dlg->updateGeometry();
|
||||
dlg->resize( dlg->minimumSize() );
|
||||
dlg->resize( dlg->minimumSizeHint() );
|
||||
dlg->show();
|
||||
}
|
||||
return true;
|
||||
|
@ -358,7 +358,7 @@ void OperationGUI_ChamferDlg::ConstructorsClicked (int constructorId)
|
||||
|
||||
qApp->processEvents();
|
||||
updateGeometry();
|
||||
resize(minimumSize());
|
||||
resize(minimumSizeHint());
|
||||
}
|
||||
|
||||
//=================================================================================
|
||||
|
@ -296,7 +296,7 @@ void OperationGUI_FilletDlg::ConstructorsClicked (int constructorId)
|
||||
|
||||
qApp->processEvents();
|
||||
updateGeometry();
|
||||
resize(minimumSize());
|
||||
resize(minimumSizeHint());
|
||||
}
|
||||
|
||||
//=================================================================================
|
||||
|
@ -192,7 +192,7 @@ void OperationGUI_PartitionDlg::ConstructorsClicked( int constructorId )
|
||||
|
||||
qApp->processEvents();
|
||||
updateGeometry();
|
||||
resize( minimumSize() );
|
||||
resize( minimumSizeHint() );
|
||||
|
||||
myEditCurrentArgument->setFocus();
|
||||
connect( myGeomGUI->getApp()->selectionMgr(),
|
||||
|
@ -194,7 +194,7 @@ void PrimitiveGUI_BoxDlg::ConstructorsClicked (int constructorId)
|
||||
|
||||
qApp->processEvents();
|
||||
updateGeometry();
|
||||
resize(minimumSize());
|
||||
resize(minimumSizeHint());
|
||||
|
||||
if (myInitial) {
|
||||
// on dialog initialization we init the first field with a selected object (if any)
|
||||
|
@ -209,7 +209,7 @@ void PrimitiveGUI_ConeDlg::ConstructorsClicked (int constructorId)
|
||||
|
||||
qApp->processEvents();
|
||||
updateGeometry();
|
||||
resize(minimumSize());
|
||||
resize(minimumSizeHint());
|
||||
|
||||
if (myInitial) {
|
||||
// on dialog initialization we init the first field with a selected object (if any)
|
||||
|
@ -200,7 +200,7 @@ void PrimitiveGUI_CylinderDlg::ConstructorsClicked (int constructorId)
|
||||
|
||||
qApp->processEvents();
|
||||
updateGeometry();
|
||||
resize(minimumSize());
|
||||
resize(minimumSizeHint());
|
||||
|
||||
if (myInitial) {
|
||||
myInitial = false;
|
||||
|
@ -254,7 +254,7 @@ void PrimitiveGUI_DiskDlg::ConstructorsClicked (int constructorId)
|
||||
|
||||
qApp->processEvents();
|
||||
updateGeometry();
|
||||
resize(minimumSize());
|
||||
resize(minimumSizeHint());
|
||||
|
||||
if (myInitial) {
|
||||
myInitial = false;
|
||||
|
@ -301,7 +301,7 @@ void PrimitiveGUI_FaceDlg::ConstructorsClicked( int constructorId )
|
||||
|
||||
qApp->processEvents();
|
||||
updateGeometry();
|
||||
resize( minimumSize() );
|
||||
resize( minimumSizeHint() );
|
||||
SelectionIntoArgument();
|
||||
//displayPreview();
|
||||
}
|
||||
|
@ -191,7 +191,7 @@ void PrimitiveGUI_SphereDlg::ConstructorsClicked( int constructorId )
|
||||
|
||||
qApp->processEvents();
|
||||
updateGeometry();
|
||||
resize( minimumSize() );
|
||||
resize( minimumSizeHint() );
|
||||
|
||||
displayPreview();
|
||||
}
|
||||
|
@ -199,7 +199,7 @@ void PrimitiveGUI_TorusDlg::ConstructorsClicked (int constructorId)
|
||||
|
||||
qApp->processEvents();
|
||||
updateGeometry();
|
||||
resize(minimumSize());
|
||||
resize(minimumSizeHint());
|
||||
|
||||
if (myInitial) {
|
||||
myInitial = false;
|
||||
|
@ -233,7 +233,7 @@ void RepairGUI_GlueDlg::ConstructorsClicked( int constructorId )
|
||||
|
||||
qApp->processEvents();
|
||||
updateGeometry();
|
||||
resize( minimumSize() );
|
||||
resize( minimumSizeHint() );
|
||||
|
||||
displayPreview();
|
||||
updateButtonState();
|
||||
|
@ -246,7 +246,7 @@ void TransformationGUI_MultiRotationDlg::ConstructorsClicked (int constructorId)
|
||||
|
||||
qApp->processEvents();
|
||||
updateGeometry();
|
||||
resize(minimumSize());
|
||||
resize(minimumSizeHint());
|
||||
|
||||
if (myInitial) {
|
||||
myInitial = false;
|
||||
|
@ -265,7 +265,7 @@ void TransformationGUI_MultiTranslationDlg::ConstructorsClicked (int constructor
|
||||
|
||||
qApp->processEvents();
|
||||
updateGeometry();
|
||||
resize(minimumSize());
|
||||
resize(minimumSizeHint());
|
||||
|
||||
if (myInitial) {
|
||||
myInitial = false;
|
||||
|
@ -243,7 +243,7 @@ void TransformationGUI_PositionDlg::ConstructorsClicked (int constructorId)
|
||||
|
||||
qApp->processEvents();
|
||||
updateGeometry();
|
||||
resize(minimumSize());
|
||||
resize(minimumSizeHint());
|
||||
|
||||
if (myInitial) {
|
||||
myInitial = false;
|
||||
|
@ -204,7 +204,7 @@ void TransformationGUI_RotationDlg::ConstructorsClicked (int constructorId)
|
||||
|
||||
qApp->processEvents();
|
||||
updateGeometry();
|
||||
resize(minimumSize());
|
||||
resize(minimumSizeHint());
|
||||
|
||||
if (myInitial) {
|
||||
myInitial = false;
|
||||
|
@ -225,7 +225,7 @@ void TransformationGUI_ScaleDlg::ConstructorsClicked (int constructorId)
|
||||
|
||||
qApp->processEvents();
|
||||
updateGeometry();
|
||||
resize(minimumSize());
|
||||
resize(minimumSizeHint());
|
||||
|
||||
if (myInitial) {
|
||||
myInitial = false;
|
||||
|
@ -240,7 +240,7 @@ void TransformationGUI_TranslationDlg::ConstructorsClicked (int constructorId)
|
||||
|
||||
qApp->processEvents();
|
||||
updateGeometry();
|
||||
resize(minimumSize());
|
||||
resize(minimumSizeHint());
|
||||
|
||||
if (myInitial) {
|
||||
myInitial = false;
|
||||
|
Loading…
Reference in New Issue
Block a user