[Digikam-devel] extragear/graphics/digikam/utilities/cameragui

Gilles Caulier caulier.gilles at free.fr
Tue Apr 11 11:18:24 BST 2006


SVN commit 528526 by cgilles:

digikam from trunk : camera gui  : 

- Disable 'Advanced Settings' sidebar tab during download.
- Add standard keyboard shorcuts to Select All, Select None, and Invert Selection

CCMAIL: digikam-devel at kde.org

 M  +6 -3      cameraui.cpp  


--- trunk/extragear/graphics/digikam/utilities/cameragui/cameraui.cpp #528525:528526
@@ -275,9 +275,9 @@
     // -------------------------------------------------------------------------
     
     QPopupMenu* selectMenu = new QPopupMenu(this);
-    selectMenu->insertItem(i18n("Select &All"),       d->view, SLOT(slotSelectAll()));
-    selectMenu->insertItem(i18n("Select N&one"),      d->view, SLOT(slotSelectNone()));
-    selectMenu->insertItem(i18n("&Invert Selection"), d->view, SLOT(slotSelectInvert()));
+    selectMenu->insertItem(i18n("Select &All"),       d->view, SLOT(slotSelectAll()),    CTRL+Key_A);
+    selectMenu->insertItem(i18n("Select N&one"),      d->view, SLOT(slotSelectNone()),   CTRL+Key_U);
+    selectMenu->insertItem(i18n("&Invert Selection"), d->view, SLOT(slotSelectInvert()), CTRL+Key_Asterisk);
     selectMenu->insertSeparator();
     selectMenu->insertItem(i18n("Select &New Items"), d->view, SLOT(slotSelectNew()));
     actionButton(User3)->setPopup(selectMenu);    
@@ -478,6 +478,7 @@
 
         d->busy = false;
         d->cancelBtn->setEnabled(false);
+        d->advBox->setEnabled(true);
         enableButton(User2, true);
         enableButton(User1, true);
         d->anim->stop();
@@ -491,8 +492,10 @@
         
         if (!d->anim->running())
             d->anim->start();
+            
         d->busy = true;
         d->cancelBtn->setEnabled(true);
+        d->advBox->setEnabled(false);
         enableButton(User2, false);
         enableButton(User1, false);
     }



More information about the Digikam-devel mailing list