mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-28 00:30:33 +05:00
Issue '23049: [CEA 1475] Increase the size of some dialog boxes': fix first part.
This commit is contained in:
parent
3026fe8712
commit
3b8dd51d87
@ -55,11 +55,12 @@
|
|||||||
//================================================================================
|
//================================================================================
|
||||||
|
|
||||||
StdMeshersGUI_ObjectReferenceParamWdg::StdMeshersGUI_ObjectReferenceParamWdg
|
StdMeshersGUI_ObjectReferenceParamWdg::StdMeshersGUI_ObjectReferenceParamWdg
|
||||||
( SUIT_SelectionFilter* f, QWidget* parent, bool multiSelection, bool stretch )
|
( SUIT_SelectionFilter* f, QWidget* parent, bool multiSelection
|
||||||
|
/*, bool stretch */)
|
||||||
: QWidget( parent ), myMultiSelection( multiSelection )
|
: QWidget( parent ), myMultiSelection( multiSelection )
|
||||||
{
|
{
|
||||||
myFilter = f;
|
myFilter = f;
|
||||||
myStretchActivated = stretch;
|
// myStretchActivated = stretch;
|
||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -123,12 +124,13 @@ void StdMeshersGUI_ObjectReferenceParamWdg::init()
|
|||||||
myObjNameLineEdit = new QLineEdit(this);
|
myObjNameLineEdit = new QLineEdit(this);
|
||||||
myObjNameLineEdit->setReadOnly(true);
|
myObjNameLineEdit->setReadOnly(true);
|
||||||
myObjNameLineEdit->setStyleSheet(myEmptyStyleSheet);
|
myObjNameLineEdit->setStyleSheet(myEmptyStyleSheet);
|
||||||
|
myObjNameLineEdit->setMinimumWidth(200);
|
||||||
|
|
||||||
aHBox->addWidget( mySelButton );
|
aHBox->addWidget( mySelButton );
|
||||||
aHBox->addWidget( myObjNameLineEdit );
|
aHBox->addWidget( myObjNameLineEdit );
|
||||||
if (myStretchActivated){
|
//if (myStretchActivated){
|
||||||
aHBox->addStretch();
|
// aHBox->addStretch();
|
||||||
}
|
//}
|
||||||
|
|
||||||
connect( mySelButton, SIGNAL(clicked()), SLOT(activateSelection()));
|
connect( mySelButton, SIGNAL(clicked()), SLOT(activateSelection()));
|
||||||
}
|
}
|
||||||
|
@ -56,8 +56,8 @@ class STDMESHERSGUI_EXPORT StdMeshersGUI_ObjectReferenceParamWdg : public QWidge
|
|||||||
public:
|
public:
|
||||||
StdMeshersGUI_ObjectReferenceParamWdg( SUIT_SelectionFilter* filter,
|
StdMeshersGUI_ObjectReferenceParamWdg( SUIT_SelectionFilter* filter,
|
||||||
QWidget* parent,
|
QWidget* parent,
|
||||||
bool multiSelection=false,
|
bool multiSelection=false
|
||||||
bool stretch=true);
|
/* ,bool stretch=true*/);
|
||||||
StdMeshersGUI_ObjectReferenceParamWdg( SMESH::MeshObjectType objType,
|
StdMeshersGUI_ObjectReferenceParamWdg( SMESH::MeshObjectType objType,
|
||||||
QWidget* parent,
|
QWidget* parent,
|
||||||
bool multiSelection=false);
|
bool multiSelection=false);
|
||||||
|
Loading…
Reference in New Issue
Block a user