octave-patch-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #9993] Property inspector GUI


From: Remi Thebault
Subject: [Octave-patch-tracker] [patch #9993] Property inspector GUI
Date: Tue, 17 Nov 2020 15:54:46 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0

Follow-up Comment #4, patch #9993 (project octave):

Attached patch-2 <https://savannah.gnu.org/patch/download.php?file_id=50290>
which should work at least up to Qt-5.12 (I didn't check older).
5.12 is the last LTS version (before 5.15 released this year).

The second patch applies *over* the first one. I'm very new to Octave
development so I'm not sure of how you review the code, but it seems easier
that way. I can collapse everything together at your convenience.

> Looking at the patch, have you hard-coded all properties for all objects?
There is no hard-coding. My code uses

graphics_object::get_properties ().all_property_names ()

in the table model constructor to get the properties to display.
Then each property is displayed/edited according its type.

Similarly, the tree uses the parent and children properties and it doesn't
need to know anything about the graphics objects.

So this is very generic already.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?9993>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]