KPrintDialog?
Thiago Macieira
thiago at kde.org
Thu Oct 25 11:09:37 BST 2007
Em Wednesday 24 October 2007 21:24:17 Harri Porten escreveu:
> On Wed, 24 Oct 2007, Thiago Macieira wrote:
> > How do you make a native dialog like the Windows or MacOS X printing
> > dialogs use KDialog?
>
> Three options come to my mind:
>
> 1.) Not use them at all but roll your own stuff. Has worked on Unix and
> it's not like KDE is not going to add its own touch to those platforms.
>
> 2.) Don't embed them but just them and risk KDE style and extensibility. I
> already said earlier that the lowest common denominator approach is
> acceptable. Do the best platform on each platform.
>
> 3.) Customize/embed the native dialogs to our own extensions. At least on
> Windows that's possible I believe.
>
> I repeat that I consider differing approaches on each platform to be
> absolutely acceptable. On X11 systems *we* are the ones defining the look
> of the desktop and should keep it uniform. On Mac OS X and Windows we are
> just guests and have to blend in.
Agreed. And my personal position is that, where we believe that our dialogs
are better than the native ones, we should use ours. This is especially valid
for the file dialogs.
Now comes the hard part: the print dialog must configure a QPrinter. This is
where things get tricky and this is why libkdeprint bit-rotted and fell
behind CUPS.
Thomas said it before and I repeat: the reason to use QPrintDialog is to make
sure that we centralise in one place only all of that. But if you're willing
to roll out and maintain a print dialog and a print-preview dialog, matching
the capabilities, you're welcome to do so.
Alternatively, we can start looking into what it would take to embed
a "QPrintDialogWidget" into a KDE-style dialog, at least on X11. I'm not
promising anything.
I do have a question though: how does i18n stand in that?
--
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/20071025/f7525643/attachment.sig>
More information about the kde-core-devel
mailing list