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

Allow displaying age/page IDs in Object Browser tree #84

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

dgelessus
Copy link
Contributor

Supersedes #78. Adds an option to display age/page IDs next to page names, similar to the existing option to display type IDs next to class names.

Screenshot of Tools menu and Object Browser with age/page IDs shown

This no longer works for pages now that they might have IDs displayed.
For ages it's technically still fine, but better to fix those as well to
avoid unpleasant surprises later.
Copy link
Member

@dpogue dpogue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apologies for not getting back to look at this after the edits. This seems good to me 👍

case kTypePage:
setText(0, pqFormatPageName(fPage));
setIcon(0, QIcon(":/img/page.png"));
break;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should probably add a default case with an assert to catch if/when the enum is modified in the future.

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

Successfully merging this pull request may close these issues.

3 participants