Hoi,
I've got checkable items in a QListWidget and I'd like to use custom
images for the disabled, checked and unchecked states. I'm using 4.8.x.
What's the correct selector to use for these?
The documentation implies that QListView::item is used to refer to the
sub-control, but I'm not having
Hi Jason,
As Andre pointed out, have an 'outer' class manage the worker object
and thread for you instead of doing it from within your worker.
Eg:
SomeManagerClass::SomeManagerClass(QObject *parent) : QObject(parent)
{
worker = new MyWorker(); // parentless
workerThread = new QThread();
Hi,
I'm trying to regularly schedule updates for a QQuickFramebufferObject
using QTimer (for rendering a frame at regular intervals). I want to
skip frames if the QQuickFramebufferObject::Renderer is busy rendering
a frame.
My timer (in QQuickFramebufferObject) triggers a slot to do this:
MyQQui
On segunda-feira, 2 de dezembro de 2013 13:47:22, Jason Kretzer wrote:
> BackgroundTaskManager::BackgroundTaskManager(QObject *parent) :
> QObject(parent)
> {
> this->moveToThread(thread);
An object with a parent cannot be moved. However, looks like you're not using
a parent:
> qDeb
Thanks for the information! Very helpful!
Here is the BackgroundTaskManager full constructor — since you brought up the
idea of parentage — I thought this might be helpful to the conversation.
BackgroundTaskManager::BackgroundTaskManager(QObject *parent) :
QObject(parent)
{
QTimer* time
Hi,
It looks to me, that you're indeed doing it wrong. It seems you're
trying to let your backgroundtaskmanager both manage a thread and be
_in_ that thread. That is not the way to go. I'd separate the two
issues. If you want the backgroundTaskManager to run in it's own thread,
then either jus
On segunda-feira, 2 de dezembro de 2013 11:14:19, Jason Kretzer wrote:
> My question is, am I correctly doing this at all? Is this the proper use of
> a QEventLoop?
Your problem is most likely not related to QEventLoop.
My guess is that your backgroundtaskmanager is not in the background at all.
Maybe that last bit would be a bit more clear.
The first qDebug statement writes out — I have it set to give the time when it
is written as well — but the qDebug does not write until after the heavy task
is completed in backgroundtaskmanager. Any other time, this performs as
expected, ticking
Good Day,
I have in my application, two classes. When the application starts up, one of
the classes -backgroundtaskmanager - gets instantiated. In the constructor, a
QTimer is started to timeout every 5 minutes and call runTasks. The
instantiation is then moved to a separate thread so that i
Hi,
I'm fairly new to using OpenGL with Qt, so apologies if these
questions are too basic.
I've created some fairly simple programs with QGLWidget and
lately converted these to use a reparented QWindow +
QOpenGLFunctions using QWidget::createWindowContainer which
works OK. These were all based u
Thanks
-Original Message-
From: interest-bounces+graham.labdon=avalonsciences@qt-project.org
[mailto:interest-bounces+graham.labdon=avalonsciences@qt-project.org] On
Behalf Of Nurmi J-P
Sent: 02 December 2013 16:19
To: Interest@qt-project.org
Subject: Re: [Interest] Animation Fra
On 02 Dec 2013, at 16:40, Graham Labdon
wrote:
> Hi
> If I have a group of animations and have added them to a group –
> QPropertyAnimation *Animation1 = new
> QPropertyAnimation(widget1, "pos");
> QPropertyAnimation *Animation2 = new
> QProperty
On segunda-feira, 2 de dezembro de 2013 16:58:29, Tim Blechmann wrote:
> after digging further into it, i found out that zlib provides a naming
> mechanism, which prefixes a z_ to its symbols to avoid name clashes.
> this is done by Qt's bundled zlib. unfortunately, the prefixing is not
> done with
>> hmm, i might be hit by my ignorance of the win32 platform, but trying to
>> do so there seems to be a symbol mismatch: Qt5Core provides symbols like
>> _z_deflate, but my library is looking for the symbol _deflate ...
>
> If the symbols in Qt are different, then the original problem does not
>
On segunda-feira, 2 de dezembro de 2013 14:03:54, Tim Blechmann wrote:
> >> well it is not that i want to completely remove zlib, but i currently
> >> have too many of them ;)
> >>
> >>> You might try to use a "system zlib", i.e. provide your own copy of zlib
> >>> as the one Qt links to and then
Hi
If I have a group of animations and have added them to a group -
QPropertyAnimation *Animation1 = new
QPropertyAnimation(widget1, "pos");
QPropertyAnimation *Animation2 = new
QPropertyAnimation(widget2, "pos");
QParallelA
>> well it is not that i want to completely remove zlib, but i currently
>> have too many of them ;)
>>
>>> You might try to use a "system zlib", i.e. provide your own copy of zlib
>>> as the one Qt links to and then use the one linked inside Qt.
>>
>> i've already tried to compile with -system-zli
Hi
I am trying to make a library with several Qt Designer plugins following the
instructions here
http://qt-project.org/doc/qt-5.0/qtdesigner/qdesignercustomwidgetcollectioninterface.html
When compiling I am getting this error -
mycustomwidgets.cpp(17): error C2338: Old plugin system used
1>mycus
18 matches
Mail list logo