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
Port the MainWindow ui to a .ui file #724
Conversation
b2d4803
to
71901fe
Compare
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.
this looks pretty good overall!
there's only a couple minor things that I think could be improved, outside the comments i've made:
-
While you did fix the alt shortcuts on the WideBar, they still show up in the Right-click menu, even though you can't even use those without closing the menu :p
-
I'm not sure about having icons in that menu. In the instance WideBars, this was not an issues because the actions don't have icons, but here they do, and it becomes ambiguous whether clicking that option will toggle its visibility, or activate the action.
-
Maybe the old right-click menu actions, now only accessible through the top bar and the news bar, should be merged with this new menu somehow. It is quite weird to not be able to hide the Instance toolbar from interacting with that toolbar, but be able to by interacting with other toolbars. Perhaps they could be separated into two different sections, and the one to toggle the actions visibility have a name that would clear up the ambiguity I talked about in item 2, so the icons could be left there :)
uh, for some reason the menu only closes when you press alt while using the fusion theme in my testing, this also happens in the instance view context menu and in the menubar :/ |
Fixed |
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.
I couldn't find any differences, besides the news toolbar as @flowln already pointed out.
LGTM and thanks!
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.
couldn't find any issues in my testing, looking good!
Signed-off-by: leo78913 <leo3758@riseup.net>
some stuff still needs to be done in the c++ side because qt designer is dumb >:( the instance toolbar icon and instance name buttons are still added manually inside MainWindow.cpp looks almost identical, with some minor tweaks: - the instance toolbar is now a WideBar, so you can customize what actions you want :D - the instance toolbar buttons are now fullwidth - the close window button is now at the end of the file menu - the help menu has some layout changes this also fixes some stuff: - menus not having tooltips - the top toolbar not connecting to the title bar in kde - the instance toolbar separators looking weird after you move the toolbar Signed-off-by: leo78913 <leo3758@riseup.net>
Signed-off-by: leo78913 <leo3758@riseup.net>
WideBar::insertSeparator was adding the separator to the end of the toolbar Signed-off-by: leo78913 <leo3758@riseup.net>
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: leo78913 <leo3758@riseup.net>
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: leo78913 <leo3758@riseup.net>
Signed-off-by: leo78913 <leo3758@riseup.net>
Signed-off-by: leo78913 <leo3758@riseup.net>
Signed-off-by: leo78913 <leo3758@riseup.net>
this reverts it to how it was before the MainWindow .ui port Signed-off-by: leo78913 <leo3758@riseup.net>
i forgor 💀 Signed-off-by: leo78913 <leo3758@riseup.net>
d668720
to
5a25ce8
Compare
this makes the accounts button and menubar item share the same QMenu and also refactors some code Signed-off-by: leo78913 <leo3758@riseup.net>
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.
some nitpicks, but looks good overall!
Kind of annoying, after toggling, the check automatically closes the menu. |
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: leo78913 <leo3758@riseup.net>
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: leo78913 <leo3758@riseup.net>
Signed-off-by: leo78913 <leo3758@riseup.net>
Signed-off-by: leo78913 <leo3758@riseup.net>
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.
lgtm, thanks!
Some stuff still needs to be done in the c++ side because qt designer is dumb
(The instance toolbar icon and name buttons, and some shortcuts are still manually added in MainWindow.cpp)
Looks almost identical, with some minor tweaks:
This also fixes some stuff:
Closes #594, closes #69, closes #473