lp:~ahayzen/ubuntu-settings-components/add-job-model
- Get this branch:
- bzr branch lp:~ahayzen/ubuntu-settings-components/add-job-model
Branch merges
- Jonas G. Drange (community): Approve
-
Diff: 823 lines (+527/-12)16 files modifiedexamples/PrinterQueue.qml (+113/-0)
plugins/Ubuntu/Settings/Printers/CMakeLists.txt (+1/-0)
plugins/Ubuntu/Settings/Printers/backend/backend.cpp (+7/-0)
plugins/Ubuntu/Settings/Printers/backend/backend.h (+1/-0)
plugins/Ubuntu/Settings/Printers/backend/backend_cups.cpp (+17/-0)
plugins/Ubuntu/Settings/Printers/backend/backend_cups.h (+1/-0)
plugins/Ubuntu/Settings/Printers/cups/cupsfacade.cpp (+18/-0)
plugins/Ubuntu/Settings/Printers/cups/cupsfacade.h (+1/-0)
plugins/Ubuntu/Settings/Printers/enums.h (+13/-0)
plugins/Ubuntu/Settings/Printers/models/jobmodel.cpp (+222/-0)
plugins/Ubuntu/Settings/Printers/models/jobmodel.h (+75/-0)
plugins/Ubuntu/Settings/Printers/models/printermodel.cpp (+17/-0)
plugins/Ubuntu/Settings/Printers/models/printermodel.h (+3/-0)
plugins/Ubuntu/Settings/Printers/printer/printerjob.cpp (+24/-8)
plugins/Ubuntu/Settings/Printers/printer/printerjob.h (+9/-4)
tests/unittests/Printers/mockbackend.h (+5/-0)
Branch information
Recent revisions
- 227. By Andrew Hayzen
-
* Use QSharedPointer instead of raw pointers for PrinterJob
* Renamed Queue.qml to PrinterQueue.qml - 225. By Andrew Hayzen
-
* Add JobModel which lists the jobs for a certain printer
* Add JobRole to PrinterModel to access jobs
* Add JobState enum to track enums from cups
* Add example Queue which lists jobs for a printer with their name, id, status and allows you to cancel the job by clicking - 222. By Andrew Hayzen
-
* Always fit-to-page for now as printing app doesn't know about page sizes or scaling yet
- 221. By Jonas G. Drange
-
* allows creation of printers in example qml, and by extension the API
* create printers by either providing a PPD file, or select a PPD from the database
* adds a DriverModel that holds printer drivers, which can be filtered
* adds testing of DriverModel - 220. By Andrew Hayzen
-
* Skip null printers for now as they result in errors due to missing ppd definitions and segfaults when trying to print
- 218. By Andrew Hayzen
-
* Add isTwoSided read-only property to PrinterJob which allows the QML to know if the selected duplexMode is actually going to print double sided
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:ubuntu-settings-components