mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-29 10:50:35 +05:00
0020854: EDF 1398 GEOM: Ergonomy of Partition GUI window
This commit is contained in:
parent
fb1d55ac4a
commit
c1f3a6e0c3
@ -1859,6 +1859,10 @@ Please, select face, shell or solid and try again</translation>
|
|||||||
<source>GEOM_TOOL_OBJECT</source>
|
<source>GEOM_TOOL_OBJECT</source>
|
||||||
<translation>Tool Object</translation>
|
<translation>Tool Object</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>GEOM_TOOL_OBJECTS</source>
|
||||||
|
<translation>Tool Objects</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>GEOM_TORUS</source>
|
<source>GEOM_TORUS</source>
|
||||||
<translation>Torus</translation>
|
<translation>Torus</translation>
|
||||||
|
@ -70,7 +70,7 @@ OperationGUI_PartitionDlg::OperationGUI_PartitionDlg( GeometryGUI* theGeometryGU
|
|||||||
GroupPoints = new DlgRef_2Sel1List1Check( centralWidget() );
|
GroupPoints = new DlgRef_2Sel1List1Check( centralWidget() );
|
||||||
GroupPoints->GroupBox1->setTitle( tr( "GEOM_PARTITION" ) );
|
GroupPoints->GroupBox1->setTitle( tr( "GEOM_PARTITION" ) );
|
||||||
GroupPoints->TextLabel1->setText( tr( "GEOM_OBJECTS" ) );
|
GroupPoints->TextLabel1->setText( tr( "GEOM_OBJECTS" ) );
|
||||||
GroupPoints->TextLabel2->setText( tr( "GEOM_TOOL_OBJECT" ) );
|
GroupPoints->TextLabel2->setText( tr( "GEOM_TOOL_OBJECTS" ) );
|
||||||
GroupPoints->TextLabel3->setText( tr( "GEOM_RECONSTRUCTION_LIMIT" ) );
|
GroupPoints->TextLabel3->setText( tr( "GEOM_RECONSTRUCTION_LIMIT" ) );
|
||||||
GroupPoints->PushButton1->setIcon( image2 );
|
GroupPoints->PushButton1->setIcon( image2 );
|
||||||
GroupPoints->PushButton2->setIcon( image2 );
|
GroupPoints->PushButton2->setIcon( image2 );
|
||||||
@ -170,7 +170,7 @@ void OperationGUI_PartitionDlg::ConstructorsClicked( int constructorId )
|
|||||||
switch ( constructorId ) {
|
switch ( constructorId ) {
|
||||||
case 0: /*Full partition */
|
case 0: /*Full partition */
|
||||||
GroupPoints->GroupBox1->setTitle( tr( "GEOM_PARTITION" ) );
|
GroupPoints->GroupBox1->setTitle( tr( "GEOM_PARTITION" ) );
|
||||||
GroupPoints->TextLabel2->setText( tr( "GEOM_TOOL_OBJECT" ) );
|
GroupPoints->TextLabel2->setText( tr( "GEOM_TOOL_OBJECTS" ) );
|
||||||
GroupPoints->TextLabel3->show();
|
GroupPoints->TextLabel3->show();
|
||||||
GroupPoints->ComboBox1->show();
|
GroupPoints->ComboBox1->show();
|
||||||
GroupPoints->ComboBox1->setCurrentIndex( 0 );
|
GroupPoints->ComboBox1->setCurrentIndex( 0 );
|
||||||
@ -225,8 +225,10 @@ bool OperationGUI_PartitionDlg::ClickOnApply()
|
|||||||
if ( !onAccept() )
|
if ( !onAccept() )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
||||||
initName();
|
initName();
|
||||||
ConstructorsClicked( getConstructorId() );
|
// 0020854: EDF 1398 GEOM: Ergonomy of Partition GUI window
|
||||||
|
// ConstructorsClicked( getConstructorId() );
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user