[Digikam-devel] [Bug 130906] Allow user to click text of tags to tag an image (not checkbox only).

Gilles Caulier caulier.gilles at gmail.com
Mon Jul 7 11:33:50 BST 2008


------- 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=130906         




------- Additional Comments From caulier.gilles gmail com  2008-07-07 12:33 -------
Andi,

Yes, it's ound like impossible to separate single and double click behaviours

This is my proposal : always handle single click and ignore double like this:

bool ImageDescEditTab::eventFilter(QObject* obj, QEvent* e)
{
    if (obj == d->tagsView->viewport())
    {
        if (e->type() == QEvent::MouseButtonDblClick)
            return true;

        if (e->type() == QEvent::MouseButtonPress)
        {
...
}

Gilles



More information about the Digikam-devel mailing list