GridView qml

Nuno Pinheiro nuno at oxygen-icons.org
Fri Jul 19 15:40:07 UTC 2013


A Sexta, 19 de Julho de 2013 15:34:45 Heena Mahour escreveu:

I'm not good at reading other peoples code, just a silly designer :)
but i would use a BorderImage and then chage the source images acording to my needs 
those border images would include the space requiered for the efcts you need.
if you want to paint on top of other items be sure to use semy trasparent images and play 
with the z values so you get proper stacking....

Its more of a question of what you want to achive from a looks and interaction prespective 
rather than how to do it becous ethere is probabaly 10000 ways to do it... 


Hey Nuno ,
Thanks that worked out for my first doubt .
Any suggestion for second doubt?


On Fri, Jul 19, 2013 at 3:04 PM, Nuno Pinheiro <nuno at oxygen-icons.org[1]> wrote:


A Sexta, 19 de Julho de 2013 14:50:27 Heena Mahour escreveu
 
Because the border grows from the element. so if it is small enough it will be under the 
subsequet elements in the z stack order and so it will be invisible.... 
make the border 6 pixels and you shoud be able to see the problem
also im not sure you can make just the border trasparent....
 
btw you probably want to use border images to do this. Rectangle is very limited.
 
 Hey I have a doubt regarding gridview .Its delegate is  a rectangle with label having 
numbers  http://picpaste.com/prob-W1nnSBFu.png[2] I have two doubts  
1.) When I used   border.color:(mouseArea.containsMouse)?"black":"transparent" in 
rectangle it is not showing border at bottom and right edge as can be seen in screenshot 
.Why such a behaviour?  
2.) How can I make a particular cell (not the other cells)say cell having current daynumber 
to have a blue border color ? 
For this I made a function isToday() that return true if the selected day is today .But on 
clicking it all the cell show blue border color . 
Here is my code http://pastebin.com/raw.php?i=hLd7sQtK[3] 
Regards


-- 


-Heena
Season of kde'12 participant


Google Summer of Code 2013
Delhi College of Engineering(COE),India


http://about.me/heena.mahour[4] 
http://heenamahour.blogspot.in[5]






Plasma-devel at kde.org[6]
https://mail.kde.org/mailman/listinfo/plasma-devel[7]





-- 


-Heena
Season of kde'12 participant


Google Summer of Code 2013
Delhi College of Engineering(COE),India


http://about.me/heena.mahour[4]
http://heenamahour.blogspot.in[5]






--------
[1] mailto:nuno at oxygen-icons.org
[2] http://picpaste.com/prob-W1nnSBFu.png
[3] http://pastebin.com/raw.php?i=hLd7sQtK
[4] http://about.me/heena.mahour
[5] http://heenamahour.blogspot.in/
[6] mailto:Plasma-devel at kde.org
[7] https://mail.kde.org/mailman/listinfo/plasma-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20130719/3a417f2b/attachment.html>


More information about the Plasma-devel mailing list