Small QML related questions...

Aaron J. Seigo aseigo at kde.org
Mon Dec 19 10:02:39 UTC 2011


On Monday, December 19, 2011 06:32:17 Martin =?ISO-8859-1?Q?Gr=E4=DFlin?= 
wrote:
> On Sunday 18 December 2011 22:07:46 Aaron J. Seigo wrote:
> > On Sunday, December 18, 2011 18:43:06 Martin =?ISO-8859-1?Q?Gr=E4=DFlin?=
> > 
> > wrote:
> > > Hi all,
> > > 
> > > three small QML/Plasma related questions that came up while working on
> > > Kickoff and no notmart on IRC to ping ;-). All are related to changing
> > > layout based on location.
> > > 
> > > 1. How to get the enum values "LeftEdge", "TopEdge" and so on. I get
> > > plasmoid.location but that's just a number. No matter what I tried QML
> > > gave
> > > me an undefined value for the edge values.
> > 
> > should be just: LeftEdge.
> 
> no, that did not work.

hmm... that's in the JS bindings and i confirmed it existed before i replied; 
where in your QML are you trying to use it?

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20111219/73423723/attachment.sig>


More information about the Plasma-devel mailing list