diff options
| author | Danilo M. <danix@danix.xyz> | 2026-08-24 20:52:25 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-08-24 20:52:25 +0200 |
| commit | 882bb1b36fd777ec5fd5f331f2d589d48b5af5c1 (patch) | |
| tree | b8b5978b0cb2383ad4c3ca2a110b5bd8c5f2bb12 /tests/CMakeLists.txt | |
| parent | 160c9121ec39d934330cf626978d02d0fa6d0610 (diff) | |
| download | qtmaildir-882bb1b36fd777ec5fd5f331f2d589d48b5af5c1.tar.gz qtmaildir-882bb1b36fd777ec5fd5f331f2d589d48b5af5c1.zip | |
feat(compose): a signature switch on the editor bar
A QToolButton with a checkable menu at the right end of the editor bar,
where item 142 put the controls of the editor. Not registered in KeyMap:
parented to the composer like the formatting actions, so its scope is this
window.
The signature is applied through a QTextCursor rather than setPlainText(),
which destroys the undo stack, and the seeded one is cleared from that
stack for the reason the seeded quote already is: one Ctrl+Z must not wipe
content the user never typed.
A resumed draft seeds nothing. Its body already carries the signature it
was written with, and seeding again would put a second one on a message
written once.
Part of item 152.
Diffstat (limited to 'tests/CMakeLists.txt')
| -rw-r--r-- | tests/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 70f6537..5938aeb 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -75,6 +75,7 @@ add_qtmaildir_test(maildirname) add_qtmaildir_test(draftstore) add_qtmaildir_test(messagesender) add_qtmaildir_test(composecontext) +add_qtmaildir_test(composewindow) add_qtmaildir_test(formattoolbar) add_qtmaildir_test(senddialog) add_qtmaildir_test(translations) |
