Commit 8cc52b9d authored by Gabriel de Dietrich's avatar Gabriel de Dietrich Committed by The Qt Project
Browse files

Menu: Remove 'model' property, ContextMenu


In the near future, we hope that QML types like Creator/Instantiator
(currently under review) will help simplify model binding, and object
creation and deletion. Also, given the differences between QML models
and QAbstractItemModel APIs, it's hard to provide a unified and
elegant solution for this right now.

ComboBox gets the part of the logic that ContextMenu was responsible
for, extended to support string list and number models. Auto-tests
updated and XFAIL removed where applicable.

Change-Id: I9f5d4059644c495bffff76fb7c353e6fe7fde62e
Reviewed-by: default avatarFrederik Gladhorn <frederik.gladhorn@digia.com>
parent 15c57038
Showing with 420 additions and 215 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment