--===============3078309884206985349== Content-Type: multipart/alternative; boundary="===============3078262022788960197==" --===============3078262022788960197== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/106272/#review18334 ----------------------------------------------------------- I think the only important thing left is the name... Nobody has a good idea? SimplifierProxyModel? ListProxyModel? - Aleix Pol Gonzalez On Aug. 31, 2012, 3:45 p.m., Aleix Pol Gonzalez wrote: > = > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://git.reviewboard.kde.org/r/106272/ > ----------------------------------------------------------- > = > (Updated Aug. 31, 2012, 3:45 p.m.) > = > = > Review request for Plasma, Aur=C3=A9lien G=C3=A2teau and Marco Martin. > = > = > Description > ------- > = > This patch adds a component called ListifyModel (yeah, I hate the name to= o). The idea behind is to expose as a QAbstractListModel any part of a QAbs= tractItemModel. > = > This solves the problem we have in QML given the limitation that ListView= only displays the first column of the root items. Here we can specify what= column we want and what root index we want to have. > = > = > Diffs > ----- > = > plasma/declarativeimports/qtextracomponents/CMakeLists.txt 05a1195 = > plasma/declarativeimports/qtextracomponents/fullmodelaccess.h PRE-CREAT= ION = > plasma/declarativeimports/qtextracomponents/fullmodelaccess.cpp PRE-CRE= ATION = > plasma/declarativeimports/qtextracomponents/qtextracomponentsplugin.cpp= 429282e = > plasma/declarativeimports/qtextracomponents/tests/CMakeLists.txt PRE-CR= EATION = > plasma/declarativeimports/qtextracomponents/tests/fullmodelaccesstest.h= PRE-CREATION = > plasma/declarativeimports/qtextracomponents/tests/fullmodelaccesstest.c= pp PRE-CREATION = > = > Diff: http://git.reviewboard.kde.org/r/106272/diff/ > = > = > Testing > ------- > = > There's a passing unit test, albeit limited. > I also tested it with a QML example I had with KPeople. If anybody is int= erested I can provide it too. > = > = > Thanks, > = > Aleix Pol Gonzalez > = > --===============3078262022788960197== Content-Type: text/html; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable
This is an automatically generated e-mail. To reply, visit: http://git.revie= wboard.kde.org/r/106272/

I think th=
e only important thing left is the name... Nobody has a good idea?

SimplifierProxyModel? ListProxyModel?

- Aleix


On August 31st, 2012, 3:45 p.m., Aleix Pol Gonzalez wrote:

Review request for Plasma, Aur=C3=A9lien G=C3=A2teau and Marco Martin.=
By Aleix Pol Gonzalez.

Updated Aug. 31, 2012, 3:45 p.m.

Descripti= on

This patch adds a component called ListifyModel (yeah, I hat=
e the name too). The idea behind is to expose as a QAbstractListModel any p=
art of a QAbstractItemModel.

This solves the problem we have in QML given the limitation that ListView o=
nly displays the first column of the root items. Here we can specify what c=
olumn we want and what root index we want to have.

Testing <= /h1>
There's a passing unit test, albeit limited.
I also tested it with a QML example I had with KPeople. If anybody is inter=
ested I can provide it too.

Diffs=

  • plasma/declarativeimports/qtextracomponents/CMakeLists.txt (05a1195)
  • plasma/declarativeimports/qtextracomponents/fullmodelaccess.h (PRE-CREATION)
  • plasma/declarativeimports/qtextracomponents/fullmodelaccess.cpp (PRE-CREATION)
  • plasma/declarativeimports/qtextracomponents/qtextracomponentsplugin.cp= p (429282e)
  • plasma/declarativeimports/qtextracomponents/tests/CMakeLists.txt (PRE-CREATION)
  • plasma/declarativeimports/qtextracomponents/tests/fullmodelaccesstest.= h (PRE-CREATION)
  • plasma/declarativeimports/qtextracomponents/tests/fullmodelaccesstest.= cpp (PRE-CREATION)

View Diff

--===============3078262022788960197==-- --===============3078309884206985349== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel --===============3078309884206985349==--