aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/MainWindow.cpp
AgeCommit message (Collapse)Author
2023-06-25Added plantxt exportTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-06-22Added ExportModsToStringDialogTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-06-15Merge pull request #1063 from RedsonBr140/feat/RootFolderSefa Eyeoglu
2023-06-15fix: simplify resolving of data pathSefa Eyeoglu
Co-authored-by: TheKodeToad <TheKodeToad@proton.me> Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-06-12Merge pull request #1162 from leo78913/i-hate-naming-branchesTayou
2023-06-11add icons to export menuleo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2023-06-11rainbow konami & toggleTayou
Signed-off-by: Tayou <tayou@gmx.net>
2023-06-06Merge pull request #1073 from leo78913/accounts-menus-fixesTayou
2023-06-06fix main toolbar accounts toolbutton nameleo78913
previously it was not using the selected account name when opening the launcher and i also added an action group to the menu items so it uses radio buttons instead of checkboxes :p Signed-off-by: leo78913 <leo3758@riseup.net>
2023-05-13Merge branch 'develop' into mrpack-exportKode
Signed-off-by: Kode <TheKodeToad@proton.me>
2023-05-09fix: Prism sets the data dir to the working directory.Redson
Signed-off-by: Redson <redson@riseup.net>
2023-05-08feat: Add the launcher root folder to the Folders menuRedson
Signed-off-by: Redson <redson@riseup.net>
2023-04-29refactor: pass instance ptr to resource models. use it to find instance root.Rachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-31fix: Apply suggestions from code review (string changes)Rachel Powers
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-20feat: track instance copies that use linksRachel Powers
confirm deleations when other instances link to it Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-02UI for mrpack export (broken)TheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-02-05feat(RD): add shader pack downloaderflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-28Fix: fix some regressions in the main windowleo78913
this removes the update action from the help button and fixes the add to path action not showing on macos Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-27Merge pull request #724 from leo78913/dot-ui-mainwindowflow
Closes https://github.com/PrismLauncher/PrismLauncher/issues/594 Closes https://github.com/PrismLauncher/PrismLauncher/issues/69 Closes https://github.com/PrismLauncher/PrismLauncher/issues/473
2023-01-26refactor: clean up some MainWindow stuffleo78913
this makes the accounts button and menubar item share the same QMenu and also refactors some code Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-24Merge branch 'develop' into remove-updaterSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-01-20Fix main window icon and stuffleo78913
i forgor 💀 Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20Fix: make the newsLabel toolbutton fullwidth againleo78913
this reverts it to how it was before the MainWindow .ui port Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20remove useless setEnabled callsleo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20feat(WideBar): custom context menu actionsleo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20Fix: translate actionNoDefaultAcount textleo78913
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20Fix: translate NoAccountsAdded textleo78913
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20fix(widebar): fix insertSeparatorleo78913
WideBar::insertSeparator was adding the separator to the end of the toolbar Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20feat(WideBar): Allow disabling alt shortcutsleo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20refactor: Port the main window to a .ui fileleo78913
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>
2023-01-20make MainWindow cat update instantlyTayou
Signed-off-by: Tayou <tayou@gmx.net>
2023-01-16Merge pull request #696 from Ryex/import-all-the-thingsSefa Eyeoglu
Fixes https://github.com/PrismLauncher/PrismLauncher/issues/581 Fixes https://github.com/PrismLauncher/PrismLauncher/issues/700
2023-01-13Apply suggestions from code reviewRachel Powers
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net> Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-10Implement Suggestions from flow & ScrumplexTayou
Signed-off-by: Tayou <tayou@gmx.net>
2023-01-10UX tweak + formatting + added cat to wizardTayou
Signed-off-by: Tayou <tayou@gmx.net>
2023-01-10add theme setup wizardTayou
Signed-off-by: Tayou <tayou@gmx.net>
2023-01-09fix: fix #700Rachel Powers
fixed by properly converting from a file path and converting to native seperators. should have known naive handling of file path as a URL would come back to bite us cross platform. Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-07fix: *sigh* no implicit QString->QFileInfo conversion in Qt6, again...Rachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-07feat: Import all the things!Rachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2022-12-26Merge pull request #618 from TheKodeToad/safer-destructive-actionsSefa Eyeoglu
Fixes https://github.com/PolyMC/PolyMC/issues/948
2022-12-26About to -> you are about toTheKodeToad
You're is used in some other places but im lazy Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-12-24Make requested changesTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-12-14Merge branch 'develop' into remove-updaterSefa Eyeoglu
2022-12-14Improve handling of destructive actionsTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-12-14move cat to bottom rightDioEgizio
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-12-11fix: remove leftover TODODioEgizio
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-12-08Merge pull request #568 from leo78913/flatpak-shortcutsflow
2022-12-08fix: fix creating instance shortcuts in flatpakleo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2022-12-07fix: add instance shortcut creation action to menubarDioEgizio
also moves deleteinstance to the same place as the instance toolbar Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-12-03fix: warn before trashing instancesRyan Cao
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>