[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 10:17:22 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 11:17 -------
SVN commit 619394 by cgilles:

digikam from trunk : Image editor Level Tool shortcut : use "CTRL+L" instead "SHIFT+L" to prevent conflict with new rule from Comments Text edit widget focus from right side bar and to be homogenous with Photoshop shortcuts.

CCBUGS: 131743




 M  +2 -2      digikamimageplugin_adjustlevels_ui.rc  
 M  +6 -6      imageplugin_adjustlevels.cpp  


--- trunk/extragear/graphics/digikamimageplugins/adjustlevels/digikamimageplugin_adjustlevels_ui.rc #619393:619394
 @ -1,5 +1,5  @
 <!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
-<kpartgui version="2" name="digikamimageplugin_adjustlevels" >
+<kpartgui version="3" name="digikamimageplugin_adjustlevels" >
 
  <MenuBar>
 
 @ -18,7 +18,7  @
  </ToolBar>
  
  <ActionProperties>
-  <Action shortcut="Shift+L" name="imageplugin_adjustlevels" />
+  <Action name="imageplugin_adjustlevels" />
  </ActionProperties>
 
 </kpartgui>
--- trunk/extragear/graphics/digikamimageplugins/adjustlevels/imageplugin_adjustlevels.cpp #619393:619394
 @ -1,10 +1,9  @
 /* ============================================================
- * File  : imageplugin_adjustlevels.cpp
- * Author: Gilles Caulier <caulier dot gilles at kdemail dot net>
- * Date  : 2004-06-04
+ * Authors: Gilles Caulier <caulier dot gilles at kdemail dot net>
+ * Date   : 2004-06-04
  * Description : 
  * 
- * Copyright 2004-2005 by Gilles Caulier
+ * Copyright 2004-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 "adjustlevels.h"
 #include "imageplugin_adjustlevels.h"
+#include "imageplugin_adjustlevels.moc"
 
 K_EXPORT_COMPONENT_FACTORY( digikamimageplugin_adjustlevels,
                             KGenericFactory<ImagePlugin_AdjustLevels>("digikamimageplugin_adjustlevels"))
 @ -40,7 +40,8  @
                                                    const QStringList &)
                         : Digikam::ImagePlugin(parent, "ImagePlugin_AdjustLevels")
 {
-    m_levelsAction = new KAction(i18n("Levels Adjust..."), "adjustlevels", 0, 
+    m_levelsAction = new KAction(i18n("Levels Adjust..."), "adjustlevels", 
+                         CTRL+Key_L,         // NOTE: Photoshop 7 use CTRL+L. 
                          this, SLOT(slotLevelsAdjust()),
                          actionCollection(), "imageplugin_adjustlevels");
 
 @ -68,4 +69,3  @
     delete headerFrame;    
 }
 
-#include "imageplugin_adjustlevels.moc"



More information about the Digikam-devel mailing list