Skip to content

Replace name QLineEdit with TimedLineEdit for dock widgets derived from BaseDock

Israel Galadima requested to merge (removed):timedlineedit into master

Description

The dock widgets derived from BaseDock call AbstractAspect::setName whenever the name QLineEdit is changed (via the textChanged signal). This creates an entry on the undo stack per character. In this merge request, I am replacing the name QLineEdit with a TimedLineEdit for all dock widgets derived from BaseDock. The TimedLineEdit emits the textChanged signal after some time has passed between edits thus preventing entries being created for each character on the undo stack.

Conformity

  • [ ] Changelog entry
  • [ ] Unit tests
  • [ ] Update INSTALL
  • [ ] Downport
  • Fixes:

When external dependencies are removed

  • [ ] Reporting to ...
Edited by Israel Galadima

Merge request reports