[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KDE4 printing: results of IRC meeting
From:       Alex Merry <huntedhacker () tiscali ! co ! uk>
Date:       2007-09-14 11:58:10
Message-ID: 200709141258.10554.huntedhacker () tiscali ! co ! uk
[Download RAW message or body]


On Friday 14 Sep 2007, Thiago Macieira wrote:
> On Friday 14 September 2007 13:44:57 Alex Merry wrote:
> > This isn't really an issue - I think it's entirely reasonable to
> > expect the client to do the page selection.  However, Qt4 doesn't
> > allow you to select arbitrary page lists in the print dialog.  They
> > must be selected in the application before hand, and the user has
> > to choose "selection" in the print dialog box.
>
> That can be added as a feature for QPrintDialog in Qt 4.4, disabled
> by default.
>
> QList<QPair<int, int> > pageRangesToPrint() const;

Or even just
QList<int> pagesToPrint() const;

which is how KPrinter currently does it.

Alex



-- 
KDE: http://www.kde.org
Ubuntu/Kubuntu: http://www.ubuntu.org http://www.kubuntu.org

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic