Small QML related questions...

Martin Gräßlin mgraesslin at kde.org
Mon Dec 19 10:46:41 UTC 2011


Am 19.12.2011 11:02, schrieb Aaron J. Seigo:
> 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?
I'll ping you this evening when I'm back home and give you my current 
patch on top of kickoff branch

Cheers
Martin


More information about the Plasma-devel mailing list