pollymc/launcher/ui/widgets
flow 6a18079953
refactor: generalize mod models and APIs to resources
Firstly, this abstract away behavior in the mod download models that can
also be applied to other types of resources into a superclass, allowing
other resource types to be implemented without so much code duplication.

For that, this also generalizes the APIs used (currently, ModrinthAPI
and FlameAPI) to be able to make requests to other types of resources.

It also does a general cleanup of both of those. In particular, this
makes use of std::optional instead of invalid values for errors and,
well, optional values :p

This is a squash of some commits that were becoming too interlaced
together to be cleanly separated.

Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-13 16:23:00 -03:00
..
Common.cpp feat: create delegate for project item views 2022-08-01 07:33:29 -03:00
Common.h feat: create delegate for project item views 2022-08-01 07:33:29 -03:00
CustomCommands.cpp chore: update license headers 2022-07-10 12:19:15 +02:00
CustomCommands.h chore: update license headers 2022-07-10 12:19:15 +02:00
CustomCommands.ui fix(mnemonics): Add missing buddies to labels 2022-04-29 01:30:47 +05:30
DropLabel.cpp NOISSUE continue reshuffling the codebase 2021-11-22 03:55:16 +01:00
DropLabel.h NOISSUE continue reshuffling the codebase 2021-11-22 03:55:16 +01:00
ErrorFrame.cpp GH-4071 Heavily refactor and rearchitect account system 2021-12-04 01:18:05 +01:00
ErrorFrame.h GH-4071 Heavily refactor and rearchitect account system 2021-12-04 01:18:05 +01:00
ErrorFrame.ui GH-4071 Heavily refactor and rearchitect account system 2021-12-04 01:18:05 +01:00
FocusLineEdit.cpp NOISSUE continue reshuffling the codebase 2021-11-22 03:55:16 +01:00
FocusLineEdit.h NOISSUE continue reshuffling the codebase 2021-11-22 03:55:16 +01:00
IconLabel.cpp NOISSUE continue reshuffling the codebase 2021-11-22 03:55:16 +01:00
IconLabel.h NOISSUE continue reshuffling the codebase 2021-11-22 03:55:16 +01:00
InfoFrame.cpp feat: also format resource/texture pack names 2022-09-21 15:00:28 +02:00
InfoFrame.h feat: add texture pack parsing 2022-09-20 10:26:15 +02:00
InfoFrame.ui feat: add resource icon to InfoFrame 2022-09-03 13:37:21 -03:00
InstanceCardWidget.ui NOISSUE continue reshuffling the codebase 2021-11-22 03:55:16 +01:00
JavaSettingsWidget.cpp feat: validate maximum memory allocation in wizard 2022-11-20 18:16:19 +01:00
JavaSettingsWidget.h feat: validate maximum memory allocation in wizard 2022-11-20 18:16:19 +01:00
LabeledToolButton.cpp chore: update license headers 2022-07-10 12:19:15 +02:00
LabeledToolButton.h NOISSUE continue reshuffling the codebase 2021-11-22 03:55:16 +01:00
LanguageSelectionWidget.cpp fix: update link to translations platform 2022-02-10 14:55:52 +01:00
LanguageSelectionWidget.h Update selected language automatically 2022-01-17 09:52:04 +01:00
LineSeparator.cpp NOISSUE continue reshuffling the codebase 2021-11-22 03:55:16 +01:00
LineSeparator.h NOISSUE continue reshuffling the codebase 2021-11-22 03:55:16 +01:00
LogView.cpp chore: update license headers 2022-07-10 12:19:15 +02:00
LogView.h NOISSUE continue reshuffling the codebase 2021-11-22 03:55:16 +01:00
ModFilterWidget.cpp refactor: create mod pages and filter widget by factory methods 2022-09-07 08:29:58 -03:00
ModFilterWidget.h fix: don't use forward-declared Ptr types in meta/ 2022-11-01 19:48:26 -03:00
ModFilterWidget.ui fix(translation): don't translate placeholders 2022-04-17 19:24:49 -03:00
ModListView.cpp Merge pull request #626 from leo78913/mods-provider-column 2022-12-30 11:39:03 -03:00
ModListView.h NOISSUE continue reshuffling the codebase 2021-11-22 03:55:16 +01:00
PageContainer_p.h NOISSUE continue reshuffling the codebase 2021-11-22 03:55:16 +01:00
PageContainer.cpp feat: add PageContainer::getPage 2022-12-06 16:54:54 -03:00
PageContainer.h feat: add PageContainer::getPage 2022-12-06 16:54:54 -03:00
ProgressWidget.cpp refactor: generalize mod models and APIs to resources 2023-01-13 16:23:00 -03:00
ProgressWidget.h refactor: generalize mod models and APIs to resources 2023-01-13 16:23:00 -03:00
ProjectDescriptionPage.cpp fix: prevent images overriding content when changing pages 2022-10-11 15:51:54 -03:00
ProjectDescriptionPage.h fix: prevent images overriding content when changing pages 2022-10-11 15:51:54 -03:00
ProjectItem.cpp fix: show a single line in ProjectItem's desc. when there's no more space 2022-10-20 15:03:46 -03:00
ProjectItem.h feat: create delegate for project item views 2022-08-01 07:33:29 -03:00
ThemeCustomizationWidget.cpp Add hint about Cat 2023-01-10 16:09:57 +01:00
ThemeCustomizationWidget.h Add hint about Cat 2023-01-10 16:09:57 +01:00
ThemeCustomizationWidget.ui Add hint about Cat 2023-01-10 16:09:57 +01:00
VariableSizedImageObject.cpp fix: bind image fetch callback lambda to the parent object 2022-12-12 23:51:22 -03:00
VariableSizedImageObject.h fix: prevent images overriding content when changing pages 2022-10-11 15:51:54 -03:00
VersionListView.cpp chore: update license headers 2022-07-10 12:19:15 +02:00
VersionListView.h NOISSUE continue reshuffling the codebase 2021-11-22 03:55:16 +01:00
VersionSelectWidget.cpp fix: don't use forward-declared Ptr types in meta/ 2022-11-01 19:48:26 -03:00
VersionSelectWidget.h fix: don't use forward-declared Ptr types in meta/ 2022-11-01 19:48:26 -03:00
WideBar.cpp reafctor(WideBar): connect to signal instead of overriding menu method 2022-11-25 09:33:05 -03:00
WideBar.h reafctor(WideBar): connect to signal instead of overriding menu method 2022-11-25 09:33:05 -03:00