Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the page browser just another View #9

Open
hnesk opened this issue Oct 14, 2020 · 0 comments
Open

Make the page browser just another View #9

hnesk opened this issue Oct 14, 2020 · 0 comments

Comments

@hnesk
Copy link
Owner

hnesk commented Oct 14, 2020

At the moment the page browser (ocrd_browser.ui.PagePreviewList) is a hardcoded part of the UI, with a pre-set file_group and position in the UI.
It would be nice if it would behave the same as the other views, so that the user would be able to instantiate, configure and close it.
This opens the possibility to have more than one page browser showing more than one file_group at once, e.g. seeing the binarized and cropped versions of all pages next to each other.
Also an user selected file_group would avoid to restrict the view to preconfigured file_group names like 'OCR-D-IMG.*' as discussed in #7
This can be achieved by changing the page browser to extend and utilize ocrd_browser.view.View with an ocrd_browser.view.FileGroupSelector

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant