feat: responsive compact mail view + folder unread badges

- CompactMailDelegate: card-based view for narrow panels (<420px)
  * Avatar with hash-based color, sender + date (relative format)
  * Subject line with attachment icon
  * Action buttons: flag, delete, category, more (context menu)
  * Unread highlight with light blue background + bold sender
- MailListView: automatic switch between tree/table (wide) and list/cards (narrow)
  * QStackedWidget with QTreeView + QListView sharing same proxy model
  * resizeEvent threshold at 420px
  * Signals forwarded to MainMainWindow for actions
- FolderTreeDelegate: custom paint for folder tree
  * Unread count badge (blue pill) right-aligned on folder nodes
  * Account nodes bold, folder nodes normal weight
  * Proper indentation per depth level
- MailItemDao::countUnreadByFolderId() for real-time unread counts
- MainMainWindow handlers for compact actions (flag, delete, category, more menu)
This commit is contained in:
2026-08-24 23:25:13 +02:00
parent 705fe32e66
commit 4c4fec7a0a
846 changed files with 498002 additions and 52534 deletions
@@ -15,6 +15,7 @@
#include "GQ6NBGVJMG/moc_changeprocessor.cpp"
#include "GQ6NBGVJMG/moc_folderservice.cpp"
#include "XNWIRGDZUD/moc_gmailsynchronizer.cpp"
#include "MBEBHNDJH7/moc_imapconnection.cpp"
#include "MBEBHNDJH7/moc_imapsynchronizer.cpp"
#include "GQ6NBGVJMG/moc_mailservice.cpp"
#include "GQ6NBGVJMG/moc_mimestorage.cpp"
@@ -25,14 +26,25 @@
#include "UVLADIE3JM/moc_syncscheduler.cpp"
#include "YPKJ5OE7LN/moc_accountsetupdialog.cpp"
#include "YPKJ5OE7LN/moc_calendarview.cpp"
#include "YPKJ5OE7LN/moc_categorytreewidget.cpp"
#include "YPKJ5OE7LN/moc_composeview.cpp"
#include "YPKJ5OE7LN/moc_connectionwizard.cpp"
#include "YPKJ5OE7LN/moc_contactsview.cpp"
#include "ZX5M2MERFL/moc_CompactMailDelegate.cpp"
#include "ZX5M2MERFL/moc_FolderTreeDelegate.cpp"
#include "YPKJ5OE7LN/moc_maillistview.cpp"
#include "YPKJ5OE7LN/moc_mainmainwindow.cpp"
#include "J6PSKMGISE/moc_DateGroupProxyModel.cpp"
#include "J6PSKMGISE/moc_EmailListModel.cpp"
#include "J6PSKMGISE/moc_EmailTreeModel.cpp"
#include "J6PSKMGISE/moc_FolderListModel.cpp"
#include "YPKJ5OE7LN/moc_newmessagedialog.cpp"
#include "YPKJ5OE7LN/moc_readerview.cpp"
#include "YPKJ5OE7LN/moc_richtexteditor.cpp"
#include "YPKJ5OE7LN/moc_ruleditordialog.cpp"
#include "YPKJ5OE7LN/moc_rulesmanagerdialog.cpp"
#include "YPKJ5OE7LN/moc_settingsview.cpp"
#include "YPKJ5OE7LN/moc_signaturemanagerdialog.cpp"
#include "YPKJ5OE7LN/moc_templateeditordialog.cpp"
#include "YPKJ5OE7LN/moc_templatesmanagerdialog.cpp"
#include "VSCBVMNR7M/moc_notificationmanager.cpp"