Giter VIP home page Giter VIP logo

aline's People

Contributors

french-paragon avatar

Watchers

 avatar  avatar

Forkers

cypt71

aline's Issues

Add a function to properly remove subitems

At this point, we have this strange extension of Qt inheritance system, where subitems can be juste subitems of a main item, or managed in other meaningfull ways.

We need a proper function to deregister subitems, while also having classes which use subitems more tightly to be able to react appropriately when the user request to remove a subitem.

Options can be:

  • to have a virtual method that subclasses of editable items can re-implement to properly manage special subitems.
  • To have a notion of strong subitems, which are managed by the item in a special way and cannot be removed by a generic public method (deregistration function for any subitem can then be made private).
  • other?

Create a class for items references

Instead of having to manually manage the links between items, someone could just use the reference and it would automatically take care of everything when a string is assigned to the reference.

Need some action manager classes

Generating context actions like dynamic menus and toolbars for editable items is hard to do automatically.

We need to add, in Aline directly, some kind of manager class that can be queried and configured to do the job.

Ideally, this addition should leave the default behavior untouched.

One need a way to overide the conversion between Editable Items and Json

Doing everything automatically poses a lot of issues. While it is convenient, it also needs to be configurable.

Thus, a way to provided dedicated functions for conversions to and from Json is required.

In an ideal world the solution should:

  • not require the developers of applications and modules to register their functions
  • not require to implement anything in the editable item class itself (albeit it might be possible we have to implement something in the classes that needs a custom converter).
  • not change the interface of the editable items (we do not want to give json or any other format a preferential treatment).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.