[Digikam-devel] [Bug 131743] Comments and tag edit widgets should retain focus when changing image
Gilles Caulier
caulier.gilles at kdemail.net
Wed Jan 3 12:04:56 GMT 2007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=131743
------- Additional Comments From caulier.gilles kdemail net 2007-01-03 13:04 -------
SVN commit 619427 by cgilles:
digikam from trunk : Image editor Refocus Tool shortcut : use "CTRL+F" instead "SHIFT+F" to prevent conflict with new rule from Comments Text edit widget focus from right side bar.
CCBUGS: 131743
M +2 -2 digikamimageplugin_refocus_ui.rc
M +6 -6 imageplugin_refocus.cpp
--- trunk/extragear/graphics/digikamimageplugins/refocus/digikamimageplugin_refocus_ui.rc #619426:619427
@ -1,5 +1,5 @
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
-<kpartgui version="2" name="digikamimageplugin_refocus" >
+<kpartgui version="3" name="digikamimageplugin_refocus" >
<MenuBar>
@ -15,7 +15,7 @
</ToolBar>
<ActionProperties>
- <Action shortcut="Shift+F" name="imageplugin_refocus" />
+ <Action name="imageplugin_refocus" />
</ActionProperties>
</kpartgui>
--- trunk/extragear/graphics/digikamimageplugins/refocus/imageplugin_refocus.cpp #619426:619427
@ -1,10 +1,9 @
/* ============================================================
- * File : imageplugin_refocus.cpp
- * Author: Gilles Caulier <caulier dot gilles at kdemail dot net>
- * Date : 2005-04-29
+ * Authors: Gilles Caulier <caulier dot gilles at kdemail dot net>
+ * Date : 2005-04-29
* Description :
*
- * Copyright 2005 by Gilles Caulier
+ * Copyright 2005-2007 by Gilles Caulier
*
* This program is free software; you can redistribute it
* and/or modify it under the terms of the GNU General
@ -32,6 +31,7 @
#include "bannerwidget.h"
#include "imageeffect_refocus.h"
#include "imageplugin_refocus.h"
+#include "imageplugin_refocus.moc"
K_EXPORT_COMPONENT_FACTORY( digikamimageplugin_refocus,
KGenericFactory<ImagePlugin_Refocus>("digikamimageplugin_refocus"));
@ -39,7 +39,8 @
ImagePlugin_Refocus::ImagePlugin_Refocus(QObject *parent, const char*, const QStringList &)
: Digikam::ImagePlugin(parent, "ImagePlugin_Refocus")
{
- m_refocusAction = new KAction(i18n("Refocus..."), "refocus", 0,
+ m_refocusAction = new KAction(i18n("Refocus..."), "refocus",
+ CTRL+Key_F,
this, SLOT(slotRefocus()),
actionCollection(), "imageplugin_refocus");
@ -67,4 +68,3 @
delete headerFrame;
}
-#include "imageplugin_refocus.moc"
More information about the Digikam-devel
mailing list