Skip to content

shove flamegraph controls into QToolBar#512

Merged
milianw merged 4 commits intomasterfrom
flamegraph-qtoolbar
Sep 29, 2023
Merged

shove flamegraph controls into QToolBar#512
milianw merged 4 commits intomasterfrom
flamegraph-qtoolbar

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
Collaborator

@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

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 force-pushed the flamegraph-qtoolbar branch from fedf699 to d3f3b23 Compare September 29, 2023 15:15
@milianw milianw merged commit fb22403 into master Sep 29, 2023
@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