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

Edit data type and name in data type table #95

Open
aregtech opened this issue Jan 13, 2025 · 0 comments
Open

Edit data type and name in data type table #95

aregtech opened this issue Jan 13, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@aregtech
Copy link
Owner

aregtech commented Jan 13, 2025

Description:

Similar to Constants tab, for example, in the Data Type table should be possible:

  1. Edit names of new data types and fields;
  2. Change the type of Structure fields.

To achieve this, add instance of QStyledItemDelegate object:

  1. Column 0:
    • Create QLineEdit for all items to edit Name;
    • In case of Imported data type, it should be only the name object (field Name). The Namespace should be edited in column 1
  2. Column 1:
  • QComboBox for the fields of structure;
  • QComboBox for the enumeration, which derive from integers --> display only integers.
  • QLineEidt for the Imported data types to change the namespace;
@aregtech aregtech added the enhancement New feature or request label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant