[Kst] extragear/graphics/kst/src/libkstapp

Eli Fidler eli at staikos.net
Thu Mar 1 19:49:58 CET 2007


SVN commit 638375 by fidler:

remove "Create New Object" label, change toolbox headings to add
"Create" appropriately

re: bug 140518


 M  +0 -11     datamanager.ui  
 M  +8 -8      kstdatamanager_i.cpp  


--- trunk/extragear/graphics/kst/src/libkstapp/datamanager.ui #638374:638375
@@ -50,17 +50,6 @@
 					<property name="name">
 						<cstring>unnamed</cstring>
 					</property>
-					<widget class="QLabel">
-						<property name="name">
-							<cstring>label1</cstring>
-						</property>
-						<property name="text">
-							<string>&lt;b&gt;Create New Object&lt;/b&gt;</string>
-						</property>
-						<property name="alignment">
-							<set>AlignVCenter</set>
-						</property>
-					</widget>
 					<widget class="QToolBox">
 						<property name="name">
 							<cstring>ToolBox</cstring>
--- trunk/extragear/graphics/kst/src/libkstapp/kstdatamanager_i.cpp #638374:638375
@@ -622,22 +622,22 @@
   QMainWindow *main = static_cast<QMainWindow*>(parent);
   main->setUsesTextLabel(true);
 
-  _primitive = new QToolBar(i18n("Primitive Objects"), main, this);
+  _primitive = new QToolBar(i18n("Create Primitive"), main, this);
   _primitive->setFrameStyle(QFrame::NoFrame);
   _primitive->setOrientation(Qt::Vertical);
   _primitive->setBackgroundMode(PaletteBase);
 
-  _data = new QToolBar(i18n("Data Objects"), main, this);
+  _data = new QToolBar(i18n("Create Data Object"), main, this);
   _data->setFrameStyle(QFrame::NoFrame);
   _data->setOrientation(Qt::Vertical);
   _data->setBackgroundMode(PaletteBase);
 
-  _fits = new QToolBar(i18n("Fit Objects"), main, this);
+  _fits = new QToolBar(i18n("Create Fit"), main, this);
   _fits->setFrameStyle(QFrame::NoFrame);
   _fits->setOrientation(Qt::Vertical);
   _fits->setBackgroundMode(PaletteBase);
 
-  _filters = new QToolBar(i18n("Filter Objects"), main, this);
+  _filters = new QToolBar(i18n("Create Filter"), main, this);
   _filters->setFrameStyle(QFrame::NoFrame);
   _filters->setOrientation(Qt::Vertical);
   _filters->setBackgroundMode(PaletteBase);
@@ -698,10 +698,10 @@
   _fits->setUpdatesEnabled(true);
   _filters->setUpdatesEnabled(true);
 
-  ToolBox->addItem(_primitive, i18n("Primitive Objects"));
-  ToolBox->addItem(_data, i18n("Data Objects"));
-  ToolBox->addItem(_fits, i18n("Fit Objects"));
-  ToolBox->addItem(_filters, i18n("Filter Objects"));
+  ToolBox->addItem(_primitive, i18n("Create Primitive"));
+  ToolBox->addItem(_data, i18n("Create Data Object"));
+  ToolBox->addItem(_fits, i18n("Create Fit"));
+  ToolBox->addItem(_filters, i18n("Create Filter"));
 }
 
 


More information about the Kst mailing list