Re: [SailfishDevel] TextArea | Using EnterKey.onClicked

2015-02-06 Thread Asser Lähdemäki
Hello,

Did you try text.substr(0, text.lenght-1) to remove the last char?

Also, if the multiline support is important for your UX, perhaps you could open 
a Dialog when the text is clicked, where you could accept the edits without 
EnterKey.

Cheers,
Asser

ncis20 kirjoitti la helmikuuta 7 08:32:12 2015 GMT+0200:
> Uhh, that's bad news =(, i'll have to use TextField instead and forget of 
> having multineal support.
> When i said shift+enter, i wasn't refering to actually touching both keys at 
> the same time, i was thinking in something like caps lock (like entering 
> upper cased letters in the virtual keyboard).  When you hit the shift in the 
> virtual keyboard, it sticks and you can input uppercased letters without 
> multitouch support. I was wondering if with the enter key could be done 
> something similar, i.e. normal enter would trigger the action shift+enter 
> (not actually pressing both keys at the same time, but like uppercased 
> letters) would input a newline.
> 
> Thanks for the fast answer, any further infornation about the topic will also 
> be thanked =).
> 
> El vie feb 6 09:13:35 2015 GMT-0300, Pekka Vuorela escribió:
> > to, 2015-02-05 kello 20:11 -0300, Nicolas Cisco kirjoitti:
> > 
> > 
> > > I try using the qml Keys api:
> > > 
> > > 
> > > TextArea {
> > >id: textArea
> > >EnterKey.onClicked: console.log("EnterKey.onClicked")
> > >Key.onEnterPressed: console.log("Key.onEnterPressed")
> > > 
> > >Key.onPressed: console.log("Key.onPressed")
> > > 
> > > }
> > 
> > > But doesn't work, the only signal fired is EnterKey.onClicked.
> > > 
> > > In addition, my idea is to allow the user to input enters by using
> > > shift and then the enter key, is there a way in order to achieve
> > > this?.
> > 
> > At the moment EnterKey doesn't allow to filter out the click event and
> > indeed Keys attached property doesn't work on Silica editors. Could look
> > into both, but not sure if that would be too high priority.
> > 
> > First, the virtual keyboard sends key events only on few cases: enter
> > and backspace when no word is active (i.e. underlined). Second, shift
> > modifier is not supported on either. And even if shift would be passed,
> > that as user interface would require multitouch, which doesn't sound
> > like a good idea.
> > 
> > 
> > 
> > ___
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
> >
> 
> -- 
> Enviado desde mi Jolla
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.or
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] TextArea | Using EnterKey.onClicked

2015-02-06 Thread ncis20
Uhh, that's bad news =(, i'll have to use TextField instead and forget of 
having multineal support.
When i said shift+enter, i wasn't refering to actually touching both keys at 
the same time, i was thinking in something like caps lock (like entering upper 
cased letters in the virtual keyboard).  When you hit the shift in the virtual 
keyboard, it sticks and you can input uppercased letters without multitouch 
support. I was wondering if with the enter key could be done something similar, 
i.e. normal enter would trigger the action shift+enter (not actually pressing 
both keys at the same time, but like uppercased letters) would input a newline.

Thanks for the fast answer, any further infornation about the topic will also 
be thanked =).

El vie feb 6 09:13:35 2015 GMT-0300, Pekka Vuorela escribió:
> to, 2015-02-05 kello 20:11 -0300, Nicolas Cisco kirjoitti:
> 
> 
> > I try using the qml Keys api:
> > 
> > 
> > TextArea {
> >id: textArea
> >EnterKey.onClicked: console.log("EnterKey.onClicked")
> >Key.onEnterPressed: console.log("Key.onEnterPressed")
> > 
> >Key.onPressed: console.log("Key.onPressed")
> > 
> > }
> 
> > But doesn't work, the only signal fired is EnterKey.onClicked.
> > 
> > In addition, my idea is to allow the user to input enters by using
> > shift and then the enter key, is there a way in order to achieve
> > this?.
> 
> At the moment EnterKey doesn't allow to filter out the click event and
> indeed Keys attached property doesn't work on Silica editors. Could look
> into both, but not sure if that would be too high priority.
> 
> First, the virtual keyboard sends key events only on few cases: enter
> and backspace when no word is active (i.e. underlined). Second, shift
> modifier is not supported on either. And even if shift would be passed,
> that as user interface would require multitouch, which doesn't sound
> like a good idea.
> 
> 
> 
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
>

-- 
Enviado desde mi Jolla
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Possible to trigger email app with attachment

2015-02-06 Thread Peter Pykäläinen
Ok, of course you did :)


// Peter Pykäläinen

On 6 February 2015 at 17:01, Andrey Kozhevnikov 
wrote:

>  tried long time ago, not worked
>
> 06.02.2015 19:55, Peter Pykäläinen пишет:
>
>  Doesn't mailto accept attachment="/path/to/file.log"
>
> Maybe that won't work in Sailfish though.
>
>
>
> // Peter Pykäläinen
>
> On 6 February 2015 at 16:17, Andrey Kozhevnikov 
> wrote:
>
>> It's allowed of cource, but question was about attachments :)
>>
>> 06.02.2015 18:49, Kimmo Lindholm пишет:
>>
>>  launch email app from QML
>>>
>>> Qt.openUrlExternally("mailto: h...@hippa.com" +
>>> "?subject=Bug report" +
>>> "&body=Write here what is wrong...")
>>>
>>>
>>> Have no experience is this allowed in Harbour?
>>>
>>> -kimmo
>>>
>>>  -Original Message-
 From: devel-boun...@lists.sailfishos.org [mailto:devel-
 boun...@lists.sailfishos.org] On Behalf Of Kaj-Michael Lang
 Sent: 6. helmikuuta 2015 12:19
 To: devel@lists.sailfishos.org
 Subject: Re: [SailfishDevel] Possible to trigger email app with
 attachment

 On Fri, 2015-02-06 at 15:11 +0500, Andrey Kozhevnikov wrote:

> But it's not allowed for harbour applications, unfortunately.
>
 Oh, how am I not surprised by that.. sigh

 --
 Kaj-Michael Lang 

 ___
 SailfishOS.org Devel mailing list
 To unsubscribe, please send a mail to
 devel-unsubscr...@lists.sailfishos.org

>>> ___
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to
>>> devel-unsubscr...@lists.sailfishos.org
>>>
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>>
>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Issue with ListView.currentIndex

2015-02-06 Thread François K .
Hi,

Me again !

Disclaimer : I'm pretty new in Sailfish development, and this mail is rather 
long, because I'm trying to be precise.

Allright, I'm stuck by a "weird" issue that involves a SilicaListView, 
sections, currentIndex and cover.

My SilicaListView is divided in 2 sections : items marked as "favorite" are on 
the top of the list, and the others ones come after.
I'm using ListView.section property with a SortFilterProxyModel to achieve 
this. And it works pretty nicely.

On the cover of my app, I'm trying to show only the Favorites. The behavior I 
want is the following :
  If I don't have favorites, a placeholder is shown.
  If I have one favorite, it's shown.
  If I have more than one favorite, the first one is shown, and a coverAction 
allows me to chose the 2nd one, then the 3rd one, etc... (cycle through 
favorites).

To achieve this, I've bound the values displayed on the cover to the 
SilicaListView.currentItem properties :
  When the SilicaListView.currentItem changes, the values on the cover are 
updated accordingly.
  To select the next favorite from the cover, I just have to increment the 
SilicaListView.currentIndex which makes the SilicaListView.currentItem change, 
and updates the cover.

Now the tricky part comes when I remove items from favorites : I have to keep 
the SilicaListView.currentIndex updated and coherent.
In most cases, it's pretty easy.

BUT, in one case, I get a problem :
When I try to remove the first favorite (row zero) AND when this is the item 
displayed on the cover (currentIndex = 0) AND there are others favorites, the 
currentIndex must be kept to zero.
And for some reason, Qt updates it to the new index of the item that is being 
removed. Note that the 3 conditions have to be true to see this happen. It 
seems to be the only case where Qt updates the currentIndex.

I can understand that Qt updates the currentIndex, but why only in this 
particular case ?
How can I fix this ?

Thanks a lot,

-- 
François
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Possible to trigger email app with attachment

2015-02-06 Thread Andrey Kozhevnikov

tried long time ago, not worked

06.02.2015 19:55, Peter Pykäläinen пишет:

Doesn't mailto accept attachment="/path/to/file.log"
Maybe that won't work in Sailfish though.


// Peter Pykäläinen

On 6 February 2015 at 16:17, Andrey Kozhevnikov 
mailto:coderusin...@gmail.com>> wrote:


It's allowed of cource, but question was about attachments :)

06.02.2015 18:49, Kimmo Lindholm пишет:

launch email app from QML

Qt.openUrlExternally("mailto: h...@hippa.com
" +
"?subject=Bug report" +
"&body=Write here what is wrong...")


Have no experience is this allowed in Harbour?

-kimmo

-Original Message-
From: devel-boun...@lists.sailfishos.org
 [mailto:devel-

boun...@lists.sailfishos.org
] On Behalf Of
Kaj-Michael Lang
Sent: 6. helmikuuta 2015 12:19
To: devel@lists.sailfishos.org

Subject: Re: [SailfishDevel] Possible to trigger email app
with attachment

On Fri, 2015-02-06 at 15:11 +0500, Andrey Kozhevnikov wrote:

But it's not allowed for harbour applications,
unfortunately.

Oh, how am I not surprised by that.. sigh

--
Kaj-Michael Lang mailto:mil...@tal.org>>

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to
devel-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to
devel-unsubscr...@lists.sailfishos.org



___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to
devel-unsubscr...@lists.sailfishos.org





___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Possible to trigger email app with attachment

2015-02-06 Thread Peter Pykäläinen
Doesn't mailto accept attachment="/path/to/file.log"

Maybe that won't work in Sailfish though.



// Peter Pykäläinen

On 6 February 2015 at 16:17, Andrey Kozhevnikov 
wrote:

> It's allowed of cource, but question was about attachments :)
>
> 06.02.2015 18:49, Kimmo Lindholm пишет:
>
>  launch email app from QML
>>
>> Qt.openUrlExternally("mailto: h...@hippa.com" +
>> "?subject=Bug report" +
>> "&body=Write here what is wrong...")
>>
>>
>> Have no experience is this allowed in Harbour?
>>
>> -kimmo
>>
>>  -Original Message-
>>> From: devel-boun...@lists.sailfishos.org [mailto:devel-
>>> boun...@lists.sailfishos.org] On Behalf Of Kaj-Michael Lang
>>> Sent: 6. helmikuuta 2015 12:19
>>> To: devel@lists.sailfishos.org
>>> Subject: Re: [SailfishDevel] Possible to trigger email app with
>>> attachment
>>>
>>> On Fri, 2015-02-06 at 15:11 +0500, Andrey Kozhevnikov wrote:
>>>
 But it's not allowed for harbour applications, unfortunately.

>>> Oh, how am I not surprised by that.. sigh
>>>
>>> --
>>> Kaj-Michael Lang 
>>>
>>> ___
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to devel-unsubscribe@lists.
>>> sailfishos.org
>>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to devel-unsubscribe@lists.
>> sailfishos.org
>>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Possible to trigger email app with attachment

2015-02-06 Thread Peter Pykäläinen
It's allowed since I'm using it in goViihde.
6.2.2015 15.50 kirjoitti "Kimmo Lindholm" :

> launch email app from QML
>
> Qt.openUrlExternally("mailto: h...@hippa.com" +
> "?subject=Bug report" +
> "&body=Write here what is wrong...")
>
>
> Have no experience is this allowed in Harbour?
>
> -kimmo
>
> > -Original Message-
> > From: devel-boun...@lists.sailfishos.org [mailto:devel-
> > boun...@lists.sailfishos.org] On Behalf Of Kaj-Michael Lang
> > Sent: 6. helmikuuta 2015 12:19
> > To: devel@lists.sailfishos.org
> > Subject: Re: [SailfishDevel] Possible to trigger email app with
> attachment
> >
> > On Fri, 2015-02-06 at 15:11 +0500, Andrey Kozhevnikov wrote:
> > > But it's not allowed for harbour applications, unfortunately.
> >
> > Oh, how am I not surprised by that.. sigh
> >
> > --
> > Kaj-Michael Lang 
> >
> > ___
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Possible to trigger email app with attachment

2015-02-06 Thread Andrey Kozhevnikov

It's allowed of cource, but question was about attachments :)

06.02.2015 18:49, Kimmo Lindholm пишет:

launch email app from QML

Qt.openUrlExternally("mailto: h...@hippa.com" +
"?subject=Bug report" +
"&body=Write here what is wrong...")


Have no experience is this allowed in Harbour?

-kimmo


-Original Message-
From: devel-boun...@lists.sailfishos.org [mailto:devel-
boun...@lists.sailfishos.org] On Behalf Of Kaj-Michael Lang
Sent: 6. helmikuuta 2015 12:19
To: devel@lists.sailfishos.org
Subject: Re: [SailfishDevel] Possible to trigger email app with attachment

On Fri, 2015-02-06 at 15:11 +0500, Andrey Kozhevnikov wrote:

But it's not allowed for harbour applications, unfortunately.

Oh, how am I not surprised by that.. sigh

--
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Possible to trigger email app with attachment

2015-02-06 Thread Kimmo Lindholm
launch email app from QML

Qt.openUrlExternally("mailto: h...@hippa.com" +
"?subject=Bug report" +
"&body=Write here what is wrong...")


Have no experience is this allowed in Harbour?

-kimmo

> -Original Message-
> From: devel-boun...@lists.sailfishos.org [mailto:devel-
> boun...@lists.sailfishos.org] On Behalf Of Kaj-Michael Lang
> Sent: 6. helmikuuta 2015 12:19
> To: devel@lists.sailfishos.org
> Subject: Re: [SailfishDevel] Possible to trigger email app with attachment
> 
> On Fri, 2015-02-06 at 15:11 +0500, Andrey Kozhevnikov wrote:
> > But it's not allowed for harbour applications, unfortunately.
> 
> Oh, how am I not surprised by that.. sigh
> 
> --
> Kaj-Michael Lang 
> 
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


[SailfishDevel] Different behaviour of ShaderEffectSource in emulator vs. device

2015-02-06 Thread Luca Donaggio
The following code works fine in Emulator, changing the gradient of the
Rectangle correctly updates the nested ShaderEffectSource and it is
reflected on the ShaderEffect which uses it as its texture:

Page {
id: page

SilicaFlickable {
anchors.fill: parent

contentHeight: column.height

Column {
id: column

anchors { top: parent.top; left: parent.left; right:
parent.right; leftMargin: Theme.paddingLarge; rightMargin:
Theme.paddingLarge; }
spacing: Theme.paddingLarge

PageHeader {
title: qsTr("ShaderEffect Test")
}

Row {
anchors.horizontalCenter: parent.horizontalCenter
spacing: Theme.paddingLarge

Column {
spacing: Theme.paddingSmall

Rectangle {
id: gradientSource

property list gradients: [
Gradient {
GradientStop { position: 0.0; color:
"black"; }
GradientStop { position: 1.0; color:
"blue"; }
},

Gradient {
GradientStop { position: 0.0; color:
"black"; }
GradientStop { position: 1.0; color: "red";
}
}
]

width: 100
height: 100

gradient: gradients[0]

ShaderEffectSource {
id: gradientTexture

anchors.fill: parent
sourceItem: gradientSource
hideSource: false
live: true
}
}

Label {
font.pixelSize: Theme.fontSizeExtraSmall
wrapMode: Text.WordWrap
text: "Rectangle\nShaderEffectSource"
}
}

Column {
spacing: Theme.paddingSmall

ShaderEffect {
property variant source: gradientTexture

width: 100
height: 100

blending: false
cullMode: ShaderEffect.BackFaceCulling
fragmentShader: "
varying highp vec2 qt_TexCoord0;
uniform lowp float qt_Opacity;
uniform sampler2D source;

void main() {
gl_FragColor = texture2D(source,
qt_TexCoord0) * qt_Opacity;
}"
}

Label {
font.pixelSize: Theme.fontSizeExtraSmall
text: "ShaderEffect"
}
}
}

Button {
anchors.horizontalCenter: parent.horizontalCenter
text: "Blue gradient"

onClicked: gradientSource.gradient =
gradientSource.gradients[0]
}

Button {
anchors.horizontalCenter: parent.horizontalCenter
text: "Red gradient"

onClicked: gradientSource.gradient =
gradientSource.gradients[1]
}
}
}
}

It doesn't work on device though (changing Reactangle's gradient doesn't
update the ShaderEffectSource).

Un-nesting the ShaderEffectSource from its source item (the Rectangle)
works fine both on emulator and on device:

Page {
id: page

SilicaFlickable {
anchors.fill: parent

contentHeight: column.height

Column {
id: column

anchors { top: parent.top; left: parent.left; right:
parent.right; leftMargin: Theme.paddingLarge; rightMargin:
Theme.paddingLarge; }
spacing: Theme.paddingLarge

PageHeader {
title: qsTr("ShaderEffect Test")
}

Row {
anchors.horizontalCenter: parent.horizontalCenter
spacing: Theme.paddingLarge

Column {
spacing: Theme.paddingSmall

Rectangle {
id: gradientSource

property list gradients: [
Gradient {
GradientStop { position: 0.0; color:
"black"; }
GradientStop { position: 1.0; color:
"blue"; }
},

Gradient {
GradientStop { position: 0.0; color:
"black"; }
GradientStop { position: 1.0; color: "red";
}
}
  

Re: [SailfishDevel] Developer wiki?

2015-02-06 Thread Thomas B. Rücker
On 02/06/2015 12:13 PM, Kaj-Michael Lang wrote:
> On Fri, 2015-02-06 at 10:32 +, "Thomas B. Rücker" wrote:
>> You mean like https://wiki.merproject.org/wiki/Sailfish and its
>> various
>> sub-pages? 
> I'm looking more for things like (just examples):
> - How to use the camera in a Sailfish app
> - How do I create this-and-that kind of UI interface
> - How do I use a Wii/PS3 controller in my Sailfish game
> - How can I send e-mail from my application using the e-mail app
> - How do I implement a social sharing feature into my application
> - Storing settings in my app
> - Getting GPS information in a harbour approved way
> - etc...

That's what it's for and some of what you say is there, but if nobody
puts anything new there it won't be there. Or were you looking for
groomed developer documentation that happens to be on a wiki, "like
Nokia had" and Nokia employed an army of people larger than Jolla as a
whole to maintain?

But this is moot anyway, as it was just said that there maybe some day
be a "official" wiki, so please go back to your holding pattern and wait
patiently.

TBR

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Developer wiki?

2015-02-06 Thread Kaj-Michael Lang
On Fri, 2015-02-06 at 11:06 +, Eric Le Roux wrote:
> We plan to deploy a sailfishos dedicated wiki in March timeframe so we
> can
> address the need for such documentation and consolidate some of the
> information that is currently scattered across mer/nemomobile wikis. 

That is good to hear, thank you!

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Developer wiki?

2015-02-06 Thread Kaj-Michael Lang
On Fri, 2015-02-06 at 10:32 +, "Thomas B. Rücker" wrote:
> You mean like https://wiki.merproject.org/wiki/Sailfish and its
> various
> sub-pages? 

I'm looking more for things like (just examples):
- How to use the camera in a Sailfish app
- How do I create this-and-that kind of UI interface
- How do I use a Wii/PS3 controller in my Sailfish game
- How can I send e-mail from my application using the e-mail app
- How do I implement a social sharing feature into my application
- Storing settings in my app
- Getting GPS information in a harbour approved way
- etc...

See the Nokia developer wiki for what I mean.

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] TextArea | Using EnterKey.onClicked

2015-02-06 Thread Pekka Vuorela
to, 2015-02-05 kello 20:11 -0300, Nicolas Cisco kirjoitti:


> I try using the qml Keys api:
> 
> 
> TextArea {
>id: textArea
>EnterKey.onClicked: console.log("EnterKey.onClicked")
>Key.onEnterPressed: console.log("Key.onEnterPressed")
> 
>Key.onPressed: console.log("Key.onPressed")
> 
> }

> But doesn't work, the only signal fired is EnterKey.onClicked.
> 
> In addition, my idea is to allow the user to input enters by using
> shift and then the enter key, is there a way in order to achieve
> this?.

At the moment EnterKey doesn't allow to filter out the click event and
indeed Keys attached property doesn't work on Silica editors. Could look
into both, but not sure if that would be too high priority.

First, the virtual keyboard sends key events only on few cases: enter
and backspace when no word is active (i.e. underlined). Second, shift
modifier is not supported on either. And even if shift would be passed,
that as user interface would require multitouch, which doesn't sound
like a good idea.



___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Generating qmltypes Files

2015-02-06 Thread Andrea Nicotra
Super fast!

Thanks,
Andrea

2015-02-06 12:27 GMT+01:00 Andrey Kozhevnikov :
> Hello!
>
> You can use my generated qmltypes for most of existing modules:
> https://github.com/CODeRUS/better-sailfishos-qmltypes
> If some module doesn't exists please let me know
>
> Best regards,
> Andrey
>
> 06.02.2015 16:21, Andrea Nicotra пишет:
>>
>> I have some issue with QtCreator.
>>
>> It complain about "import io.thp.pyotherside 1.3" so I discover that
>> into /bin/qml/ miss the relative plugins.qmltypes
>>
>> in the doc at page "Using QML Modules with Plugins" its suggest
>>
>> 1. "Generating qmltypes Files" need qmlplugindump
>> 2. "Dumping Plugins Automatically" need qmldump
>>
>> but sailfish sdk miss both qmldump and qmlplugindump what is the right
>> way to register a plugin for QtCreator?
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Developer wiki?

2015-02-06 Thread Peter Pykäläinen
Excellent, thank you!

Also could you please already start working on icon references too?
I have requested this over a year ago.


// Pete

On 6 February 2015 at 13:06, Eric Le Roux  wrote:

> Hi,
>
> We plan to deploy a sailfishos dedicated wiki in March timeframe so we can
> address the need for such documentation and consolidate some of the
> information that is currently scattered across mer/nemomobile wikis.
> This is aligned with the sailfishos.org site renewal, priority is given
> first to restoring the silica documentation and broaden the scope of the
> site to accomodate other audiences than developers only.
>
> Cheers,
> Eric
>
> On 06/02/2015 12:52, "peter.pykalai...@gmail.com"
>  wrote:
>
> >Indeed. Lack of docimentation and how tos are a real problem. Even bigger
> >problem than having stupid restrictions on harbour apps.
> >
> >// Pete
> >
> >Andrey Kozhevnikov kirjoitti pe helmikuuta 6 12:20:48 2015 GMT+0200:
> >> That would be very helpful :D
> >>
> >> 06.02.2015 15:14, Kaj-Michael Lang пишет:
> >> > Is there a developer wiki available ?
> >> >
> >> > Something like the Nokia developer wiki, where various how-to-do-that
> >> > articles could be created and shared ?
> >> >
> >> >
> >>
> >> ___
> >> SailfishOS.org Devel mailing list
> >> To unsubscribe, please send a mail to
> >>devel-unsubscr...@lists.sailfishos.or
> >
> >--
> >// Peter Pykäläinen
> >Lähetetty Jollastani
> >___
> >SailfishOS.org Devel mailing list
> >To unsubscribe, please send a mail to
> >devel-unsubscr...@lists.sailfishos.org
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Generating qmltypes Files

2015-02-06 Thread Andrey Kozhevnikov

Hello!

You can use my generated qmltypes for most of existing modules: 
https://github.com/CODeRUS/better-sailfishos-qmltypes

If some module doesn't exists please let me know

Best regards,
Andrey

06.02.2015 16:21, Andrea Nicotra пишет:

I have some issue with QtCreator.

It complain about "import io.thp.pyotherside 1.3" so I discover that
into /bin/qml/ miss the relative plugins.qmltypes

in the doc at page "Using QML Modules with Plugins" its suggest

1. "Generating qmltypes Files" need qmlplugindump
2. "Dumping Plugins Automatically" need qmldump

but sailfish sdk miss both qmldump and qmlplugindump what is the right
way to register a plugin for QtCreator?
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Generating qmltypes Files

2015-02-06 Thread Andrea Nicotra
I have some issue with QtCreator.

It complain about "import io.thp.pyotherside 1.3" so I discover that
into /bin/qml/ miss the relative plugins.qmltypes

in the doc at page "Using QML Modules with Plugins" its suggest

1. "Generating qmltypes Files" need qmlplugindump
2. "Dumping Plugins Automatically" need qmldump

but sailfish sdk miss both qmldump and qmlplugindump what is the right
way to register a plugin for QtCreator?
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Developer wiki?

2015-02-06 Thread Eric Le Roux
Hi,

We plan to deploy a sailfishos dedicated wiki in March timeframe so we can
address the need for such documentation and consolidate some of the
information that is currently scattered across mer/nemomobile wikis.
This is aligned with the sailfishos.org site renewal, priority is given
first to restoring the silica documentation and broaden the scope of the
site to accomodate other audiences than developers only.

Cheers,
Eric

On 06/02/2015 12:52, "peter.pykalai...@gmail.com"
 wrote:

>Indeed. Lack of docimentation and how tos are a real problem. Even bigger
>problem than having stupid restrictions on harbour apps.
>
>// Pete
>
>Andrey Kozhevnikov kirjoitti pe helmikuuta 6 12:20:48 2015 GMT+0200:
>> That would be very helpful :D
>> 
>> 06.02.2015 15:14, Kaj-Michael Lang пишет:
>> > Is there a developer wiki available ?
>> >
>> > Something like the Nokia developer wiki, where various how-to-do-that
>> > articles could be created and shared ?
>> >
>> >
>> 
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>>devel-unsubscr...@lists.sailfishos.or
>
>-- 
>// Peter Pykäläinen
>Lähetetty Jollastani
>___
>SailfishOS.org Devel mailing list
>To unsubscribe, please send a mail to
>devel-unsubscr...@lists.sailfishos.org

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Developer wiki?

2015-02-06 Thread peter . pykalainen
Indeed. Lack of docimentation and how tos are a real problem. Even bigger 
problem than having stupid restrictions on harbour apps.

// Pete

Andrey Kozhevnikov kirjoitti pe helmikuuta 6 12:20:48 2015 GMT+0200:
> That would be very helpful :D
> 
> 06.02.2015 15:14, Kaj-Michael Lang пишет:
> > Is there a developer wiki available ?
> >
> > Something like the Nokia developer wiki, where various how-to-do-that
> > articles could be created and shared ?
> >
> >
> 
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.or

-- 
// Peter Pykäläinen
Lähetetty Jollastani
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Developer wiki?

2015-02-06 Thread Thomas B. Rücker
On 02/06/2015 10:14 AM, Kaj-Michael Lang wrote:
> Is there a developer wiki available ?
>
> Something like the Nokia developer wiki, where various how-to-do-that
> articles could be created and shared ?

You mean like https://wiki.merproject.org/wiki/Sailfish and its various
sub-pages?

The wiki sure could use a lot of rework, but if everyone does a little
bit, creates a new page like
https://wiki.merproject.org/wiki/Sailfish/xyz - then suddenly it will be
a even better resource.

I started and did a little edit, marking a broken link.

Cheers

Thomas

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Developer wiki?

2015-02-06 Thread Andrey Kozhevnikov

That would be very helpful :D

06.02.2015 15:14, Kaj-Michael Lang пишет:

Is there a developer wiki available ?

Something like the Nokia developer wiki, where various how-to-do-that
articles could be created and shared ?




___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Possible to trigger email app with attachment

2015-02-06 Thread Kaj-Michael Lang
On Fri, 2015-02-06 at 15:11 +0500, Andrey Kozhevnikov wrote:
> But it's not allowed for harbour applications, unfortunately.

Oh, how am I not surprised by that.. sigh

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


[SailfishDevel] Developer wiki?

2015-02-06 Thread Kaj-Michael Lang
Is there a developer wiki available ?

Something like the Nokia developer wiki, where various how-to-do-that
articles could be created and shared ?


-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Possible to trigger email app with attachment

2015-02-06 Thread Andrey Kozhevnikov

Hello!

You can check my code for example: 
https://github.com/CODeRUS/mitakuuluu2/blob/master/client/qml/SendLogs.qml


But it's not allowed for harbour applications, unfortunately.

06.02.2015 15:08, Kaj-Michael Lang пишет:

I've added a debug logging option to my app and would like to make it as
easy as possible to send it to me. An easy way would be to be able to
trigger the email application with the log file as an attachment with my
address as recipient, ready to go.

Is that possible ?



___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Possible to trigger email app with attachment

2015-02-06 Thread Kaj-Michael Lang
I've added a debug logging option to my app and would like to make it as
easy as possible to send it to me. An easy way would be to be able to
trigger the email application with the log file as an attachment with my
address as recipient, ready to go.

Is that possible ?

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org