KDE Printing API Request (Was: [REMINDER] KDE Dev Platform FROZEN)

Thiago Macieira thiago at kde.org
Sat Oct 6 21:47:52 BST 2007


Alex Merry wrote:
>On Saturday 06 Oct 2007, Alex Merry wrote:
>> Oh, and I can't find the method for adding a custom widget in Qt
>> 4.3.2 (looking at the source files for QPrintDialog).
>
>In fact, the string "qt_printdialog_add_extension_tab" doesn't appear
>anywhere in the Qt 4.3.2 (X11) source code.
>
>What's going on?

There's no API. You have to get the object children using qFindChildren 
and modify the layout on the fly. The .ui file has been modified to allow 
that.

I didn't like the extra symbol in the public API because we'd have to 
support it until Qt 5. So we removed it before the release.

Thomas has the details on how to do the modifications.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071006/7196c316/attachment.sig>


More information about the kde-core-devel mailing list