aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/MainWindow.cpp
AgeCommit message (Collapse)Author
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>
2022-12-01fix: explicitly set scheme for local file in -I argumentflow
Otherwise isLocalFile() will return false for local files without the file:// thingy. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-11-27Merge remote-tracking branch 'upstream/develop' into ↵Sefa Eyeoglu
import-resource-pack-dialog-uwu
2022-11-27fix: improve code readabilitySefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-11-25Merge pull request #227 from Leo40Git/feature/instance-shortcutsSefa Eyeoglu
Closes https://github.com/PrismLauncher/PrismLauncher/issues/210
2022-11-21refactor: remove old updaterSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-11-20refactor: move RP/TP validation to their respective utilsflow
This makes it easier to validate individual resources, and allows the logic to be used in other places in the future, if we need to. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-11-20fix: stray includeRyan Cao
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
2022-11-20fix: add support for CLI and drag and dropRyan Cao
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
2022-11-18Merge pull request #455 from leo78913/menubar-stuffDioEgizio
2022-11-17fix: Fix usage belowRedson
Signed-off-by: Redson <redson@riseup.net>
2022-11-17chore: Change var nameRedsonBr140
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net> Signed-off-by: RedsonBr140 <redson@riseup.net>
2022-11-16chore: Var definition inside the for loopRedsonBr140
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: RedsonBr140 <redson@riseup.net>
2022-11-15fix: Fix some stuff in the menu barleo78913
- Remove duplicated launch actions - Enable the add instance action icon in menus - Remove ugly separator at the end of the help menu if the updater is disabled - Add icons to the help and news menu items Signed-off-by: leo78913 <leo3758@riseup.net>
2022-11-15feat: Make the changes persistent.Redson
Signed-off-by: Redson <redson@riseup.net>
2022-11-15fix: Check the box when the theme is changed via settingsRedson
Signed-off-by: Redson <redson@riseup.net>
2022-11-15fix: Check the current theme box on startup.Redson
Signed-off-by: Redson <redson@riseup.net>
2022-11-15fix: Build on QT6Redson
Signed-off-by: Redson <redson@riseup.net>
2022-11-15Merge remote-tracking branch 'upstream/develop' into feature/instance-shortcutsADudeCalledLeo
2022-11-14feat: Add themes and their logic.leo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2022-11-14Merge branch 'PrismLauncher:develop' into menu-themesRedsonBr140
2022-11-14feat: Add empty menuRedson
Signed-off-by: Redson <redson@riseup.net>
2022-11-14Add iconADudeCalledLeo
NOTE: Currently missing on Legacy, Flat and Flat (White) Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-14refactor: improve readabilitySefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-11-14Merge branch 'develop' into macos-add-to-pathRyan Cao
2022-11-14slight reword: "install to PATH"Ryan Cao
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
2022-11-13Windows, Linux: prevent segfault on missing iconADudeCalledLeo
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-13Linux: fixesADudeCalledLeo
- Fix shortcut icons - Possibly fix shortcut creation on AppImages - Fix shortcut not working if path to launcher contains spaces Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-13tabs -> spacesADudeCalledLeo
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-13Mac: attempt 2ADudeCalledLeo
- create .command files instead of .sh - fix shortcuts not working if path to Prism Launcher contains spaces - fix path to executable in shortcutss - add check for running from extracted folder (prevents creating shortcuts) Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>