Re: [Interest] Requesting QObject::bind() method

2017-03-22 Thread Prashanth Udupa
Hi Thiago, > But let me put it this way: will not accept new text-based API for signal, > slots and properties in QObject. You can do that externally, as you've done > it, but I won't take it in QtCore. Ok. > So we need the compile-time checking. What can we use to identify the > property > c

Re: [Interest] QFuture, QAsync? Coroutines, Generators, Promises, Futures...

2017-03-22 Thread Ben Lau
On 31 December 2016 at 21:10, Ben Lau wrote: > > > On 28 December 2016 at 16:36, Petar Koretić > wrote: > >> >> >> On Wed, Dec 28, 2016 at 4:51 AM, Ben Lau wrote: >> >>> >>> >>> On 28 December 2016 at 05:50, Petar Koretić >>> wrote: >>> Hi all! In the wild people are doing all k

Re: [Interest] QFuture, QAsync? Coroutines, Generators, Promises, Futures...

2017-03-22 Thread Elvis Stansvik
2017-03-22 8:54 GMT+01:00 Ben Lau : > > > On 31 December 2016 at 21:10, Ben Lau wrote: >> >> >> >> On 28 December 2016 at 16:36, Petar Koretić >> wrote: >>> >>> >>> >>> On Wed, Dec 28, 2016 at 4:51 AM, Ben Lau wrote: On 28 December 2016 at 05:50, Petar Koretić wrote: >>

Re: [Interest] Semi transparent background for contextual menu

2017-03-22 Thread Nicolas Krieger
I have finally managed to do what I wanted to. I herited from QMenu with the following attributes, so that the window is transparent. Then, I add a widget (with QWidgetAction) with a semi-opaque background. Snippet setAttribute( Qt::WA_TranslucentBackground ); setWindowFlags( windowFlags() | Q

Re: [Interest] Requesting QObject::bind() method

2017-03-22 Thread André Somers
Op 22/03/2017 om 07:49 schreef Thiago Macieira: > Em terça-feira, 21 de março de 2017, às 22:58:38 PDT, Thiago Macieira > escreveu: >> Em terça-feira, 21 de março de 2017, às 19:38:19 PDT, Prashanth Udupa >> >> escreveu: >>> QSlider *slider = ... >>> QLabel *label = >>> QObject::bind(slider

Re: [Interest] Requesting QObject::bind() method

2017-03-22 Thread evilruff
>> This is exactly connect() we already have. >> > That's not quite true. First of all, you are not referencing the getter > in the example above. Then, a ::bind would also initialize the receivers > value to the current value. Qt::connect does not do that. Also, a ::bind > suggests that the conne

Re: [Interest] Requesting QObject::bind() method

2017-03-22 Thread Jean-Michaël Celerier
> QObject::bind(sender, &Sender::signalName, receiver, &Receiver::setter); > This is exactly connect() we already have. I think that bind adds one more step : it does the set. ie. bind would be : QObject::bind(sender, &Sender::signalName, &Sender::getter, receiver, &Receiver::setter); and

[Interest] pushing a WIP

2017-03-22 Thread Patrick Stinson
I am not new to git but am new to growing out of using git as if it were svn. I have a local work in progress branch (apple--pencil) based on dev, and want to know how to push it to a feature branch on dev. Should I just do git push origin dev ? Or is there another way to create a remote branc

Re: [Interest] Requesting QObject::bind() method

2017-03-22 Thread Alejandro Exojo
On Tuesday 21 March 2017 23:49:17 Thiago Macieira wrote: > So we need the compile-time checking. What can we use to identify the > property changing? A read-only property that changes has two C++ > identifiers: the getter and the notify signal. And what can we use to > identify the receiving prope

Re: [Interest] [Development] Diff between Qt-5.7.1 and Qt-5.8.0 on Android - Pointer Below the Cursor at Text Fields

2017-03-22 Thread Robert Iakobashvili
On Tue, Mar 21, 2017 at 4:06 PM, Olivier Goffart wrote: > On Sonntag, 19. März 2017 09:39:57 CET Robert Iakobashvili wrote: > > Nexus-7 with Android-6 > > The same Qt app built with 5.7.1 works properly > > and with 5.8.0 appears a blue pointer down the cursor at text fields > > (QTextEdit, QText