Re: [Interest] Getting QGraphicsView from within a mouse event

2020-06-14 Thread Nicholas Yue
The return widget object does not have a viewport() method from looking at the QWidget - docs void AttributeItem::mousePressEvent(QGraphicsSceneMouseEvent* event) { if (event->button()==Qt::LeftButton) { QWidget *w = event->widget(); } else

Re: [Interest] Getting QGraphicsView from within a mouse event

2020-06-14 Thread Giuseppe D'Angelo via Interest
Il 15/06/20 00:50, Nicholas Yue ha scritto: Hi,   I understand that a QGraphicsScene may be view by multiple QGraphicsView   When handling a mouse event, what is the Qt way to find out from which view the event was from ? If you're handling a QGraphicsSceneEvent of some sort, its widget()

[Interest] Getting QGraphicsView from within a mouse event

2020-06-14 Thread Nicholas Yue
Hi, I understand that a QGraphicsScene may be view by multiple QGraphicsView When handling a mouse event, what is the Qt way to find out from which view the event was from ? Cheers -- Nicholas Yue Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Wind

Re: [Interest] GTk QPA?

2020-06-14 Thread René J . V . Bertin
Giuseppe D'Angelo via Interest wrote: > What issues are we talking about? General slowness, remote GLX/EGL quirks depending on the remove X11 server. And a few issues when running on Mac with the XCB QPA. AFAIK that is not officially NOT supported (and it's relatively trivial to get to build) s

Re: [Interest] [Development] Windows 7 support will be dropped in Qt 6

2020-06-14 Thread Roland Hughes
On 6/14/20 5:00 AM, Jonathan Purol wrote: One possible solution that came to mind is that after the LTS is dropped for Qt 5.15 it could be opened to the public for contributions with some elected people as the maintainers, perhaps from larger companies that are in close contact with the Qt compa

[Interest] Overwriting Painting Of Widgets

2020-06-14 Thread Jonathan Purol
I attempted to have a vertical tabbar on the left, similar to what you'd have in QtCreator or VSCode. However, Qt automatically rotates the label on the left, which includes the icon. I attempted to go around this by subclassing QTabBar (and subsequently QTabWidget to use my custom TabBar) overwrit

Re: [Interest] [Development] Windows 7 support will be dropped in Qt 6

2020-06-14 Thread Thiago Macieira
On Saturday, 13 June 2020 00:20:46 PDT Konrad Rosenbaum wrote: > (**)you will regularly find machines running a 2.6 kernel, some may even > run 2.4. Many GUIs look suspiciously Motif-like and if you get to see > the window manager behind the full-screen GUI it may look eerily CDE-ish > or FVWM-like

Re: [Interest] GTk QPA?

2020-06-14 Thread Giuseppe D'Angelo via Interest
Il 14/06/20 12:08, René J.V. Bertin ha scritto: the issues I'm seeing What issues are we talking about? Thanks, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - T

[Interest] GTk QPA?

2020-06-14 Thread René J . V . Bertin
Hi, This could come across as a subtle new form of heresy, but is anyone aware of (work on) a GTk-based QPA plugin for Qt? Not a style or platform theme plugin, but an actual alternative for the XCB QPA plugin. In general I find that GTk-based applications are more suitable for use with a remot