Add Sound, Music, FaceSet, CharSet, Generic Image (e.g. Title and Game Over) Picker#242
Draft
Ghabry wants to merge 16 commits into
Draft
Add Sound, Music, FaceSet, CharSet, Generic Image (e.g. Title and Game Over) Picker#242Ghabry wants to merge 16 commits into
Ghabry wants to merge 16 commits into
Conversation
Something simple to get started
This requires filtering the Equipment list. We already had a filter model for this. The change was just a bit more involved because the ActorModel must be a value type to be usable as a Q_GADGET.
The Picker is a column layout that contains: - A file list (left side) - A configuration (right side) The Viewer lists e.g. the filename and has a ... button that opens the picker For the file listing a directory model was added
Like Music/SoundPicker but for images The rendering is done through SpritePaintedItem
The Sprite Painted Item class is now more advanced and can e.g. skip cells (used by the CharSet) and play animations (also CharSet)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the UI components for selecting files.
This is splitted in a Viewer (displays the currently selected element) and a Picker (shows the file list and the settings).
Marked as draft as depends on #241
Some ugly UI preview (as said I fix the uglyness later, logic first, design second xD)