[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 11:47:45 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 12:47 -------
SVN commit 619423 by cgilles:

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

CCBUGS: 131743




 M  +2 -2      digikamimageplugin_inserttext_ui.rc  
 M  +6 -6      imageplugin_inserttext.cpp  


--- trunk/extragear/graphics/digikamimageplugins/inserttext/digikamimageplugin_inserttext_ui.rc #619422:619423
 @ -1,5 +1,5  @
 <!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
-<kpartgui version="2" name="digikamimageplugin_inserttext" >
+<kpartgui version="3" name="digikamimageplugin_inserttext" >
 
  <MenuBar>
 
 @ -15,7 +15,7  @
  </ToolBar>
  
  <ActionProperties>
-  <Action shortcut="Shift+T" name="imageplugin_inserttext" />
+  <Action name="imageplugin_inserttext" />
  </ActionProperties>
 
 </kpartgui>
--- trunk/extragear/graphics/digikamimageplugins/inserttext/imageplugin_inserttext.cpp #619422:619423
 @ -1,10 +1,9  @
 /* ============================================================
- * File  : imageplugin_inserttext.cpp
- * Author: Gilles Caulier <caulier dot gilles at kdemail dot net>
- * Date  : 2005-01-20
+ * Authors: Gilles Caulier <caulier dot gilles at kdemail dot net>
+ * Date   : 2005-01-20
  * 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_inserttext.h"
 #include "imageplugin_inserttext.h"
+#include "imageplugin_inserttext.moc"
 
 K_EXPORT_COMPONENT_FACTORY( digikamimageplugin_inserttext,
                             KGenericFactory<ImagePlugin_InsertText>("digikamimageplugin_inserttext"));
 @ -39,7 +39,8  @
 ImagePlugin_InsertText::ImagePlugin_InsertText(QObject *parent, const char*, const QStringList &)
                       : Digikam::ImagePlugin(parent, "ImagePlugin_InsertText")
 {
-    m_insertTextAction = new KAction(i18n("Insert Text..."), "inserttext", 0, 
+    m_insertTextAction = new KAction(i18n("Insert Text..."), "inserttext", 
+                         CTRL+Key_T, 
                          this, SLOT(slotInsertText()),
                          actionCollection(), "imageplugin_inserttext");
 
 @ -67,4 +68,3  @
     delete headerFrame;
 }
 
-#include "imageplugin_inserttext.moc"



More information about the Digikam-devel mailing list