Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qtFRED variables editor #6150

Open
wants to merge 154 commits into
base: master
Choose a base branch
from

Conversation

JohnAFernandez
Copy link
Contributor

@JohnAFernandez JohnAFernandez commented May 16, 2024

Draft because there are a couple more issues to iron out with character limits of list and map items and applying the changes to the mission, but it's close enough to being done that people can start taking a look. The basic functionality is pretty well tested, but I think we'll need some real-world testing once it's in.

Note: This allows duplicate keys until the dialog is accepted, at which point it checks for duplicate keys, warns the user and prevents saving, listing the exact items that are problematic. This allows users to make edits without qtFRED erasing user inputs if they happen to be duplicates. But that means that keys are not really keys until saved to the mission.

There's some new features as well, like value-key switching. Variable and container copying, etc.

Not building yet.  Some sort of linking error
Also, add a few declarations for List and Map contents editing.
And add stubs for other model functions we'll need
and a few other functions
And container functions
Add it to the editor menu (with shortcut), and fix it showing up when started
Edits were previously done on a machine that could not build or use a linter.
And correct the Apply function some.
And clean up dialog model slightly
This helps prevent name collisions
@JohnAFernandez JohnAFernandez added qtfred A feature or issue related to qtFred. required feature A PR that provides required functionality for an app in development. (not fix or enhancement) labels May 16, 2024
@JohnAFernandez JohnAFernandez self-assigned this May 16, 2024
@JohnAFernandez JohnAFernandez force-pushed the qtFRED-variables-editor branch from 6458258 to 1945a09 Compare May 16, 2024 19:31
@JohnAFernandez JohnAFernandez force-pushed the qtFRED-variables-editor branch from 1945a09 to 87367d6 Compare May 16, 2024 19:41
@JohnAFernandez JohnAFernandez marked this pull request as ready for review May 17, 2024 23:03
@JohnAFernandez
Copy link
Contributor Author

JohnAFernandez commented May 17, 2024

While I still have to do a last run of tests on the last two features I added, this is now basically done and ready for review.

@Goober5000 Goober5000 added the Waiting for Stable Marks a pull request that is to be merged after the next stable release, due to a release cycle label Aug 27, 2024
@Goober5000 Goober5000 removed the Waiting for Stable Marks a pull request that is to be merged after the next stable release, due to a release cycle label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
qtfred A feature or issue related to qtFred. required feature A PR that provides required functionality for an app in development. (not fix or enhancement)
Projects
Status: Work In Progress
Development

Successfully merging this pull request may close these issues.

2 participants