HomePhabricator

Qt: Delay user confirmation of send
3902a291abecUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Qt: Delay user confirmation of send

I made a subclass of QMessageBox that disables the send button in
exec() and starts a timer that calls a slot to re-enable it after a
configurable delay.

It also has a countdown in the send/yes button while it is disabled
to hint to the user why the send button is disabled (and that it is
actually supposed to be disabled).

Details

Provenance
Tyler Hardin <th020394@gmail.com>Authored on May 10 2016, 02:26
deadalnixPushed on May 14 2017, 22:04
Parents
rABC42a67533828f: Merge #8000: tinyformat: force USE_VARIADIC_TEMPLATES
Branches
Unknown
Tags
Unknown

Event Timeline

Tyler Hardin <th020394@gmail.com> committed rABC3902a291abec: Qt: Delay user confirmation of send (authored by Tyler Hardin <th020394@gmail.com>).May 10 2016, 02:26