Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary:
This PR adds an outline of the preview document to the Manuscript Build Tool. The build details and outline are occupying the same area of the dialog, under different tabs.
The manuscript preview now also used the HTML class in preview mode, like the document viewer. This simplifies a few things, and makes it more consistent with the output. In addition, the HTML class now generates navigation links for all the titles using the handle as part of the anchor. This will both be useful when multi-document viewing is added for the document viewer, and table of contents navigation is added to the HTML output. The old anchors only used a heading counter to generate the link, which resets on each included document. The navigation for the document viewer has been updated to account for the new anchors.
In addition, this PR combines all the tool button styling into a central style sheet dictionary in the main theme class. The specially styled tool button used all over the GUI has also been combined into a subclass of the QToolButton so that the styling doesn't have to be set everywhere this button style is used. This means that all tool buttons on the GUI using this style now have the same look. Before this, there were minor variations.
Related Issue(s):
Closes #1765
Reviewer's Checklist: