Re: QML model with image and text per element

2011-06-26 Thread Shaun Reich
On Sun, Jun 26, 2011 at 4:17 PM, Viranch Mehta wrote: Talked to Viranch on irc and the first suggestion was a bit strange at first, but now I get it ;-) I'll add some stuff to the docs as well, when I get a chance. Thanks mate. -- Shaun Reich, KDE Software Developer (kde.org)

Re: QML model with image and text per element

2011-06-26 Thread Viranch Mehta
On Mon, Jun 27, 2011 at 12:16 AM, Shaun Reich wrote: > > Okay, so if the data is laid out as you said, in the last example..how > would I display that in the qml view? Since I need to display *both* > the icon and the user's name in the model. Give me something concrete, > please -- as you well k

Re: QML model with image and text per element

2011-06-26 Thread Shaun Reich
> well, i don't know how that data engine is done, but usually when representing > a list of items they are done this way: > sone source per item, like > source called as the login, then one key per "role" for instance a key with > login one with name, one with user image... > from the dataengine y

Re: QML model with image and text per element

2011-06-26 Thread Marco Martin
On Sunday 26 June 2011, you wrote: > On Sun, Jun 26, 2011 at 1:26 PM, Marco Martin wrote: > > all depends on... exactly what do you have as available data in the > > model/dataengine? and what you could put? > > I have the sources I mentioned, a qstringlist of the full names of the > users..a lis

Re: QML model with image and text per element

2011-06-26 Thread Shaun Reich
On Sun, Jun 26, 2011 at 1:26 PM, Marco Martin wrote: > all depends on... exactly what do you have as available data in the > model/dataengine? and what you could put? I have the sources I mentioned, a qstringlist of the full names of the users..a list of the user's "short-name" (unix login), as w

Re: QML model with image and text per element

2011-06-26 Thread Marco Martin
On Sunday 26 June 2011, Shaun Reich wrote: > But basically I want it to display the text from userListFullNames, > and display the icon for each user's name. I don't know how to do > this..I thought about keeping dataSource:... the same, and then in my > delegate, where I create a Text object, I w

Re: libplasma2: split anything

2011-06-26 Thread Marco Martin
On Sunday 26 June 2011, Aaron J. Seigo wrote: > On Saturday, June 25, 2011 15:55:53 Marco Martin wrote: > > on a fully optimized/stripped library, the size of libplasma proper, goes > > from 2.9 MB to 1.1 !! > > impressive.. > > > and most important we need some replacement for corona applet cont

Re: Review Request: Fixing massive memory consumption in KWin using the raster graphicssystem.

2011-06-26 Thread Philipp Knechtges
--- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/101385/ --- (Updated June 26, 2011, 1:27 p.m.) Review request for kwin and Plasma. C

Re: libplasma2: split anything

2011-06-26 Thread Aaron J. Seigo
On Saturday, June 25, 2011 15:55:53 Marco Martin wrote: > on a fully optimized/stripped library, the size of libplasma proper, goes > from 2.9 MB to 1.1 !! impressive.. > and most important we need some replacement for corona applet containment > for the new library, ideally based only on qobject