[Interest] Using a QAbstractScrollArea
Giuseppe D'Angelo
giuseppe.dangelo at kdab.com
Sat Mar 23 12:54:33 CET 2019
Il 22/03/19 19:24, Bob Hood ha scritto:
> 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?
Is the question about how to use your custom class from Designer, or
about how does QASA work and how's different from QSA?
Cheers,
--
Giuseppe D'Angelo | giuseppe.dangelo at 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 - The Qt, C++ and OpenGL Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4007 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190323/9558feea/attachment.bin>
More information about the Interest
mailing list