aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/widgets
AgeCommit message (Collapse)Author
2022-11-20feat: validate maximum memory allocation in wizardSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
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>
2022-04-22added: Mnemonics for Settings/Custom CommandsDaniel Schemp
2022-04-20fix: disable major version match for snapshotsSefa Eyeoglu
2022-04-17fix(translation): don't translate placeholdersflow
Those are modified programatically, and never show up to the user!
2022-04-16Merge pull request #392 from flowln/mod_filterSefa Eyeoglu
2022-04-15Show no loader selected message when add instance window first opensKenneth Chew
This resolves an issue where the message only shows when selecting a mod loader and then selecting "None" again.
2022-04-15ui: underline search button text when changing filtersflow
This hopefully makes it easier to the user to know that their changes will only apply after hitting the search button. I tried setting the background color, but it seems more unreliable on cross-platform than underlining. Also, it could be worse for daltonic people, so I don't know what to do :(
2022-04-15rework: make the filter as a tabbed widget in the dialog itselfflow
Still needs a clear indication that the filter only applies after you click the search button...
2022-04-06Allow components to specify Java agents and JVM arguments (#175)Una
2022-03-21Merge pull request #298 from Scrumplex/fix-i18nSefa Eyeoglu
Fix translatable strings
2022-03-20fix: retranslate CustomCommandsSefa Eyeoglu
2022-03-20chore: add license headerSefa Eyeoglu
2022-03-20App: Retranslate all pages when the language is changedJamie Mansfield
2022-03-20App: Retranslate page header titlesJamie Mansfield
This fixes a bug that is only practically effects the title of the language page not updating the header when changing the language.