]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
comit mistake
authorana <ana@opencascade.com>
Wed, 19 Oct 2011 09:29:34 +0000 (09:29 +0000)
committerana <ana@opencascade.com>
Wed, 19 Oct 2011 09:29:34 +0000 (09:29 +0000)
src/LightApp/LightApp_Application.cxx
src/LightApp/resources/LightApp.xml
src/LightApp/resources/LightApp_msg_en.ts

index f6401978fa04813560ccac85728fb8d9b190093a..bf1eac2548ec33ea1c69239f6109823aaad7ee8c 100644 (file)
@@ -87,7 +87,6 @@
 #include <QtxSearchTool.h>
 #include <QtxWorkstack.h>
 #include <QtxMap.h>
-#include <QtxFontEdit.h>
 
 #include <LogWindow.h>
 
@@ -2199,10 +2198,6 @@ void LightApp_Application::createPreferences( LightApp_Preferences* pref )
   pref->setItemProperty( "strings", aValuesList,   legendPosition );
   pref->setItemProperty( "indexes", anIndicesList, legendPosition );
 
-  pref->addPreference( tr( "PREF_FONT" ), plot2dGroup, LightApp_Preferences::Font, "Plot2d", "LegendFont" );
-  
-  pref->addPreference( tr( "PREF_FONT_COLOR" ), plot2dGroup, LightApp_Preferences::Color, "Plot2d", "LegendColor" );
-
   int curveType = pref->addPreference( tr( "PREF_CURVE_TYPE" ), plot2dGroup,
                                        LightApp_Preferences::Selector, "Plot2d", "CurveType" );
   aValuesList.clear();
@@ -3673,3 +3668,5 @@ bool LightApp_Application::renameAllowed( const QString& /*entry*/) const {
 bool LightApp_Application::renameObject( const QString& entry, const QString& ) {
   return false;
 }
+
+
index b5be16a2a00b7b3ed0fbb0094b8405447a9c655e..c843ec60af8d3e8b3aa284c87bd16864e2a95f87 100644 (file)
     <parameter name="CurveType"    value="1" />
     <parameter name="HorScaleMode" value="0" />
     <parameter name="LegendPos"    value="1" />
-    <parameter name="LegendFont"   value="Helvetic,12" />
-    <parameter name="LegendColor"  value="0, 0, 0" />
     <parameter name="MarkerSize"   value="9" />
     <parameter name="ShowLegend"   value="true" />
     <parameter name="VerScaleMode" value="0" />
     <parameter value="/usr/bin/mozilla" name="application" />
   </section>
 </document>
+
+
index 1400b9c76a9bd87845446b08b863c991e2888f35..de7135bb059f4e3ad84beaf3dd8d4b79f19b0f25 100644 (file)
@@ -478,10 +478,6 @@ The changes will be applied on the next application session.</translation>
         <source>PREF_FONT</source>
         <translation>Font</translation>
     </message>
-    <message>
-        <source>PREF_FONT_COLOR</source>
-        <translation>Legend font color</translation>
-    </message>
     <message>
         <source>PREF_LEFT</source>
         <translation>Left</translation>
@@ -822,3 +818,5 @@ File does not exist</translation>
     </message>
 </context>
 </TS>
+
+