[Webkit-unassigned] [Bug 85527] [Qt][WK2] Add support for multi-select list

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 1 05:05:46 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=85527





--- Comment #25 from Tor Arne Vestbø <vestbo at webkit.org>  2012-06-01 05:05:45 PST ---
(From update of attachment 145197)
View in context: https://bugs.webkit.org/attachment.cgi?id=145197&action=review

> Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_multiSelect.qml:23
> +            if (model.allowMultiSelect && selectItems){
> +                for (var i = 0; i <  selectedIndices.length; i++)
> +                    model.accept(selectedIndices[i])
> +            }
> +            model.dismiss();

I think perhaps a better API for this would be a bunch of select(index), with a following accept()

accept(index) would be shorthand for select(index) && accept()

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list