|
From: Gustavo P. B. <gb...@us...> - 2005-06-23 18:32:34
|
Update of /cvsroot/kimageprocess/kimageprocess/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18384 Modified Files: kimageprocess.cpp kimageprocess.h kimageprocessui.rc Log Message: - Copyright fix - Added two actions for data extraction Index: kimageprocess.h =================================================================== RCS file: /cvsroot/kimageprocess/kimageprocess/src/kimageprocess.h,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- kimageprocess.h 23 Jun 2005 03:18:47 -0000 1.9 +++ kimageprocess.h 23 Jun 2005 18:32:24 -0000 1.10 @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2004 by * + * Copyright (C) 2004-2005 by * * Gustavo Pichorim Boiko <gus...@kd...> * * Herton Ronaldo Krzesinski <he...@my...> * * * @@ -109,6 +109,8 @@ void projectDelSample(); void projectAddImage(); void projectDelImage(); + void projectCalculateSampleData(); + void projectCalculateTestData(); void changeStatusbar(const QString& text); void changeCaption(const QString& text); @@ -132,6 +134,8 @@ KAction *m_projectDelImageAction; KAction *m_projectGenerateTestPattern; KAction *m_projectGeneratePatternsAction; + KAction *m_projectCalculateSampleData; + KAction *m_projectCalculateTestData; KRecentFilesAction *m_recentFiles; }; Index: kimageprocessui.rc =================================================================== RCS file: /cvsroot/kimageprocess/kimageprocess/src/kimageprocessui.rc,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- kimageprocessui.rc 15 Mar 2005 23:02:04 -0000 1.6 +++ kimageprocessui.rc 23 Jun 2005 18:32:24 -0000 1.7 @@ -13,12 +13,12 @@ <Separator lineSeparator="true"/> <Action name="project_add_sample" /> <Action name="project_add_image" /> - <Action name="project_open_res" /> + <Separator lineSeparator="true"/> + <Action name="project_calc_sample_data"/> + <Action name="project_calc_test_data"/> + <Separator lineSeparator="true"/> <Action name="project_quit" /> </Menu> - <Menu name="plugins"><text>Plugins</text> - <DefineGroup name="plugin_menu" /> - </Menu> </MenuBar> <ToolBar fullWidth="true" name="mainToolBar"> <Action name="project_new"/> @@ -31,6 +31,8 @@ <Action name="project_del_sample"/> <Action name="project_add_image"/> <Action name="project_del_image"/> - <Action name="project_open_res"/> + <Separator lineSeparator="true"/> + <Action name="project_calc_sample_data"/> + <Action name="project_calc_test_data"/> </ToolBar> </kpartgui> Index: kimageprocess.cpp =================================================================== RCS file: /cvsroot/kimageprocess/kimageprocess/src/kimageprocess.cpp,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- kimageprocess.cpp 23 Jun 2005 03:18:47 -0000 1.21 +++ kimageprocess.cpp 23 Jun 2005 18:32:24 -0000 1.22 @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2004 by * + * Copyright (C) 2004-2005 by * * Gustavo Pichorim Boiko <gus...@kd...> * * Herton Ronaldo Krzesinski <he...@my...> * * * @@ -190,6 +190,14 @@ m_projectDelImageAction = new KAction(i18n("Remove T&esting Image"), 0, this, SLOT(projectDelImage()), actionCollection(), "project_del_image"); + + m_projectCalculateSampleData = new KAction(i18n("Calculate &Sample Data"), 0, + this, SLOT(projectCalculateSampleData()), + actionCollection(), "project_calc_sample_data"); + + m_projectCalculateTestData = new KAction(i18n("Calculate Testing &Data"), 0, + this, SLOT(projectCalculateTestData()), + actionCollection(), "project_calc_test_data"); createGUI(); } @@ -405,6 +413,14 @@ KTProject::self()->removeTestingImage(itm->img()); } +void KImageProcess::projectCalculateSampleData() +{ +} + +void KImageProcess::projectCalculateTestData() +{ +} + void KImageProcess::changeStatusbar(const QString& text) { // display the text on the statusbar @@ -421,4 +437,5 @@ { load(url); } + #include "kimageprocess.moc" |