Permalink
Show file tree
Hide file tree
2 comments
on commit
sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Make measure tool dialogs stay on top of other windows during operation
- Not tested with X11, may need Qt::X11BypassWindowManagerHint too
- Loading branch information
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f29b558
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, would it not be better to dock these tools ?
f29b558
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 for a dock widget. I wondered the same thing myself. This commit was a quick fix just to get the tools graphically functional on Mac (and maybe other platforms).
There could be one toolbar button for the measuring tool, which opens (or puts focus on) the dock widget. Then, the dock widget could contain the different measuring tools and icons, to switch between them. Or, the toolbar actions could be left as is, and the dock contents switched when the toolbar tool changes (though, I prefer first option with the tool actions part of the dock widget).