-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Description
Problem
A dataset description may contain example inputs for users to copy in a text field of the dataset. However, the dataset description is not selectable by mouse, preventing easy copying.
Proposal
Add a per-item flag to dataset items so that the description can be made selectable when desired.
Solution
Add a per-item flag (selectable_description: bool = False) to dataset item definitions. When True, render the description widget with Qt.TextSelectableByMouse. Default remains False for backward compatibility.
Alternatives
A non-editable TextItem may be used to display a selectable text or a new widget created through subclassing and setting of appropriate Qt flag.
Metadata
Metadata
Assignees
Labels
No labels