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

Add option to hide or show the controls widget when needed/wanted #265

Merged
merged 4 commits into from
Dec 5, 2021

Conversation

precla
Copy link
Contributor

@precla precla commented Nov 30, 2021

Instead of only allowing it once and keep it visible until program is closed,
add a function setControlsWidgetVisible(true/false) that allows to hide/show
the controls widget 'on the fly'.

setControlsWidgetVisible(true) -> shows the controls widget
setControlsWidgetVisible(false) -> hides the controls widget

As requested in #263 (comment)

Instead of only allowing it once and keep it visible until program is closed,
add a function setControlsWidgetVisible(true/false) that allows to hide/show
the controls widget 'on the fly'.

setControlsWidgetVisible(true) -> shows the controls widget
setControlsWidgetVisible(false) -> hides the controls widget
Copy link
Member

@DamirPorobic DamirPorobic left a comment

Choose a reason for hiding this comment

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

Just minor coding style changes.

src/gui/annotator/AnnotationWidget.cpp Outdated Show resolved Hide resolved
src/gui/annotator/AnnotationWidget.cpp Outdated Show resolved Hide resolved
src/gui/annotator/AnnotationWidget.h Outdated Show resolved Hide resolved
@DamirPorobic
Copy link
Member

Thanks for changing this!

@DamirPorobic DamirPorobic merged commit 3b0f5c0 into ksnip:master Dec 5, 2021
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.

None yet

2 participants