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:
@@ -53,10 +53,10 @@ RM = /usr/bin/cmake -E rm -f
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /mnt/c/Users/javie/wino-mail-dtkqt
|
||||
CMAKE_SOURCE_DIR = /mnt/c/Users/javie/Documents/Codex/2026-08-11/revisar-2/wino-mail-dtkqt
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /mnt/c/Users/javie/wino-mail-dtkqt/build
|
||||
CMAKE_BINARY_DIR = /mnt/c/Users/javie/Documents/Codex/2026-08-11/revisar-2/wino-mail-dtkqt/build
|
||||
|
||||
# Utility rule file for wino-mail-qt_autogen_timestamp_deps.
|
||||
|
||||
@@ -81,6 +81,6 @@ CMakeFiles/wino-mail-qt_autogen_timestamp_deps.dir/clean:
|
||||
.PHONY : CMakeFiles/wino-mail-qt_autogen_timestamp_deps.dir/clean
|
||||
|
||||
CMakeFiles/wino-mail-qt_autogen_timestamp_deps.dir/depend:
|
||||
cd /mnt/c/Users/javie/wino-mail-dtkqt/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /mnt/c/Users/javie/wino-mail-dtkqt /mnt/c/Users/javie/wino-mail-dtkqt /mnt/c/Users/javie/wino-mail-dtkqt/build /mnt/c/Users/javie/wino-mail-dtkqt/build /mnt/c/Users/javie/wino-mail-dtkqt/build/CMakeFiles/wino-mail-qt_autogen_timestamp_deps.dir/DependInfo.cmake "--color=$(COLOR)" wino-mail-qt_autogen_timestamp_deps
|
||||
cd /mnt/c/Users/javie/Documents/Codex/2026-08-11/revisar-2/wino-mail-dtkqt/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /mnt/c/Users/javie/Documents/Codex/2026-08-11/revisar-2/wino-mail-dtkqt /mnt/c/Users/javie/Documents/Codex/2026-08-11/revisar-2/wino-mail-dtkqt /mnt/c/Users/javie/Documents/Codex/2026-08-11/revisar-2/wino-mail-dtkqt/build /mnt/c/Users/javie/Documents/Codex/2026-08-11/revisar-2/wino-mail-dtkqt/build /mnt/c/Users/javie/Documents/Codex/2026-08-11/revisar-2/wino-mail-dtkqt/build/CMakeFiles/wino-mail-qt_autogen_timestamp_deps.dir/DependInfo.cmake "--color=$(COLOR)" wino-mail-qt_autogen_timestamp_deps
|
||||
.PHONY : CMakeFiles/wino-mail-qt_autogen_timestamp_deps.dir/depend
|
||||
|
||||
|
||||
Reference in New Issue
Block a user