Update the "Colors / Size" dialog.

This commit is contained in:
gdd 2012-02-27 11:09:21 +00:00
parent a2b5a4c6cc
commit e16988d581
7 changed files with 94 additions and 12 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

@ -417,6 +417,8 @@ The enforced vertex is the projection of a point defined by its
<li>If a group name is specified, the enforced nodes will be added in the group. If the group does not exist it will be created.
</ul>
You can specify BLSURF to use the internal vertices of the faces as enforced vertices by checking <i>Use internal vertices</i>.
<br><b>See Also</b> a sample TUI Script of the \ref tui_blsurf "creation of a BLSurf hypothesis", including enforced vertices.
\ref blsurf_top "Back to top"

View File

@ -1,6 +1,6 @@
/*!
\page colors_size_page Colors / Size
\page colors_size_page Display settings
\image html colors_size.png
@ -16,7 +16,7 @@ generated on base of the <b>Surface color</b> by changing its brightness and sat
<li><b>Wireframe color</b> - color of element borders in wireframe mode.</li>
<li><b>0D slements</b> - color of 0D elements.</li>
<li><b>Size of 0D slements</b> - size of 0D elements.</li>
<li><b>Width</b> - width of lines (edges and borders of elements).</li>
<li><b>Line width</b> - width of lines (edges and borders of elements).</li>
<li><b>Shrink coef.</b> - relative space of elements compared to gaps between
them in shrink mode.</li>
</ul>

View File

@ -2145,7 +2145,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
case 1134: // Clipping
case 1133: // Tranparency
case 1132: // Colors / Size
case 1132: // Display preferences (colors, shrink size, line width, ...)
// Display Mode
case 215: // Nodes

View File

@ -66,7 +66,7 @@ SMESHGUI_Preferences_ColorDlg::SMESHGUI_Preferences_ColorDlg( SMESHGUI* theModul
mySMESHGUI( theModule )
{
setModal( true );
setWindowTitle( tr( "Preferences - Set Color" ) );
setWindowTitle( tr( "Display settings (color, line width, shrink size, ...)" ) );
setSizeGripEnabled( true );
// -------------------------------
@ -83,7 +83,7 @@ SMESHGUI_Preferences_ColorDlg::SMESHGUI_Preferences_ColorDlg( SMESHGUI* theModul
QLabel* TextLabel_Fill = new QLabel( tr( "Surface color" ), ButtonGroup1 );
toolSurfColor = new QtxBiColorTool(ButtonGroup1);
toolSurfColor->setText("Back surface color");
toolSurfColor->setText( tr( "Back surface color" ));
QLabel* TextLabel_Outline = new QLabel( tr( "Outline color" ), ButtonGroup1 );
btnOutlineColor = new QtxColorButton( ButtonGroup1 );
@ -102,7 +102,7 @@ SMESHGUI_Preferences_ColorDlg::SMESHGUI_Preferences_ColorDlg( SMESHGUI* theModul
SpinBox_0DElements_Size->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed ) );
SpinBox_0DElements_Size->setButtonSymbols( QSpinBox::PlusMinus );
QLabel* TextLabel_Width = new QLabel( tr( "Width" ), ButtonGroup1 );
QLabel* TextLabel_Width = new QLabel( tr( "Line width" ), ButtonGroup1 );
SpinBox_Width = new SalomeApp_IntSpinBox( ButtonGroup1 );
SpinBox_Width->setAcceptNames( false ); // No Notebook variables allowed
SpinBox_Width->setRange( 1, 5 );

View File

@ -205,7 +205,7 @@
</message>
<message>
<source>MEN_COLORS</source>
<translation>Colors / Size</translation>
<translation>Display settings</translation>
</message>
<message>
<source>MEN_COMPUTE</source>
@ -2497,7 +2497,7 @@ Please check preferences of Mesh module.
</message>
<message>
<source>STB_COLORS</source>
<translation>Colors / Size</translation>
<translation>Display settings</translation>
</message>
<message>
<source>STB_COMPUTE</source>
@ -3057,7 +3057,7 @@ Please check preferences of Mesh module.
</message>
<message>
<source>TOP_COLORS</source>
<translation>Colors / Size</translation>
<translation>Display settings</translation>
</message>
<message>
<source>TOP_COMPUTE</source>

View File

@ -205,7 +205,7 @@
</message>
<message>
<source>MEN_COLORS</source>
<translation>Couleurs / Taille</translation>
<translation>Paramètres d&apos;affichage</translation>
</message>
<message>
<source>MEN_COMPUTE</source>
@ -927,6 +927,78 @@
<source>STB_SPLIT_TO_TETRA</source>
<translation>Eclater en tétraèdres</translation>
</message>
<message>
<source>Display settings (color, line width, shrink size, ...)</source>
<translation>Paramètres d&apos;affichage (couleur, épaisseur des traits, taille des éléments réduits, ...)</translation>
</message>
<message>
<source>Elements</source>
<translation>Eléments</translation>
</message>
<message>
<source>Surface color</source>
<translation>Couleur de surface</translation>
</message>
<message>
<source>Back surface color</source>
<translation>Couleur arrière</translation>
</message>
<message>
<source>Outline color</source>
<translation>Couleur de contour</translation>
</message>
<message>
<source>Wireframe color</source>
<translation>Couleur en mode fil de fer</translation>
</message>
<message>
<source>0D elements</source>
<translation>Eléments 0D</translation>
</message>
<message>
<source>Size of 0D elements</source>
<translation>Taille des éléments 0D</translation>
</message>
<message>
<source>Line width</source>
<translation>Epaisseur des traits</translation>
</message>
<message>
<source>Shrink coef.</source>
<translation>Coef. de contraction</translation>
</message>
<message>
<source>Nodes</source>
<translation>Nœuds</translation>
</message>
<message>
<source>Color</source>
<translation>Couleur</translation>
</message>
<message>
<source>Marker</source>
<translation>Marqueur</translation>
</message>
<message>
<source>Orientation of faces</source>
<translation>Orientation des faces</translation>
</message>
<message>
<source>Scale</source>
<translation>Facteur d'échelle</translation>
</message>
<message>
<source>3D vectors</source>
<translation>Vecteurs 3D</translation>
</message>
<message>
<source>&amp;Cancel</source>
<translation>&amp;Annuler</translation>
</message>
<message>
<source>&amp;Help</source>
<translation>Ai&amp;de</translation>
</message>
<message>
<source>MESHERS_FILE_CANT_OPEN</source>
<translation>Impossible d&apos;ouvrir le fichier de ressource</translation>
@ -2497,7 +2569,7 @@ Vérifiez la limite dans les préférences du module Mesh.
</message>
<message>
<source>STB_COLORS</source>
<translation>Couleurs / Taille</translation>
<translation>Paramètres d&apos;affichage</translation>
</message>
<message>
<source>STB_COMPUTE</source>
@ -3057,7 +3129,7 @@ Vérifiez la limite dans les préférences du module Mesh.
</message>
<message>
<source>TOP_COLORS</source>
<translation>Couleurs / Taille</translation>
<translation>Paramètres d&apos;affichage</translation>
</message>
<message>
<source>TOP_COMPUTE</source>
@ -3688,6 +3760,14 @@ Ouvrez une fenêtre VTK et essayez de nouveau</translation>
<source>PREF_NB_SEGMENTS</source>
<translation>Nombre de segments par défaut</translation>
</message>
<message>
<source>SMESH_PREF_MESH_LOADING</source>
<translation>Chargement de maillage</translation>
</message>
<message>
<source>PREF_FORGET_MESH_AT_HYP_MODIF</source>
<translation>Ne pas charger le maillage du fichier d'étude à la modification d'une hypothèse</translation>
</message>
<message>
<source>PREF_AUTO_UPDATE</source>
<translation>Mettre à jour automatiquement</translation>