Hi Riku,
> On 16 Nov 2016, at 3:17 pm, Riku Lahtinen wrote:
>
> Hi!
>
> I have tried to modify my Fast chess app to have a two player mode with two
> devices. I planned to code it using bluetooth technology. I found a good QT
> example Ping Pong, which has a functionality I need.
>
> Current
Hi Krzysztof,
> On 14 Jul 2016, at 5:17 am, Krzysztof Lesiak wrote:
> Now, I have found this thread:
> https://lists.sailfishos.org/pipermail/devel/2015-March/005781.html
>
> I'd very much like to be able to submit my application to harbour when it's
> done, which can take some time, but stil
On 24 Jun 2014, at 11:30 am, Tomasz Sterna wrote:
> Hello.
>
> Is there a way of obtaining a list of known BT devices from pure Qt C++?
>
> I know there is KnownDevicesModel in Sailfish.Bluetooth QML module, but
> I would like to get that information on C++ level - in an command-line
> applicat
On 19 Dec 2013, at 12:45 am, Wim de Vries wrote:
> Thx. That works.
> Maybe sth for in the documentation in the future?
Sounds good, I’ll add a note to the docs to say that the height of the
ContextMenu should not be explicitly set or changed.
cheers,
Bea
Hello,
On 17 Dec 2013, at 11:17 pm, Wim de Vries wrote:
> Hi,
> I am trying a contextmenu. I can show() it, but not hide it.
> Clicking on the lower rectangle does not hide it:
Just remove the “anchors.fill: parent” from your ContextMenu declaration. The
ContextMenu type internally adjusts its
Hi Franck,
To get a reference to a particular instance of a delegate, just give the
delegate an id, and references to that id from within the delegate declaration
will refer to that instance only. The “this” keyword is not valid in this
context. (See
http://qt-project.org/doc/qt-5.0/qtqml/qtqm
t; Hello,
>
> Indeed.
>
> Thanks a lot for the explanation.
>
> Regards,
>
> Le 2013-08-09 03:12, Bea Lam a écrit :
> > Hello,
> >
> > The problem is that when the model changes, the last added delegate
> > steals the focus, as ListView has a focus scop
Hello,
The problem is that when the model changes, the last added delegate steals the
focus, as ListView has a focus scope.
If you set "currentIndex: -1" on the ListView, then this behaviour will be
disabled. (This is what's done in the SearchPage.qml example in
silicacomponentgallery.)
cheer
Hi Aleksi,
You could use a Repeater to fill the ComboBox's ContextMenu and then
dynamically change the model of the Repeater. E.g.
ComboBox {
menu: ContextMenu {
Repeater {
model: ListModel { id: listModel }
MenuItem { text: model.name }
}