enigma-dev / RadialGM

A native IDE for ENIGMA written in C++ using the Qt Framework.
GNU General Public License v3.0
46 stars 22 forks source link

New TreeModel [WIP] #201

Closed JoshDreamland closed 3 years ago

JoshDreamland commented 3 years ago

This commit breaks almost everything. Successor to #144.

Redoes the ProtoModel family of classes to not know about our specific protos. Disclaimer: some references may still exist, but are unnecessary for the resource tree to function. If I missed any references, they're used by, eg, one of the editor classes.

I am basically finished modifying the Model classes and need to start updating the editors to use zero-based field indexing rather than field numbers. I believe Robert has done this work already, so I decided to stop where I was and create this pull request.

I believe we should be able to consolidate this with Robert's PR and have something pretty close to the finished product.

Currently broken: