Re: [Interest] Change modifier for horizontal scrolling with mousewheel

2022-05-20 Thread Volker Hilsheimer
> On 20 May 2022, at 21:05, Thorsten Glaser wrote: > > On Fri, 20 May 2022, Volker Hilsheimer wrote: > >> sending a synthesized wheel event with the Alt modifier set to the >> QWidget will not trigger this behavior, as that never exercises that > > Hmm. I’m on a laptop without scroll wheel, s

Re: [Interest] Change modifier for horizontal scrolling with mousewheel

2022-05-20 Thread Thorsten Glaser
On Fri, 20 May 2022, Volker Hilsheimer wrote: > sending a synthesized wheel event with the Alt modifier set to the > QWidget will not trigger this behavior, as that never exercises that Hmm. I’m on a laptop without scroll wheel, so I bound two keys to emulate a mouse wheel: https://musescore.org

Re: [Interest] [External] Re: Change modifier for horizontal scrolling with mousewheel

2022-05-20 Thread Sean Murphy via Interest
> If you want to also disable the Alt modifier's effect, then things get a bit > trickier (if Alt is held, assume that the original event is flipped, so > unflip it). I think I probably do want to disable Alt, but I'm not 100% convinced of that yet. I might be able to get away with just adding S

Re: [Interest] Change modifier for horizontal scrolling with mousewheel

2022-05-20 Thread Volker Hilsheimer
> On 20 May 2022, at 17:26, Sean Murphy via Interest > wrote: > > The subject mostly says it all - is there a way to change the modifier used > to allow horizontal scrolling with mousewheel? > > By default it appears that Alt + mousewheel in a QScrollArea (and > QGraphicsView, etc.) scrolls

Re: [Interest] Qt6: QShared is not supported in signals if TYPE is an QObject?

2022-05-20 Thread Thiago Macieira
On Friday, 20 May 2022 01:54:43 PDT Alexander Dyagilev wrote: > Qt6 - can't even compile. Windows, MSVC2019. Please share the error message. And please use an email client that knows how to paste spaces. Your code is unreadable: > classA:publicQObject > > { > > Q_OBJECT > > public: > > expl

[Interest] Change modifier for horizontal scrolling with mousewheel

2022-05-20 Thread Sean Murphy via Interest
The subject mostly says it all - is there a way to change the modifier used to allow horizontal scrolling with mousewheel? By default it appears that Alt + mousewheel in a QScrollArea (and QGraphicsView, etc.) scrolls horizontally, but I have a user that wants that to be Shift + mouse wheel ins

[Interest] Qt6: QSharedPointer is not supported in signals if TYPE is an QObject?

2022-05-20 Thread Alexander Dyagilev
Hello, Sorry, the previous email had a wrong title. Had to fix it due to no answers :) So: Qt5 - compiles and works fine. Qt6 - can't even compile. Windows, MSVC2019. Code: *a.h*: classA:publicQObject { Q_OBJECT public: explicitA(QObject*parent=nullptr); signals: voidtest1(constQShar

[Interest] Qt6: QShared is not supported in signals if TYPE is an QObject?

2022-05-20 Thread Alexander Dyagilev
Hello, Qt5 - compiles and works fine. Qt6 - can't even compile. Windows, MSVC2019. Code: *a.h*: classA:publicQObject { Q_OBJECT public: explicitA(QObject*parent=nullptr); signals: voidtest1(constQSharedPointer&o);//OK voidtest2(constQSharedPointer&o);//CompileerrorunderQt6 }; *b.h*: