Skip to content

Add Sound, Music, FaceSet, CharSet, Generic Image (e.g. Title and Game Over) Picker#242

Draft
Ghabry wants to merge 16 commits into
EasyRPG:masterfrom
Ghabry:picker
Draft

Add Sound, Music, FaceSet, CharSet, Generic Image (e.g. Title and Game Over) Picker#242
Ghabry wants to merge 16 commits into
EasyRPG:masterfrom
Ghabry:picker

Conversation

@Ghabry
Copy link
Copy Markdown
Member

@Ghabry Ghabry commented May 26, 2026

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)

image image

Ghabry added 16 commits April 21, 2026 20:33
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant