~jonas-drange/ubuntu-settings-components/cups-notifications

Viewing all changes in revision 209.

  • Committer: Andrew Hayzen
  • Date: 2017-01-19 20:13:27 UTC
  • mfrom: (208.1.4 duplex-improvements)
  • Revision ID: ahayzen@gmail.com-20170119201327-9uohx2509q5apro6
* Add a Printers::allPrintersWithPdf option which includes a fake pdf at the bottom
* Add a PrinterInfoAllImpl which combines PrinterInfoPdfImpl and PrinterInfoImpl for listing
* Add a PrinterInfoPdfImpl which implements a fake pdf printer (just a name in the list)
* Add isPdf role to PrinterModel
* Add filterOnPdf to PrinterModel to allow for only showing pdf printers
* Force pdf printers to bottom of the PrinterModel
* Inject a fake ColorModel in PrinterPrivate::loadColorModel for pdf printers
* Change PrinterJob::setPrinterName to use PrinterInfoAllImpl for retreiving the PrinterInfo
* Improve the UI names for the Duplex modes
* Improve detection of color models so that "black" is a greyscale type
* In the example disable duplex mode when there is only None
* Fix colorModelType not emitting when it may have changed, causing QML to get out of sync

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: