History log of /haiku/src/preferences/printers/PrintersWindow.cpp
Revision Date Author Comments
# 572e0095 17-Apr-2021 Shannon Mackey <refaqtor@gmail.com>

Printers window peristence

implemented using same pattern as Screen preferences
made corrections from review

Fixes #4262

Change-Id: I658baebcdc6ef7809d871b61db75d0b4099937ed
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3870
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# a1c2394a 09-Sep-2018 jjpx <jjpx@protonmail.com>

Printers preflet: changed localizations

* Fixed colour localization on test page
* Changed JobListView to use plural placeholders
* Changed PrintersWindow to use placeholders

Change-Id: I39477351364a0182cf629476de767af18f9c0d61
Reviewed-on: https://review.haiku-os.org/524
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>


# 5f050a9e 05-Jan-2017 Humdinger <humdingerb@gmail.com>

Change strings in Printer prefs

Per tests by Vidrep, makes the GUI slightly more consistent.
Plus additional sentence casing.


# d0ac6099 07-Nov-2015 Humdinger <humdingerb@gmail.com>

Use B_USE_WINDOW_SPACING

Use B_USE_WINDOW_SPACING as inset from contents to window border.
Some whitespace cleanup.


# 0a3ea2cf 07-Jun-2015 Janus <janus2@ymail.com>

Printers: the window has a proper minimum size

* Fixes #8675.


# 86213fcb 09-May-2015 Janus <janus2@ymail.com>

Printers: printers preferences uses layout.

* Partialy fix #4178.


# 546208a5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# 342169df 27-Nov-2011 Philippe Saint-Pierre <stpere@gmail.com>

Fix resource leakage

CID 10828


# 560ff447 25-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Use resource definition files instead of DoCatalogs rule. Rename B_TRANSLATE_APP_NAME and related macros to the more generic B_TRANSLATE_SYSTEM_NAME, to also fits add-ons, folders, etc, and make 'System name' its standard context. Change CodyCam and PoorMan's app signatures to match the overall x-vnd.Haiku-App pattern. Some clean-up. Make SlideShowSaver build again.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41103 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9c87cb1b 20-Mar-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Moved the whole testpage into its own (offscreen) window, and
print from this window's looper.

There is two majors bugs raised by the test page feature, which sports both
gradiants and vector drawing (leaf, gradiant colors):
- radiants are not recorded/handled in BPicture
color gradiants presents in the test page
- scale is not correctly recorded or handled in BPicture, as seen when zooming on
the leaf drawing in Preview window...
I will investigate how to fix both.

Anyway, an incomplete test page is better than none.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41067 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d374a272 16-Mar-2011 Jonas Sundström <jonas@kirilla.com>

App name localization.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40980 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bc597290 02-Feb-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Now doing TestPageView content layout with... layout API!
Expand a bit the content. The print test page now features:
- a text giving info on the printer name, the driver, the transport (if any)
- a vector leaf logo with blue gradient
- gradients of the 3 primary colors, 3 secondary colors and white to black
- a radial lines

Unfortunatly, BPrintJob is not layout aware, and none of these are currently
recorded in the print job yet, except for corner marks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40351 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 260f2d09 20-Jan-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Add a draft test page.
The gradients are not recorded or played back by BPicture currently,
so they're not visible outside the dummyWindow (code commented out).
Needs to be polished before R1.
Another issue is that ConfigPage() allow user to switch to another printer
than the one selected when Print Test Page button was pressed.
We needs a programmatic way to setup a printjob config for a specific printer...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40251 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9b8e3017 12-Jan-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Removed Print test page button until the feature is actually available.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40220 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e19ab31f 12-Jan-2011 Jérôme Duval <korli@users.berlios.de>

Fixed warning


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40219 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e8e66c5c 12-Jan-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

WIP: add a print test page button.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40216 a95241bf-73f2-0310-859d-f6bbb57e9c96


# dc90a8c5 21-Nov-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Rename folder after the actual name of that preferences app, aka "Printers".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39568 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0a3ea2cfa40990178cd13c60648c96bb1d610add 07-Jun-2015 Janus <janus2@ymail.com>

Printers: the window has a proper minimum size

* Fixes #8675.


# 86213fcb0db624464bd68444fe7282d0fce7a5ba 09-May-2015 Janus <janus2@ymail.com>

Printers: printers preferences uses layout.

* Partialy fix #4178.


# 546208a53940a26c6379c48a7854ade1a8250fc5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# 342169dfe22ea0534551d2f09274a1d5855e7812 27-Nov-2011 Philippe Saint-Pierre <stpere@gmail.com>

Fix resource leakage

CID 10828


# 560ff4478d5c85455ea3e5ed5e392ef93132d545 25-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Use resource definition files instead of DoCatalogs rule. Rename B_TRANSLATE_APP_NAME and related macros to the more generic B_TRANSLATE_SYSTEM_NAME, to also fits add-ons, folders, etc, and make 'System name' its standard context. Change CodyCam and PoorMan's app signatures to match the overall x-vnd.Haiku-App pattern. Some clean-up. Make SlideShowSaver build again.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41103 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9c87cb1b9fd73fe043d40938b2413b65b32fe840 20-Mar-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Moved the whole testpage into its own (offscreen) window, and
print from this window's looper.

There is two majors bugs raised by the test page feature, which sports both
gradiants and vector drawing (leaf, gradiant colors):
- radiants are not recorded/handled in BPicture
color gradiants presents in the test page
- scale is not correctly recorded or handled in BPicture, as seen when zooming on
the leaf drawing in Preview window...
I will investigate how to fix both.

Anyway, an incomplete test page is better than none.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41067 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d374a27286b8a52974a97dba0d5966ea026a665d 16-Mar-2011 Jonas Sundström <jonas@kirilla.com>

App name localization.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40980 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bc597290b9573d45a5d1738abe35b987f38f43cf 02-Feb-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Now doing TestPageView content layout with... layout API!
Expand a bit the content. The print test page now features:
- a text giving info on the printer name, the driver, the transport (if any)
- a vector leaf logo with blue gradient
- gradients of the 3 primary colors, 3 secondary colors and white to black
- a radial lines

Unfortunatly, BPrintJob is not layout aware, and none of these are currently
recorded in the print job yet, except for corner marks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40351 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 260f2d09946e16086830bfcb9d0bd659c03736d1 20-Jan-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Add a draft test page.
The gradients are not recorded or played back by BPicture currently,
so they're not visible outside the dummyWindow (code commented out).
Needs to be polished before R1.
Another issue is that ConfigPage() allow user to switch to another printer
than the one selected when Print Test Page button was pressed.
We needs a programmatic way to setup a printjob config for a specific printer...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40251 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9b8e30176af3788faa157a557f5a5824db565a84 12-Jan-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Removed Print test page button until the feature is actually available.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40220 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e19ab31f6454bda7a3c2a2cb5fc3c7d77372d138 12-Jan-2011 Jérôme Duval <korli@users.berlios.de>

Fixed warning


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40219 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e8e66c5cbd1075209d4d89440b33c8686d0e32f7 12-Jan-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

WIP: add a print test page button.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40216 a95241bf-73f2-0310-859d-f6bbb57e9c96


# dc90a8c5f96edd8e67ce8af2bec6455d9edd2152 21-Nov-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Rename folder after the actual name of that preferences app, aka "Printers".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39568 a95241bf-73f2-0310-859d-f6bbb57e9c96