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
@@ -0,0 +1,86 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 4.2
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
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/Documents/Codex/2026-08-11/revisar-2/wino-mail-dtkqt/build
# Utility rule file for test_mimestorage_autogen_timestamp_deps.
# Include any custom commands dependencies for this target.
include CMakeFiles/test_mimestorage_autogen_timestamp_deps.dir/compiler_depend.make
# Include the progress variables for this target.
include CMakeFiles/test_mimestorage_autogen_timestamp_deps.dir/progress.make
CMakeFiles/test_mimestorage_autogen_timestamp_deps.dir/codegen:
.PHONY : CMakeFiles/test_mimestorage_autogen_timestamp_deps.dir/codegen
test_mimestorage_autogen_timestamp_deps: CMakeFiles/test_mimestorage_autogen_timestamp_deps.dir/build.make
.PHONY : test_mimestorage_autogen_timestamp_deps
# Rule to build all files generated by this target.
CMakeFiles/test_mimestorage_autogen_timestamp_deps.dir/build: test_mimestorage_autogen_timestamp_deps
.PHONY : CMakeFiles/test_mimestorage_autogen_timestamp_deps.dir/build
CMakeFiles/test_mimestorage_autogen_timestamp_deps.dir/clean:
$(CMAKE_COMMAND) -P CMakeFiles/test_mimestorage_autogen_timestamp_deps.dir/cmake_clean.cmake
.PHONY : CMakeFiles/test_mimestorage_autogen_timestamp_deps.dir/clean
CMakeFiles/test_mimestorage_autogen_timestamp_deps.dir/depend:
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/test_mimestorage_autogen_timestamp_deps.dir/DependInfo.cmake "--color=$(COLOR)" test_mimestorage_autogen_timestamp_deps
.PHONY : CMakeFiles/test_mimestorage_autogen_timestamp_deps.dir/depend