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

ENH: Add layout orientation to ErrorLogDockWidget #1100

Merged
merged 1 commit into from
Jul 5, 2023

Conversation

Punzo
Copy link
Contributor

@Punzo Punzo commented Jun 29, 2023

Needed by Slicer/Slicer#7059

@Punzo Punzo force-pushed the ErrorLogWidgetLayout branch 2 times, most recently from 92cf312 to ad51b28 Compare June 29, 2023 09:17
@Punzo Punzo changed the title ENH: Add layout direction to ErrorLogDockWidget ENH: Add layout orientation to ErrorLogDockWidget Jun 29, 2023
Libs/Widgets/ctkErrorLogWidget.cpp Outdated Show resolved Hide resolved
Libs/Widgets/ctkErrorLogWidget.h Outdated Show resolved Hide resolved
Libs/Widgets/ctkErrorLogWidget.h Outdated Show resolved Hide resolved
@Punzo
Copy link
Contributor Author

Punzo commented Jun 29, 2023

@jcfr I have applied the feedback.
thanks for the review!

Copy link
Member

@lassoan lassoan left a comment

Choose a reason for hiding this comment

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

Thank you it looks good, just added two nitpicky comments.

Libs/Widgets/ctkErrorLogWidget.h Outdated Show resolved Hide resolved
Libs/Widgets/ctkErrorLogWidget.cpp Outdated Show resolved Hide resolved
@Punzo
Copy link
Contributor Author

Punzo commented Jun 29, 2023

Thank you it looks good, just added two nitpicky comments.

ok, I have applied the feedback.
thanks for the review!

- Layout orientation can be configured: it allows better use of available space if the window is very tall or wide (e.g., when in a docking widget).
- Added userViewed() signal: it can be used to detect that the user viewed messages.
- Home/End keys now jump to first/last message (not to the first/last cell of the current row).
- Small cosmetic fix: "All" button height now matches other buttons in the row, regardless of screen resolution.

Co-authored-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
Co-authored-by: Andras Lasso <lasso@queensu.ca>
@lassoan lassoan merged commit 491614f into commontk:master Jul 5, 2023
3 checks passed
@Punzo Punzo deleted the ErrorLogWidgetLayout branch August 16, 2023 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants