Hi Nicolas,
I can see you left out Q_OBJECT on CustomWebView. Not idea whether the rest
will work or not to achieve your aim.
Tony
From: Interest [mailto:interest-bounces+tony=rightsoft.com...@qt-project.org]
On Behalf Of jagernico...@legtux.org
Sent: Sunday, 28 February 2016
Hi,
in my main.qml I have this code :
WebEngineView {
id: webview
url: "192.168.2.1"
anchors.fill: parent
onNewViewRequested: {
var w_ = crecreateObject()
request.openIn(appWin.w_)
}
}
when onNewViewRequested is called, I would like to open the url of the
request in the the same
On 28 February 2016 at 00:26, Alejandro Exojo wrote:
>
> El Saturday 27 February 2016, Thiago Macieira escribió:
> > On sábado, 27 de fevereiro de 2016 11:45:50 PST Syam wrote:
> > > void MainWindow::someFunction()
> > > {
> > >
> > >MyThread *thread = new MyThread;
> > >
On sábado, 27 de fevereiro de 2016 11:58:09 PST Lorenz Haas wrote:
> So it's all about the "unless..." part. Technically at the moment one
> is calling delete it's not guaranteed that there are no events. Inside
> the destructor, however, it is. So, assumed the documentation is
> right, would this
On sábado, 27 de fevereiro de 2016 17:26:32 PST Alejandro Exojo wrote:
> El Saturday 27 February 2016, Thiago Macieira escribió:
> > On sábado, 27 de fevereiro de 2016 11:45:50 PST Syam wrote:
> > > void MainWindow::someFunction()
> > > {
> > >
> > >MyThread *thread = new MyThread;
> > >
Hi,
On Qt 5.5.1 MinGW 32bit.
I'm making some test with the QML Canvas.
And I was trying to fill a rectangle with a PNG as pattern.
My Image is loaded using a QML Image item.
My drawing commands are in a separate Javascript file.
I access the image by adding an alias property to the Canvas
El Saturday 27 February 2016, Thiago Macieira escribió:
> On sábado, 27 de fevereiro de 2016 11:45:50 PST Syam wrote:
> > void MainWindow::someFunction()
> > {
> >
> >MyThread *thread = new MyThread;
> >connect(thread, SIGNAL(mySignal()), this, SLOT(myGuiSlot()),
> >
> >
2016-02-24 18:23 GMT+01:00 Thiago Macieira :
> On quarta-feira, 24 de fevereiro de 2016 10:22:18 PST Lorenz Haas wrote:
>>Foo() : QObject(nullptr) {
>> moveToThread(_thread);
>> m_thread.start();
>>}
>>
>>~Foo() {
>> m_thread.quit();
>>
On sábado, 27 de fevereiro de 2016 11:45:50 PST Syam wrote:
> void MainWindow::someFunction()
> {
>MyThread *thread = new MyThread;
>connect(thread, SIGNAL(mySignal()), this, SLOT(myGuiSlot()),
> Qt::QueuedConnection);
>thread->start();
> }
>
>
> //
>
> Will the