Hi Volker,
that doesn't sound like a bad idea at all I think, though I'm no QT
expert myself.
I will try that tomorrow, thanks.
On 9/08/16 5:57 pm, Volker Siepmann wrote:
I'm quite new to qt, so please set me straight if this is nonsense:
Can you use the blockSignals(True) method once the e
I'm quite new to qt, so please set me straight if this is nonsense:
Can you use the blockSignals(True) method once the event was called, so it
doesn't try to open it multiple times as you continue hovering?
Then you need to catch the event of editor closing, so you can enable the
signals again by b
And one more follow up:
I just tried this in my view class:
def mouseMoveEvent(self, event):
'''Find item under mouse and pop it into edit mode'''
index = self.indexAt(event.pos())
self.edit(index)
This successfully pops the first item under the mouse into edit mode,
Ok, so after some more experimenting I am fairly certain that using
seItemWidget inside the delegate's paint event is a bad idea.
My second approach seems more promising so far: Using the custom movie
player widget as the delegate's editor, even though I don't actually
want to edit anything.
How
Thanks Ch'Gans for replying.
The lines do not have a width. I thought about QGraphicsScene which I
use already but it does seems to be too much for that (plus memory
consumption is an issue as well).
To give a bit mode details: The list of lines does not change during
calculation, it changes
On 9 August 2016 at 05:09, Nilesh Kokane wrote:
> On Aug 8, 2016 9:06 PM, "Thiago Macieira" wrote:
>>
>> On segunda-feira, 8 de agosto de 2016 20:11:38 PDT Nilesh Kokane wrote:
>> > Hello,
>> >
>> > I've a QQueue designed for threadsafe as[1]. I push to the QQueue from
>> > one thread and pop fro
On 9 August 2016 at 04:05, maitai wrote:
> Hello all,
>
> I have a list of lines (QLineF) in 2D space. Some might represent a closed
> polygon, some others are just a line or represent a non closed polygon.
> Classical problem: I need to detect if another given line is crossing one of
> the lines
On 2016-08-08 18:05, maitai wrote:
Hello all,
I have a list of lines (QLineF) in 2D space. Some might represent a
closed polygon, some others are just a line or represent a non closed
polygon. Classical problem: I need to detect if another given line is
crossing one of the lines in the list. I d
On Aug 8, 2016 9:06 PM, "Thiago Macieira" wrote:
>
> On segunda-feira, 8 de agosto de 2016 20:11:38 PDT Nilesh Kokane wrote:
> > Hello,
> >
> > I've a QQueue designed for threadsafe as[1]. I push to the QQueue from
> > one thread and pop from the other. After several attempts it hangs in
> > QList
Hello all,
I have a list of lines (QLineF) in 2D space. Some might represent a
closed polygon, some others are just a line or represent a non closed
polygon. Classical problem: I need to detect if another given line is
crossing one of the lines in the list. I don't need the crossing point,
ju
Hello,
I use QtQuickControls 2 together with QQuickItem-derived class in my app.
After I set AA_EnableHighDpiScaling attribute and all QQuickControls 2
components look correctly on my smartphone but object of my custom class is
scaled incorrectly. Here is the app without HighDpi scaling with minim
On segunda-feira, 8 de agosto de 2016 20:11:38 PDT Nilesh Kokane wrote:
> Hello,
>
> I've a QQueue designed for threadsafe as[1]. I push to the QQueue from
> one thread and pop from the other. After several attempts it hangs in
> QList::append near node_construct(n, t).
>
> [1]. https://paste.kd
Hello,
I've a QQueue designed for threadsafe as[1]. I push to the QQueue from
one thread and pop from the other. After several attempts it hangs in
QList::append near node_construct(n, t).
[1]. https://paste.kde.org/p85706xzb
Any clue?
--
Nilesh Kokane
_
13 matches
Mail list logo