Skip to content

Suggestion: Consider supporting iterables for clipboard value. #7

Description

@ldunham1

utilities.qApp().clipboard().setText(self._value)

If desired, it might be useful to support iterables in value.
Paths could be joined with os.pathsep
https://docs.python.org/3/library/os.html#os.pathsep

Text could be joined with newlines.

dicts could be encoded with json or cast as str() (its a stretch but sometimes useful).

I've found this pattern useful in such a generic function, although it does make some assumptions.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions