[Uml-devel] branches/work/soc-umbrello/umbrello
Andi Fischer
andi.fischer at hispeed.ch
Mon Jan 9 19:06:36 UTC 2012
SVN commit 1272776 by fischer:
Icons for file export menu items added.
M +3 -3 icon_utils.cpp
M +2 -2 icon_utils.h
M +4 -2 uml.cpp
--- branches/work/soc-umbrello/umbrello/icon_utils.cpp #1272775:1272776
@@ -355,10 +355,10 @@
return "draw-brush";
case it_Color_Fill:
return "fill-color";
- case it_Import_Class:
+ case it_Import_Files:
return "document-import";
- case it_Import_Project:
- return "document-import";
+ case it_Export_Files:
+ return "document-export";
case it_Export_Picture:
return "image-x-generic";
case it_Entity_Attribute:
--- branches/work/soc-umbrello/umbrello/icon_utils.h #1272775:1272776
@@ -147,8 +147,8 @@
it_Parameter_New,
it_Color_Line,
it_Color_Fill,
- it_Import_Class,
- it_Import_Project,
+ it_Import_Files,
+ it_Export_Files,
it_Export_Picture,
it_InitialState,
it_EndState,
--- branches/work/soc-umbrello/umbrello/uml.cpp #1272775:1272776
@@ -4,7 +4,7 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
- * copyright (C) 2002-2011 *
+ * copyright (C) 2002-2012 *
* Umbrello UML Modeller Authors <uml-devel at uml.sf.net> *
***************************************************************************/
@@ -267,15 +267,17 @@
QAction* preferences = KStandardAction::preferences(this, SLOT(slotPrefs()), actionCollection());
QAction* impWizard = actionCollection()->addAction("importing_wizard");
- impWizard->setIcon(Icon_Utils::SmallIcon(Icon_Utils::it_Import_Class));
+ impWizard->setIcon(Icon_Utils::SmallIcon(Icon_Utils::it_Import_Files));
impWizard->setText(i18n("Code &Importing Wizard..."));
connect(impWizard, SIGNAL(triggered(bool)), this, SLOT(slotImportingWizard()));
QAction* genWizard = actionCollection()->addAction("generation_wizard");
+ genWizard->setIcon(Icon_Utils::SmallIcon(Icon_Utils::it_Export_Files));
genWizard->setText(i18n("&Code Generation Wizard..."));
connect(genWizard, SIGNAL(triggered(bool)), this, SLOT(slotExecGenerationWizard()));
QAction* genAll = actionCollection()->addAction("generate_all");
+ genAll->setIcon(Icon_Utils::SmallIcon(Icon_Utils::it_Export_Files));
genAll->setText(i18n("&Generate All Code"));
connect(genAll, SIGNAL(triggered(bool)), this, SLOT(slotGenerateAllCode()));
More information about the umbrello-devel
mailing list