msgid "ICON_STREAM_LINES"
msgstr "Visu_streamlines.png"
-msgid "ICON_ERASE"
-msgstr "Visu_eraseall.png"
-
msgid "ICON_PLOT2D"
msgstr "Visu_plot2d.png"
+# Representation menu
+
+msgid "ICON_POINTS"
+msgstr "Visu_points.png"
+
msgid "ICON_WIREFRAME"
msgstr "Visu_wireframe.png"
msgid "ICON_SURFACE"
msgstr "Visu_surface.png"
-msgid "ICON_POINTS"
-msgstr "Visu_points.png"
+msgid "ICON_ERASE_ALL"
+msgstr "Visu_eraseall.png"
+
+msgid "ICON_GLOBAL_SELECTION"
+msgstr "Visu_selectall.png"
+
+msgid "ICON_PARTIAL_SELECTION"
+msgstr "Visu_selectonly.png"
+
+msgid "ICON_SCALING"
+msgstr "Visu_scaling.png"
+
+#
msgid "ICON_TIMEANIMATION"
msgstr "Visu_anim.png"
pPresent = dynamic_cast<VISU::Mesh_i*>(VISU::GetServant(aMesh).in());
if (pPresent == NULL) {
SUIT_MessageBox::warn1 (GetDesktop(this),
- tr("VISU_WARNING"),
+ tr("WRN_VISU"),
tr("ERR_CANT_BUILD_PRESENTATION"),
tr("BUT_OK"));
return;
} catch (std::runtime_error& exc) {
INFOS(exc.what());
SUIT_MessageBox::warn1 (GetDesktop(this),
- tr("VISU_WARNING"),
+ tr("WRN_VISU"),
tr("ERR_CANT_CREATE_ACTOR") + " " + tr(exc.what()),
tr("BUT_OK"));
}
VisuGUI_CursorDlg* CursorDlg =
new VisuGUI_CursorDlg (GetDesktop(this), tr("DLG_LINEWIDTH_TITLE"), TRUE);
- CursorDlg->Comment1->setText("DLG_LINEWIDTH_CMT1");
- CursorDlg->Comment2->setText("DLG_LINEWIDTH_CMT2");
+ CursorDlg->Comment1->setText(tr("DLG_LINEWIDTH_CMT1"));
+ CursorDlg->Comment2->setText(tr("DLG_LINEWIDTH_CMT2"));
CursorDlg->SpinBox1->setMinValue(1);
CursorDlg->SpinBox1->setMaxValue(10);
createAction( VISU_ANIMATION, tr("MEN_ANIMATION"), QIconSet(aPixmap), tr("MEN_ANIMATION"), "", 0, aParent, false,
this, SLOT(OnTimeAnimation()));
- aPixmap = aResourceMgr->loadPixmap("VISU",tr("ICON_ERASE"));
+ aPixmap = aResourceMgr->loadPixmap("VISU",tr("ICON_ERASE_ALL"));
createAction( VISU_ERASE_ALL, tr("MEN_ERASE_ALL"), QIconSet(aPixmap),
tr("MEN_ERASE_ALL"), "", 0, aParent, false,
this, SLOT(OnEraseAll()));
- //aPixmap = aResourceMgr->loadPixmap("VISU",tr(""));
- createAction( VISU_GLOBAL_SELECTION, tr("MEN_GLOBAL_SELECTION"), QIconSet(),
+ aPixmap = aResourceMgr->loadPixmap("VISU",tr("ICON_GLOBAL_SELECTION"));
+ createAction( VISU_GLOBAL_SELECTION, tr("MEN_GLOBAL_SELECTION"), QIconSet(aPixmap),
tr("MEN_GLOBAL_SELECTION"), "", 0, aParent, false,
//this, SLOT(OnEraseAll()));
this);
- //aPixmap = aResourceMgr->loadPixmap("VISU",tr(""));
- createAction( VISU_PARTIAL_SELECTION, tr("MEN_PARTIAL_SELECTION"), QIconSet(),
+ aPixmap = aResourceMgr->loadPixmap("VISU",tr("ICON_PARTIAL_SELECTION"));
+ createAction( VISU_PARTIAL_SELECTION, tr("MEN_PARTIAL_SELECTION"), QIconSet(aPixmap),
tr("MEN_PARTIAL_SELECTION"), "", 0, aParent, false,
//this, SLOT(OnEraseAll()));
this);
- //aPixmap = aResourceMgr->loadPixmap("VISU",tr(""));
- createAction( VISU_SCALING, tr("MEN_SCALING"), QIconSet(),
+ aPixmap = aResourceMgr->loadPixmap("VISU",tr("ICON_SCALING"));
+ createAction( VISU_SCALING, tr("MEN_SCALING"), QIconSet(aPixmap),
tr("MEN_SCALING"), "", 0, aParent, false,
this, SLOT(OnScaling()));
}
aFontsLst.append("Times");
myTitColor = new QToolButton(aTitleGrp);
+ myTitColor->setUsesTextLabel(true);
+ myTitColor->setTextLabel(" ");
connect( myTitColor, SIGNAL(clicked()), this, SLOT(setTitleColor()) );
aTitleLayout->addWidget(myTitColor, 1, 0);
aLabelLayout->setMargin( 3 );
myLblColor = new QToolButton(aLabelsGrp);
+ myLblColor->setUsesTextLabel(true);
+ myLblColor->setTextLabel(" ");
connect( myLblColor, SIGNAL(clicked()), this, SLOT(setLabelColor()) );
aLabelLayout->addWidget(myLblColor, 0, 0);