aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/MainWindow.cpp
AgeCommit message (Collapse)Author
2022-07-10refactor: fix deprecation up to Qt 5.15Sefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-06Revert "fix: remove updater if it is not used"Sefa Eyeoglu
This reverts commit 2ff0aa09e35eb6910ef0a030ea41f84a1ed95782. Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-01Merge pull request #845 from flowln/news_in_launchertimoreo
2022-06-30Merge pull request #826 from kthchew/fix/kill-menubarSefa Eyeoglu
2022-06-27Merge pull request #827 from kthchew/fix/menubar-separatorEzekiel Smith
Workaround Qt bug to fix menu bar separators on macOS
2022-06-25feat: add news reader dialogflow
Makes it easier to read about new blog posts! Yay :D
2022-06-22Workaround Qt bug to fix menu bar separators on macOSKenneth Chew
2022-06-21Disable launch actions in menu bar when last instance is deletedKenneth Chew
This caused a crash when the action was selected!
2022-06-21Separate the kill and launch instance actionsKenneth Chew
2022-06-20Rename main windowjn64
2022-06-12chore: add license headersSefa Eyeoglu
2022-06-12fix: remove updater if it is not usedSefa Eyeoglu
2022-06-10change slot nameVance
2022-06-10fix: update toolbar when instance state changesVance
2022-05-22Merge pull request #577 from PolyMC/fix/toolbar_🦀_fixSefa Eyeoglu
2022-05-17Merge pull request #529 from flowln/vertical_toolbartxtsd
Set right orientation for instance toolbar when moving it around
2022-05-17Fix toolbar disappearing in a certain circumstance.Lenny McLennington
2022-05-15Merge pull request #539 from kthchew/fix/translation-switchflow
Fix untranslated strings after changing language
2022-05-09Make profile menu scrollableKenneth Chew
2022-05-08Retranslate playtime text immediately when language is changedKenneth Chew
2022-05-08Retranslate account actions after switching languageKenneth Chew
2022-05-07fix: always have the instance toolbar be verticalflow
This overrides the orientation set automatically by Qt when we start moving the toolbar around.
2022-04-22added and fixed some Mnemonics in MainWindowDaniel Schemp
2022-04-18remove "on x"DioEgizio
2022-04-17Fix bugs with instance menu bar options when opening without instancesKenneth Chew
- The launch option is no longer empty. - The program now checks on startup whether an instance is selected to decide whether to disable instance options. Also, get rid of a dynamic cast.
2022-04-16Use `TranslatedAction` instead of `QAction` for menu bar actionsKenneth Chew
2022-04-16Remove the Edit menu bar menuKenneth Chew
It wouldn't bring much utility. - The keyboard shortcuts for copy/paste/etc. already work and are well-known. The menu bar likely doesn't need to advertise them. - There's not very many places you would be able to use these options in the main window (because there's not many places to type stuff in the main window). It would only be applicable on systems with a native menu bar that shows in all other windows as well (but again, the keyboard shortcuts still work). Also, rename `actionWiki` -> `actionOpenWiki` to match the corresponding `on_actionOpenWiki_triggered`
2022-04-16Use preexisting actions in the menu barKenneth Chew
The code is now much cleaner. Because the actions already present are enabled elsewhere even when the menu bar is hidden, keyboard shortcuts added to them automatically work regardless of whether the menu bar is visible. This means that the hacky workaround related to this can be removed.
2022-04-16Close the current window instead of the main window from the menu barKenneth Chew
Systems with native menu bars show the same menu bar for all child windows. As a result, you cannot assume that the menu bar's parent (the `MainWindow`) will be the window in focus.
2022-04-15Add logged in accounts to the profiles menu bar menuKenneth Chew
Additionally, add keyboard shortcuts for switching between different accounts.
2022-04-15Add option to always show menu bar instead of toolbarKenneth Chew
For those who like keyboard navigation at the expense of aesthetics.
2022-04-15Implement help (open wiki) menu bar actionKenneth Chew
2022-04-15Fix keyboard shortcut for delete instance on some devicesKenneth Chew
My laptop has a key labeled "delete," but for some reason it doesn't work with `QKeySequence::Delete`. Instead it's interpreted as a backspace.
2022-04-15Improve menu bar keyboard usabilityKenneth Chew
More reasonable (unique) menu access keys were chosen. In addition, move the settings action from the Help menu to the Edit menu.
2022-04-15Only enable instance options while an instance is selectedKenneth Chew
2022-04-08Fix typos causing build failures on non-macOS systemsKenneth Chew
It also did the exact opposite thing I was trying to do, so that's fixed too...
2022-04-08Show and hide the menu bar with the 'alt' keyKenneth Chew
Only applicable for systems without a native menu bar (i.e. almost anything that is not macOS or Ubuntu Unity). On these systems, the menu bar appears on top of the window, which does not look good next to the tool bar already up there. When the menu bar is hidden, the keyboard shortcuts set by the menu bar are disabled. They should always work, so this also adds a workaround for that.
2022-04-08Create menubar prototypeKenneth Chew
Some stuff still needs to be fixed: - The close window option always closes the main window, even if it is not the currently active window (only applicable on systems with native menu bar) - None of the (text) editing actions are enabled - Actions related to instances should only be active when an instance is selected - The open wiki option ("PolyMC Help") needs to be implemented - Delete instance keyboard shortcut does not seem to work on my system. Test further - It would be nice if the profiles menu had all of the logged in accounts, and if they could be selected from that menu (preferably with keyboard shortcuts, probably Ctrl + 1, Ctrl + 2, ...)
2022-03-21Merge pull request #298 from Scrumplex/fix-i18nSefa Eyeoglu
Fix translatable strings
2022-03-19feat(ui): allow users to move toolbars to different placesflow
2022-03-19fix(i18n): improve social platform actionsSefa Eyeoglu
2022-03-19fix(i18n): fix translatable stringsSefa Eyeoglu
2022-03-15Merge pull request #188 from PolyMC/removal/notificationsEzekiel Smith
remove notifications
2022-03-08add matrix buttondada513
2022-02-20remove notificationsswirl
2022-02-17Merge remote-tracking branch 'upstream/develop' into developswirl
2022-02-10Initial RSS re-add and removed hardcoded stringsdada513
2022-02-10Revert "refactor: remove news feed"dada513
This reverts commit 361ce7818ec8891e9a35bdfac4cdea77a0b6a949.
2022-02-03NOISSUE Add missing tooltip for `Export Instance` actionPetr Mrázek
2022-01-27refactor: remove news feedSefa Eyeoglu
Closes #63