[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:34:14 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:34 -------
SVN commit 619407 by cgilles:

digikam from trunk : Image editor White Balance Tool shortcut : use "CTRL+W" instead "SHIFT+W" to prevent conflict with new rule from Comments Text edit widget focus from right side bar.

CCBUGS: 131743




 M  +2 -2      digikamimageplugin_whitebalance_ui.rc  
 M  +4 -5      imageplugin_whitebalance.cpp  


--- trunk/extragear/graphics/digikamimageplugins/whitebalance/digikamimageplugin_whitebalance_ui.rc #619406:619407
 @ -1,5 +1,5  @
 <!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
-<kpartgui version="2" name="digikamimageplugin_whitebalance" >
+<kpartgui version="3" name="digikamimageplugin_whitebalance" >
 
  <MenuBar>
  
 @ -18,7 +18,7  @
  </ToolBar>
  
  <ActionProperties>
-  <Action shortcut="Shift+W" name="imageplugin_whitebalance" />
+  <Action name="imageplugin_whitebalance" />
  </ActionProperties>
 
 </kpartgui>
--- trunk/extragear/graphics/digikamimageplugins/whitebalance/imageplugin_whitebalance.cpp #619406:619407
 @ -1,10 +1,9  @
 /* ============================================================
- * File  : imageplugin_whitebalance.cpp
  * Author: Gilles Caulier <caulier dot gilles at kdemail dot net>
  * Date  : 2005-03-11
  * 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_whitebalance.h"
 #include "imageplugin_whitebalance.h"
+#include "imageplugin_whitebalance.moc"
 
 K_EXPORT_COMPONENT_FACTORY( digikamimageplugin_whitebalance,
                             KGenericFactory<ImagePlugin_WhiteBalance>("digikamimageplugin_whitebalance"));
 @ -39,7 +39,8  @
 ImagePlugin_WhiteBalance::ImagePlugin_WhiteBalance(QObject *parent, const char*, const QStringList &)
                         : Digikam::ImagePlugin(parent, "ImagePlugin_WhiteBalance")
 {
-    m_whitebalanceAction = new KAction(i18n("White Balance..."), "whitebalance", 0, 
+    m_whitebalanceAction = new KAction(i18n("White Balance..."), "whitebalance", 
+                               CTRL+Key_W, 
                                this, SLOT(slotWhiteBalance()),
                                actionCollection(), "imageplugin_whitebalance");
     
 @ -66,5 +67,3  @
     dlg.exec();
     delete headerFrame; 
 }
-
-#include "imageplugin_whitebalance.moc"



More information about the Digikam-devel mailing list