GridView qml
Heena Mahour
heena393 at gmail.com
Fri Jul 19 21:53:47 UTC 2013
It is done now ;)
But not using BorderImage :p but it is working now
Thank you
On Fri, Jul 19, 2013 at 3:40 PM, Nuno Pinheiro <nuno at oxygen-icons.org>wrote:
> **
>
> 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>
> 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 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
>
> Regards
>
>
> --
>
> -Heena
>
> Season of kde'12 participant
>
> Google Summer of Code 2013
>
> Delhi College of Engineering(COE),India
>
> http://about.me/heena.mahour
>
> http://heenamahour.blogspot.in
>
>
>
>
>
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
>
>
>
> --
>
> -Heena
>
> Season of kde'12 participant
>
> Google Summer of Code 2013
>
> Delhi College of Engineering(COE),India
>
> http://about.me/heena.mahour
>
> http://heenamahour.blogspot.in
>
>
>
>
>
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
>
--
-Heena
Season of kde'12 participant
Google Summer of Code 2013
Delhi College of Engineering(COE),India
http://about.me/heena.mahour
http://heenamahour.blogspot.in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20130719/2cb2053c/attachment.html>
More information about the Plasma-devel
mailing list