[Interest] Using a QAbstractScrollArea

Bob Hood bhood2 at comcast.net
Fri Mar 22 19:24:29 CET 2019


I'm having a bit of a brain fart here.  I have a third-party class I'd like to 
use that inherits from QAbstractScrollArea.  Qt Designer only knows about a 
QScrollArea, though, which inherits QAbstractScrollArea.

How do I use this as a concrete Qt class type?  Do I inherit from QScrollArea 
and then somehow change my parent to it?  Or do I have to inherit from the 
third-party class, and then recreate the entire QScrollArea interface so it 
"quacks" like a QScrollArea instance?

Thanks for kicking me in the head.  :)


More information about the Interest mailing list