Am 23.04.2020 11:39 schrieb David Llewellyn-Jones:
https://gist.github.com/pazdera/1098119
Yeah, this looks like a decent example: clear and complete.
As you can see from this, you essentially end up with a global object
you can access from anywhere. The downside is that you only ever have
Am 23.04.2020 08:59 schrieb David Llewellyn-Jones:
On 23/04/2020 09:51, Michael Fuchs wrote:
How can AlbumList access mImgDB and mNetAccess?
One solution could be to register the controller itself in qml and
then write
sth like this in qml:
AlbumList {
imgDB: controller.imgDB
Hi,
...I don't even know how to phrase the subject of this mail...
I'm hacking on SMPC and I want to reorganize the spaghettis of the code and
I'm stuck at a problem now, where I don't even know what to search for:
I created a c++ class called AlbumList, and i registered it in qml, ...
qml
Hi,
did you try extraContent?
https://sailfishos.org/develop/docs/silica/qml-sailfishsilica-sailfish-silica-dialogheader.html/#extraContent-prop
lG, Michael.
On Samstag, 4. Jänner 2020 16:00:29 CET Thomas Tanghus wrote:
> I must be possible to do, but maybe my head is just wired wrong - well, I
Thanks a lot, Martin.
Works for me now.
Am Freitag, 5. April 2019 schrieb Martin Kampas:
> Hi Michael,
>
> You should instruct qmake to install the files by editing
> your .pro according to
> https://doc.qt.io/Qt-5/qmake-advanced-usage.html#installing-files, then
> update the Files
> section
Hi list,
What's the best way to deploy additional files?
For example:
I'd like to create a quickaction for my app.
The file resides in the root folder of the source.
https://github.com/fuchsmich/zutun.txt/blob/master/quickaction.conf
It get's copied by with the help of the "install post" sectio
Hi Sailors,
I would like to share code (qml and c++) in two apps (namely daedalus
and SMPC).
I want both apps to have the almost same interface and so they have some
qml components and c++ code in common.
How would you organize this ?
My favorite would be having both apps in one repository
Hi Alexander,
Take a look at this community meeting log (one meeting before the last one)[1].
Jolla doesnt even know how, when or if they will update the browser engine. At
least they don't want to tell us. So how can there be a roadmap?
[1] https://lists.sailfishos.org/pipermail/devel/2018-Nov
Dylan Van Assche via Devel schrieb:
Hi,
I looked at the Qt docs of QML ListView and QML Flickable but I
couldn't find a way to detect if the user is at the boundaries of a
ListView. When you do that in a SilicaListView, the view fades out.
How can I access that property?
http://doc.qt.io/q
dep schrieb:
I think I'm looking for source for the most basic of web browsers, that can
be modified to become a ProtonMail application. I think it needs to be
gecko-based because while I can log in to the ProtonMail webmail page via
the Jolla browser,
Seems like Jolla is working on sth like this
Hi Joao,
https://github.com/qt/qtdeclarative/blob/44a89492b49f23a975377795dbb7a48916cb5081/src/qml/types/qqmllistmodel.cpp#L2739
"Values must be simple constants; either strings (quoted and optionally
within a call to QT_TR_NOOP), boolean values (true, false), numbers, or
enumeration values (s
Hi,
The documentation [1] says about Text.baseUrl :
"This property specifies a base URL which is used to resolve relative
URLs within the text."
...followed by some examples how the links will be genrated.
But I can't reproduce this behaviour
Label {
text: 'link'
baseUrl: "http://www
MessageReceived: webView.messageReceived(message)
}
2018-03-26 12:31 GMT+03:00 Michael Fuchs <mailto:mic...@gmx.at>>:
Hi sailors,
is there a way to communicate with a WebView?
I would like to make something like this:
https://doc.qt.io/qt-5.6/qtwebengine-webenginewidgets-mar
Hi sailors,
is there a way to communicate with a WebView?
I would like to make something like this:
https://doc.qt.io/qt-5.6/qtwebengine-webenginewidgets-markdowneditor-example.html
...but WebChannels don't seem to be available.
Also WebView.runJavaScript() isn't there.
Thanks a lot,
Michael
From: Devel
[devel-boun...@lists.sailfishos.org] on behalf of Michael Fuchs
[mic...@gmx.at] Sent: Thursday, February 01, 2018 6:16 PM To:
devel@lists.sailfishos.org Subject: [SailfishDevel] Route media sound
stream to FIFO
Hi,
I built snapcast for SailfishOS [2]. Snapcast is a &quo
There's still an error with the link to the log:
http://merproject.org/meetings/mer-meeting/2018/mer-meeting.2018-02-03-13.30.log.html
br, Michael.
Am 03.02.2018 um 16:30 schrieb Trolli Schmittlauch:
James has accidentally provided the links to previous meetings' minutes.
Here are the minutes
Hi,
I built snapcast for SailfishOS [2]. Snapcast is a "Synchronous multi-room
audio player". [1]
Everything works as expected now. Next step is the integration into Sailfish
user experience. It should be simple to create a GUI, which starts/stops the
snapclient.
But I don't know how to solve
ichael.
Am 18.01.2018 um 16:53 schrieb Michael Fuchs:
Hi,
I'm trying to use avahi on Sailfish.
I built it here:
https://build.merproject.org/package/show/home:fooxl:sailfish/avahi-simple
In the emulator it runs fine by starting it via systemctl
# systemctl start avahi-daemon
The daemon
So the relevant part seemes to be:
https://gist.github.com/fuchsmich/ce0951252bd64c62ed0fabf26e820a24#file-strace_avahi-daemon-L745
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = -1 EACCES (Permission denied)
write(2, "socket() failed: Permission deni"..., 34socket() failed: Permission
denied) = 34
i/services", O_RDONLY|O_NONBLOCK|O_LARGEFILE|
O_DIRECTORY|O_CLOEXEC) = 10
getdents64(10, /* 4 entries */, 32768) = 120
getdents64(10, /* 0 entries */, 32768) = 0
close(10) = 0
write(2, "Loading service file /etc/avahi/"..., 58Loading service file /etc/
avahi/services/sftp-ssh.s
; Just guessing, don't need Avahi open raw socket?
> Try to add capability CAP_NET_RAW to your avahi binary.
>
> sudo setcap cap_net_raw+p /path/to/avahi
>
> Lukas
>
> Dne čtvrtek 18. ledna 2018 16:53:03 CET Michael Fuchs napsal(a):
> > Hi,
> >
>
Hi,
I'm trying to use avahi on Sailfish.
I built it here:
https://build.merproject.org/package/show/home:fooxl:sailfish/avahi-simple
In the emulator it runs fine by starting it via systemctl
# systemctl start avahi-daemon
The daemon forks and drops its privileges to avahi:avahi.
But on the
Hi,
I'm trying to build daedalus, but packaging stops with:
extracting debug info from /home/deploy/installroot/usr/bin/harbour-daedalus
/usr/lib/rpm/debugedit: canonicalization unexpectedly shrank by one
character
error: Bad exit status from /var/tmp/rpm-tmp.MjDuYA (%install)
Bad exit st
Hi,
I'm trying to build daedalus, but packaging stops with:
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
var list = arrValue.value
list.push("3")
arrValue.value = list
arrValue.sync()
}
}
This works for me. No error message and values are stored and loaded
correctly.
Am 15.11.2017 um 12:46 schrieb Mic
Hi,
I would like to save an array of strings in my Settings
(ConfigurationGroup from org.nemomobile.configuration).
How can I achieve this?
This doesnt work:
ConfigurationGroup {
id: settings
path: "/apps/harbour-test"
property var arrString: ["one", "two", "three
Am 28.10.2017 um 20:55 schrieb Riku Lahtinen:
I only added "import Sailfish.Pickers 1.0" to my QML file and everything
is working properly in my Jolla C. The rpm validator doesn't complain
about that.
Yes, thats what I also did. But the pickers are only available since
last version of sailf
Hi,
I'm using the new systemprovided FilePicker in one of my apps.
How do I make sure, it is available on a system?
I added these lines to my .yaml file:
---
Requires:
- sailfish-components-pickers-qt5
---
Is this correct?
The RPM-validation complains about t
Hi,
There are some words and phrases, which have a very well defined meaning
(like e.g. "file", "reload", "close",...) and are for sure already
translated somewhere in the system.
Can I make use of them?
...and if yes should I?
...and if yes how can I do this?
Thanks, Michael.
__
Hi,
maybe here someone can help you:
http://talk.maemo.org/showthread.php?t=98882
/Michael.
Am 22.08.2017 um 10:08 schrieb Dmitriy Sedov:
I am trying to porting Irrlicht engine to Sailfish OS, and i don’t
now where I can get Display Resolution and DPI in Wayland code? How I
can receive signal
Nice.
Am 01.08.2017 um 15:28 schrieb Jarkko Lehtoranta:
- Added support for QML-only apps development (File > New File or Project >
Application > ...)
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists
tField {
id: ta
width: parent.width
text: "test"
focus: true
}
2017-06-22 11:09 GMT+02:00 Michael Fuchs <mailto:mic...@gmx.at>>:
Hi Guys,
I got a textinput (e.g. TextField) in which the text gets
manipulated by pushing a button. After the manipulat
Hi Guys,
I got a textinput (e.g. TextField) in which the text gets manipulated by
pushing a button. After the manipulation the input should get back
focus. I'm trying it like this:
Button {
x: Theme.horizontalPageMargin
text: qsTr("Hello Sailors")
onClicked: {
ta.text += "
Hi,
so does this work now?
Because we already had this discussion here and the conclusion was that
receiving signals from dbus doenst work.
Greets, Michael.
On Donnerstag, 15. Juni 2017 15:40:45 CEST Dylan Van Assche via Devel wrote:
> Hi,
>
> Thanks! I totally forgot that one, I have set this
Hi Adam,
Thanks for your work.
I have no use for it yet but will keep it in mind.
Did you already port some software from KDE based on those kf?
Michael.
Am 23.03.2017 um 08:06 schrieb Adam Pigg:
If anyone has a need to develop/port software from KDE, i have a few of
the frameworks built agai
Hi,
I place the ConfigurationGroup in the root item
harbour-appname.qml:
ConfigurationGroup {
id: settings
path: "/apps/harbour-appname"
property bool boolVal: true
property int intValue: 5
}
So it's accessible anywhere.
Then I'm binding the values to some others:
S
Hi Dylan,
I guess you have to install webview component in the target:
https://lists.sailfishos.org/pipermail/devel/2016-July/007318.html
and maybe then restart qtcreator.
The code highlighting/completion depends on the currently selected kit (i486/
arm). So if you're just using the emulator dur
push pushAttached directly to
initialPage
for find function you might set objectName of your page
-- Исходное сообщение --
От: "Michael Fuchs"
Кому: devel@lists.sailfishos.org
Отправлено: 08.09.2016 22:52:09
Тема: Re: [SailfishDevel] PageStack: from push pushAttached directly
mainPage or page found using pageStack.find function)
-- Исходное сообщение --
От: "Michael Fuchs"
Кому: devel@lists.sailfishos.org
Отправлено: 08.09.2016 19:39:39
Тема: Re: [SailfishDevel] PageStack: from push pushAttached directly to
initialPage
Thanks for your attention. ;)
I g
Thanks for your attention. ;)
I guess I got it:
onClicked: pageStack.replaceAbove(null, app.initialPage);
...works for me.
Am 08.09.2016 um 13:18 schrieb Michael Fuchs:
Hi guys,
I got a question about the PageStack.
I got a main page and a filter page, which can be push() '
Hi guys,
I got a question about the PageStack.
I got a main page and a filter page, which can be push() 'ed or
pushAttached() several times. Either via PullDownMenu or swipe to left.
I would like to have another item in the pulldownmenu, which lets me
directly go back to the first page ("Back
sage
Subject: Re: [SailfishDevel] Interact from other pages with the cover page
Local Time: August 29, 2016 2:21 PM
UTC Time: August 29, 2016 12:21 PM
From: mic...@gmx.at
To: devel@lists.sailfishos.org
Correction in SomeWherElse.qml
Am 29.08.2016 um 14:19 schrieb Michael Fuchs:
> Hi Dylan,
>
&g
Correction in SomeWherElse.qml
Am 29.08.2016 um 14:19 schrieb Michael Fuchs:
Hi Dylan,
Children from ApplicationWindow are AFAIK accessible everywhere.
harbour-example.qml:
ApplicationWindow {
...
MyObject {
id: mo
someString: "Eins"
function test(){}
}
...
}
Cov
Hi Dylan,
Children from ApplicationWindow are AFAIK accessible everywhere.
harbour-example.qml:
ApplicationWindow {
...
MyObject {
id: mo
someString: "Eins"
function test(){}
}
...
}
CoverPage.qml:
CoverBackground {
CoverPlaceholder {
text: mo.someString
}
Hi,
did the model (MyModel) change during the first and the second time you
opened the context menu?
I had such issues, when this was the case.
regards, Michael.
Am 02.08.2016 um 16:42 schrieb Marcin Mielniczuk:
Hi,
I created a SilicaGridView with a ContextMenu (placed in a ColumnLayout):
t installed. It's
not needed for deployment but for the local coding (so that I get the
code completion and no warnings in the editor)
On 28.07.2016 14:08, Michael Fuchs wrote:
Hi,
either you install the required package (I guess
qt5-qtquickcontrols-layouts) manually via ssh, or you put th
Hi,
either you install the required package (I guess
qt5-qtquickcontrols-layouts) manually via ssh, or you put the dependency
in the spec file and deploy the rpm, then it will get installed
automatically.
regards, Michael.
Am 28.07.2016 um 13:18 schrieb Marcin Mielniczuk:
Hi,
I'm workin
+1
Am 27.07.2016 um 03:47 schrieb Zhang Bird:
Nice! Thank you :)
2016-07-27 4:43 GMT+08:00 Unai IRIGOYEN mailto:u.irigo...@gmail.com>>:
Hi,
Some time ago I proposed to add a clock to the actdead charging UI
in TJC
since it would allow a quite frequent use case for me: shutdown
Maybe this one helps?
https://together.jolla.com/question/137948/howto-virtualbox-io-error/
cheers, Michael.
On Sonntag, 17. Juli 2016 12:56:25 CEST Marcin Mielniczuk wrote:
> Hi,
>
> I installed the SailfishOSSDK-Beta-1602-Qt5-linux-64-offline.run on my
> Arch Linux. I'm using Virtualbox 5.1,
. März 2016 18:58:26 CEST Michael Fuchs wrote:
> Hi together,
>
> I bought me a very cool Olympus O-MD E-M10, which has built in WiFi-support
> but surprisingly no native Sailfish App.
>
> When you connect to the Cam via WiFi, one can access the pics via
>
> http://oishare/
Hi together,
I bought me a very cool Olympus O-MD E-M10, which has built in WiFi-support
but surprisingly no native Sailfish App.
When you connect to the Cam via WiFi, one can access the pics via
http://oishare/
The html responses look like these:
https://gist.github.com/fuchsmich/a5741d85386
# >> macros
> %define __requires_exclude ^libQt5SystemInfo.*$
> %define __provides_exclude_from ^%{_datadir}/.*$
> # << macros
> ...
https://olse.me/2mJ
On 14/03/16 17:19, Michael Fuchs wrote:
Good point.
But I need it for packaging the proper syncthing binary.
Am 14
Good point.
But I need it for packaging the proper syncthing binary.
Am 14.03.2016 um 17:03 schrieb Pami Ketolainen:
On 03/14/2016 04:49 PM, Michael Fuchs wrote:
Right, the colons where missing. But this was just an example, which I
know from the documentation. I would need it to have two
Thanks.
Am 14.03.2016 um 15:31 schrieb Yuvraaj:
[nemo@Jolla ~]$ ls /sys/class/power_supply/
dollar_cove_battery dollar_cove_charger
[nemo@Jolla ~]$ ls /sys/class/power_supply/*/online
/sys/class/power_supply/dollar_cove_charger/online
___
Sailfish
Hi Andrew,
Am 14.03.2016 um 15:41 schrieb Andrew Penkrat:
Hi Michael,
4)
win32: VAR = VALUEw
unix: VAR = VALUEx
Right, the colons where missing. But this was just an example, which I
know from the documentation. I would need it to have two different
values for tablet and phone. It's got to
Hi Sailors,
I'm working on this app
https://openrepos.net/content/fooxl/syncthing-sf
and would need some help please.
1.) Could a tablet owner please send the output of
$ ls /sys/class/power_supply/
and
$ ls /sys/class/power_supply/*/online
?
2.) I'm using QSyncThingTray for the c++ API I
Place the Qt.openUrlExternally(request.url) in a function in some parent
object and call the function from within the webview.
On Donnerstag, 28. Jänner 2016 21:55:49 CET Zoltán Lutor wrote:
> Hi,
>
> Any idea how to open link clicked in webview in browser application?
> Code below does not do t
You can do a lot of things with qml and you will learn it by just using
it. If you want to play with inputs, take a look at componentgallery in
examples.
IMHO two concepts are important to understand the code more easily:
Signals: http://doc.qt.io/qt-5/qtqml-syntax-signals.html
and the Model/V
ich signals are emitted in
particular).
Then once you are sure the signal is emitted, make sure you have the
correct parameters to connect to it.
This should do it.
On Thu, Jan 28, 2016 at 1:09 PM, Michael Fuchs mailto:mic...@gmx.at>> wrote:
No, didn't help either.
https:/
No, didn't help either.
https://gist.github.com/fuchsmich/354af082fbc4577a4bf5
But thanks anyway.
Am 27.01.2016 um 22:07 schrieb Ove Kåven:
Den 27. jan. 2016 17:03, skrev Michael Fuchs:
There is a signal "PropertiesChanged" defined but it doesn't get
emitted, when I start
purpose? systemd takes care of monitoring services for you.
You can however define various actions which you can hook into on
service start/stop/fail .etc
http://www.freedesktop.org/software/systemd/man/systemd.service.html
On Wed, Jan 27, 2016 at 4:03 PM, Michael Fuchs mailto:mic...@gmx.at>>
It's a user unit which gets started by e.g. "systemctl --user start
syncthing".
Am 27.01.2016 um 17:22 schrieb Andrey Kozhevnikov:
your own service?
-- Исходное сообщение --
От: "Michael Fuchs"
Кому: "Sailfish OS Developers"
Отправлено: 27.01.201
ess. afaik you
can't watch for state changes of any services. if i'm wrong i would be
interested in solution also :)
-- Исходное сообщение --
От: "Michael Fuchs"
Кому: "Sailfish OS Developers"
Отправлено: 27.01.2016 22:03:23
Тема: [SailfishDevel] monitor s
Hi,
I would need some help, please.
I'm trying to monitor a systemd service unit via dbus from qml.
There is a signal "PropertiesChanged" defined but it doesn't get
emitted, when I start or stop the service.
Code:
https://gist.github.com/fuchsmich/354af082fbc4577a4bf5
The GetAll method work
Here is the repaired code. ;)
http://pastebin.com/WXhGHbBF
Sorry for spamming the list.
Am 10.06.2015 um 16:46 schrieb Michael Fuchs:
After removing SilicaFlickable (do you need it?) it works.
Am 10.06.2015 um 16:03 schrieb Thomas Tanghus:
Hi
I have a weird issue:
A Dialog with two
After removing SilicaFlickable (do you need it?) it works.
Am 10.06.2015 um 16:03 schrieb Thomas Tanghus:
Hi
I have a weird issue:
A Dialog with two TextSwitches and a Background area, and none of them
registers tapping.
I've been staring myself blind for several days, so now I've gotta ask h
Hi,
you dont need to set the property sound (Line 70), when you are binding
it to the property checked (Line 65).
maybe this helps...
Am 10.06.2015 um 16:03 schrieb Thomas Tanghus:
Hi
I have a weird issue:
A Dialog with two TextSwitches and a Background area, and none of them
registers t
Am 03.06.2015 um 12:15 schrieb Jussi Pakkanen:
We have a few others in the pipeline on how to do development without Qt
Creator for those of you who prefer other tools
Thanks a lot. Looking forward to this one.
greetz, Michael.
___
SailfishOS.org D
Hi Jani,
As somebody else wrote: JSON is the native data format for QML.
I'm using XMLHttpRequest and JSON.parse() for my project.
Maybe this is something for you.
greets,
Michael.
On Tuesday 12 May 2015 22:58:16 Jani Nuutinen wrote:
> I'm trying early on to familiarize myself with passing data
Am 20.04.2015 um 10:49 schrieb François K.:
Hi Michael, hi Lucien, hi devs,
I support this idea: Why don't you build a model that is built in
two step during creation, first, build the 6 entries, then build
the rest ?
Do you suggest to do this in C++ (which is my idea n°1) or mix C++
and Q
Hi Francois,
Am 17.04.2015 um 12:24 schrieb François K.:
To make things more clear, I'm building a to-do app. The first screen
is a list where the first items are : "Today", "Overdue",
"Completed", "Trash", ... And then, I want to have the list of
"Projects" (which are gathered from the database
Hi,
There is an issue with the Combobox in Qml.
When the selector is opened once in fullscreen mode (due to the amount of
menuitems), it doesnt show up in reduced size anymore (when the amount of
items gets reduced).
Here is some code for testing this:
ComboBox {
l
Am 18.03.2015 um 13:07 schrieb Roland Whitehead:
On Tue, 17 Mar 2015 at 20:20:06, Michael Fuchs wrote:
This is exactly what the dbus call does.
But your approach looks simpler, will try this one as well.
I wrote a nasty shell script to send SMS so that I could do so from my
desktop over ssh
Hi there,
this is my first post in this list, so hello to everyone.
I want to write a small App, which helps writing SMS for booking a parking
ticket in Vienna/Austria and later other cities as well.
As i read the recommended way for sending messages from qml is using
dbus. I found this comman
openrepos then
> you can ignore that.
>
> re, Jonni
>
> From: devel-boun...@lists.sailfishos.org
> [devel-boun...@lists.sailfishos.org] on behalf of Michael Fuchs
> [mic...@gmx.at] Sent: Tuesday, March 17, 2015 8:49 PM
> To: devel@l
openrepos then
> you can ignore that.
>
> re, Jonni
>
> From: devel-boun...@lists.sailfishos.org
> [devel-boun...@lists.sailfishos.org] on behalf of Michael Fuchs
> [mic...@gmx.at] Sent: Tuesday, March 17, 2015 8:49 PM
> To: devel@l
On Wednesday 18 March 2015 00:05:55 Andrey Kozhevnikov wrote:
> smsIf.typedCall("startSMS", [{"type":"as", "value":[""]}, {"type":"s",
> "value":smsText.text}])
Thanks, that works.
I was already close to this one, but didnt find out, how to define an array
of strings.
Hi there,
this is my first post in this list, so hello to everyone.
I want to write a small App, which helps writing SMS for booking a parking
ticket in Vienna/Austria and later other cities as well.
As i read the recommended way for sending messages from qml is using
dbus. I found this comman
78 matches
Mail list logo