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

shove flamegraph controls into QToolBar #512

Merged
merged 4 commits into from
Sep 29, 2023
Merged

Conversation

lievenhey
Copy link
Contributor

This change removes the minimum width requirements of about 1100pixels, since Qt can hide widgets of a QToolBar in a menu.

fixes: #501

Copy link
Member

@milianw milianw left a comment

Choose a reason for hiding this comment

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

minor nit, otherwise lgtm - thanks

src/flamegraph.cpp Outdated Show resolved Hide resolved
lievenhey and others added 4 commits September 29, 2023 17:15
This change removes the minimum width requirements of about
1100pixels for the hotspot mainwindow. The remaining window size
constraints are defined by the tabs. When the window is small,
the QToolBar will hide the actions and show a button to list them
in a drop down menu. We also reorder the actions slightly and
give the search box a minimum width, to make it more useable.

fixes: #501
These back/forward actions can be embedded directly and get properly
styled for us by KDE. There's no need to do anything of our own here.
This is available since KF5 5.23 and we depend on 5.42 already.
There's now enough space there and it fits well into the overall
scope of this control in my opinion.
@milianw milianw merged commit fb22403 into master Sep 29, 2023
23 checks passed
@milianw milianw deleted the flamegraph-qtoolbar branch September 29, 2023 15:28
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.

Main window cannot be resized to fit in a 1080x1920px screen
2 participants