aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/widgets
AgeCommit message (Collapse)Author
2023-01-10add theme setup wizardTayou
Signed-off-by: Tayou <tayou@gmx.net>
2022-12-30Merge pull request #626 from leo78913/mods-provider-columnflow
closes https://github.com/PrismLauncher/PrismLauncher/issues/402
2022-12-29feat(Mods): hide 'Provider' column when no mods have providersflow
This makes the mod list look a bit less polluted in the common case of mods having no provider whatsoever. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-12-17Merge pull request #630 from leo78913/yeet-scrollbarsflow
2022-12-15fix: only show scrollbars when neededleo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2022-12-12fix: bind image fetch callback lambda to the parent objectflow
Fixes a possible crash with the callback being called after the image object was already deleted. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-12-11Merge pull request #486 from flowln/wide_bar_customizationflow
2022-12-06feat: add PageContainer::getPageflow
This allows us to directly access a page from outside. This will be useful for telling the ManagedPackPage who is the window it's on, so that we can close it when updating :^) Signed-off-by: flow <flowlnlnln@gmail.com>
2022-11-25reafctor(WideBar): connect to signal instead of overriding menu methodflow
This makes stuff more standard and closer to what we do in other places in the codebase. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-11-22fix: reset wide bar settings when the list of actions changesflow
This prevents changes to the actions to cause non-intuitive issues in the Wide bar, hiding items that previously weren't hidden. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-11-20feat: validate maximum memory allocation in wizardSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-11-19feat(WideBar): allow loading/unloading visibility via a byte arrayflow
I really wanted to use a QBitArray :c Signed-off-by: flow <flowlnlnln@gmail.com>
2022-11-19feat(WideBar): allow hiding buttons with right-clickflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-11-19refactor: clean up WideBar a bitflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-11-01fix: don't use forward-declared Ptr types in meta/flow
This would cause ODR violations when those headers were included in other places that also included stuff like "Version.h" (note the "meta/Version.h"), which can cause problems, especially in LTO. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-10-21Merge pull request #39 from Sebbl0508/mod_dialog_fontsizeSefa Eyeoglu
2022-10-20fix: show a single line in ProjectItem's desc. when there's no more spaceflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-10-20check space requirements of project descriptionSebastian Rueth
if there isn't enough space for 2 lines of project description, only draw one Signed-off-by: Sebastian Rueth <sebastian.rueth@protonmail.com>
2022-10-19fix: properly center project descriptionsflow
In particular, this takes into account the space used by the title, so (hopefully) there won't be problems with custom themes with that. Signed-off-by: flow <flowlnlnln@gmail.com> Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net> Signed-off-by: Sebastian Rüth <sebastian.rueth@protonmail.com>
2022-10-19fix text clippingSebastian Rüth
Signed-off-by: Sebastian Rüth <sebastian.rueth@protonmail.com>
2022-10-19Merge pull request #31 from flowln/who_needs_webviewSefa Eyeoglu
2022-10-18fix: use display name in codeSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-10-11fix: prevent images overriding content when changing pagesflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-10-08feat: add widget for a text browser with image supportflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-10-08Merge pull request #1163 from flowln/fix_list_iconsSefa Eyeoglu
2022-09-23fix: set icon sizes correctly in ProjectItemDelegateflow
no more dumb hacks with icons!! Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-21feat: also format resource/texture pack namesSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-21feat: support more formatting codesSefa Eyeoglu
also fix some crashes Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-20fix: actually render color codes for texture packsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-20feat: add texture pack parsingSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-07Merge pull request #997 from flowln/fix_major_version_filterflow
2022-09-07Merge pull request #1105 from flowln/better_resource_packsflow
Add basic resource pack parsing and fix issues
2022-09-07refactor: create mod pages and filter widget by factory methodsflow
This takes most expensive operations out of the constructors. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-07fix: use more robust method of finding matches for major versionflow
This uses the proper version list to find all MC versions matching the major number (_don't say anything about SemVer_ :gun:). Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-07Merge pull request #939 from flowln/mod_downloader_improveflow
Some more UI / UX improvements to the mod downloader!
2022-09-03feat: move resource pack images to QPixmapCacheflow
This takes care of evicting entries when the cache gets too big for us, so we can add new entries without much worries. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-03feat: add resource icon to InfoFrameflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-03feat: modify InfoFrame and ResourcePackPage to show ResourcePack infoflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-20refactor: adapt rest of the codebase to the new resource modelflow
In order to access the ModFolderModel from the ModFolderPage, i created a new m_model for the correct type, shadowing the m_model of type ResourceFolderModel. This creates two shared_ptr references to the same object, but since they will have the same lifetime, it doesn't generate a memory leak. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-20refactor: move general info from Mod to Resourceflow
This allows us to create other resources that are not Mods, but can still share a significant portion of code. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-01feat+refactor: clean up ProgressWidget and add progress indicatior toflow
mod downloader Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-01change: preserve search term across different mod providersflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-01feat: create delegate for project item viewsflow
This allows us to define custom painting for list view items. In particular, this is applied to the mod downloader, in order to allow displaying both the mod name and mod description, and settings their effects (like bold or underline) independent of each other. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17feat: add some helping methods to WideBarflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-10chore: update license headersSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10refactor: replace QRegExp with QRegularExpressionSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10refactor: fix deprecation up to Qt 5.15Sefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-03feat: resolve JARs dynamicallySefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-05-23refactor: remove unused mod info and organize some stuffflow
2022-04-29fix(mnemonics): Add missing buddies to labelstxtsd
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net>