Skip to content

Add New Widget TimedLineEdit

Israel Galadima requested to merge (removed):timed-line-edit into master

Description

Created a new widget named TimeLineEdit to replace QLineEdit in places where we may not want to react to TextChanged event immediately. The TimedLineEdit has a configurable time value which must have passed between TextChanged events before it emits a timeout signal. Some use cases include places where a user is typing fast and we may not want to react to every keypress. I have replaced the QLineEdit in the importdatasetwidget with the TimedLineEdit using a timeout of 1 second. With some guidance, I would like to use this widget for the "Name" QLineEdits in dock widgets because of the multiple entries created on the undo stack when they are edited (one entry for every letter).

Conformity

When external dependencies are removed

  • Reporting to ...
Edited by Alexander Semke

Merge request reports

Loading