0020854: EDF 1398 GEOM: Ergonomy of Partition GUI window

This commit is contained in:
dmv 2010-04-29 13:31:29 +00:00
parent fb1d55ac4a
commit c1f3a6e0c3
2 changed files with 9 additions and 3 deletions

View File

@ -1859,6 +1859,10 @@ Please, select face, shell or solid and try again</translation>
<source>GEOM_TOOL_OBJECT</source>
<translation>Tool Object</translation>
</message>
<message>
<source>GEOM_TOOL_OBJECTS</source>
<translation>Tool Objects</translation>
</message>
<message>
<source>GEOM_TORUS</source>
<translation>Torus</translation>

View File

@ -70,7 +70,7 @@ OperationGUI_PartitionDlg::OperationGUI_PartitionDlg( GeometryGUI* theGeometryGU
GroupPoints = new DlgRef_2Sel1List1Check( centralWidget() );
GroupPoints->GroupBox1->setTitle( tr( "GEOM_PARTITION" ) );
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->PushButton1->setIcon( image2 );
GroupPoints->PushButton2->setIcon( image2 );
@ -170,7 +170,7 @@ void OperationGUI_PartitionDlg::ConstructorsClicked( int constructorId )
switch ( constructorId ) {
case 0: /*Full 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->ComboBox1->show();
GroupPoints->ComboBox1->setCurrentIndex( 0 );
@ -225,8 +225,10 @@ bool OperationGUI_PartitionDlg::ClickOnApply()
if ( !onAccept() )
return false;
initName();
ConstructorsClicked( getConstructorId() );
// 0020854: EDF 1398 GEOM: Ergonomy of Partition GUI window
// ConstructorsClicked( getConstructorId() );
return true;
}