- l->addWidget( aNameLab, 0, 0 );
- l->addWidget( aName, 0, 1 );
- l->addWidget( aNodesLab, 1, 0, 1, 2 );
- l->addWidget( aNodesFreeLab, 2, 0 );
- l->addWidget( aNodesFree, 2, 1 );
- l->addWidget( aNodesDoubleLab, 3, 0 );
- l->addWidget( aNodesDouble, 3, 1 );
- l->addWidget( anEdgesLab, 4, 0, 1, 2 );
- l->addWidget( anEdgesDoubleLab, 5, 0 );
- l->addWidget( anEdgesDouble, 5, 1 );
- l->addWidget( aFacesLab, 6, 0, 1, 2 );
- l->addWidget( aFacesDoubleLab, 7, 0 );
- l->addWidget( aFacesDouble, 7, 1 );
- l->addWidget( aFacesOverLab, 8, 0 );
- l->addWidget( aFacesOver, 8, 1 );
- l->addWidget( anAspectRatioLab, 9, 0 );
- l->addWidget( myComputeFaceBtn, 9, 1 );
- l->addWidget( myPlot, 10, 0, 1, 2 );
- l->addWidget( aVolumesLab, 11, 0, 1, 2 );
- l->addWidget( aVolumesDoubleLab, 12, 0 );
- l->addWidget( aVolumesDouble, 12, 1 );
- l->addWidget( aVolumesOverLab, 13, 0 );
- l->addWidget( aVolumesOver, 13, 1 );
- l->addWidget( anAspectRatio3DLab, 14, 0 );
- l->addWidget( myComputeVolumeBtn, 14, 1 );
- l->addWidget( myPlot3D, 15, 0, 1, 2 );
+ myMainLayout->addWidget( aNameLab, 0, 0 ); //0
+ myMainLayout->addWidget( aName, 0, 1, 1, 2 ); //1
+ myMainLayout->addWidget( aNodesLab, 1, 0, 1, 3 ); //2
+ myMainLayout->addWidget( aNodesFreeLab, 2, 0 ); //3
+ myMainLayout->addWidget( aNodesFree, 2, 1 ); //4
+ myMainLayout->addWidget( aFreeNodesBtn, 2, 2 ); //5
+ myMainLayout->addWidget( aNodesDoubleLab, 3, 0 ); //6
+ myMainLayout->addWidget( aNodesDouble, 3, 1 ); //7
+ myMainLayout->addWidget( aDoubleNodesBtn, 3, 2 ); //8
+ myMainLayout->addWidget( aToleranceLab, 4, 0 ); //9
+ myMainLayout->addWidget( myToleranceWidget, 4, 1 ); //10
+ myMainLayout->addWidget( anEdgesLab, 5, 0, 1, 3 ); //11
+ myMainLayout->addWidget( anEdgesDoubleLab, 6, 0 ); //12
+ myMainLayout->addWidget( anEdgesDouble, 6, 1 ); //13
+ myMainLayout->addWidget( aDoubleEdgesBtn, 6, 2 ); //14
+ myMainLayout->addWidget( aFacesLab, 7, 0, 1, 3 ); //15
+ myMainLayout->addWidget( aFacesDoubleLab, 8, 0 ); //16
+ myMainLayout->addWidget( aFacesDouble, 8, 1 ); //17
+ myMainLayout->addWidget( aDoubleFacesBtn, 8, 2 ); //18
+ myMainLayout->addWidget( aFacesOverLab, 9, 0 ); //19
+ myMainLayout->addWidget( aFacesOver, 9, 1 ); //20
+ myMainLayout->addWidget( aOverContFacesBtn, 9, 2 ); //21
+ myMainLayout->addWidget( anAspectRatioLab, 10, 0 ); //22
+ myMainLayout->addWidget( aComputeFaceBtn, 10, 2 ); //23
+ myMainLayout->addWidget( myPlot, 11, 0, 1, 3 );//24
+ myMainLayout->addWidget( aVolumesLab, 12, 0, 1, 3 );//25
+ myMainLayout->addWidget( aVolumesDoubleLab, 13, 0 ); //26
+ myMainLayout->addWidget( aVolumesDouble, 13, 1 ); //27
+ myMainLayout->addWidget( aDoubleVolumesBtn, 13, 2 ); //28
+ myMainLayout->addWidget( aVolumesOverLab, 14, 0 ); //28
+ myMainLayout->addWidget( aVolumesOver, 14, 1 ); //30
+ myMainLayout->addWidget( aOverContVolumesBtn,14, 2 ); //31
+ myMainLayout->addWidget( anAspectRatio3DLab, 15, 0 ); //32
+ myMainLayout->addWidget( aComputeVolumeBtn, 15, 2 ); //33
+ myMainLayout->addWidget( myPlot3D, 16, 0, 1, 3 );//34