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:
@@ -35,12 +35,12 @@ set(__QT_DEPLOY_SYSTEM_NAME "Linux")
|
||||
set(__QT_DEPLOY_SHARED_LIBRARY_SUFFIX ".so")
|
||||
set(__QT_DEPLOY_IS_SHARED_LIBS_BUILD "ON")
|
||||
set(__QT_DEPLOY_TOOL "GRD")
|
||||
set(__QT_DEPLOY_IMPL_DIR "/mnt/c/Users/javie/wino-mail-dtkqt/build/.qt")
|
||||
set(__QT_DEPLOY_IMPL_DIR "/mnt/c/Users/javie/Documents/Codex/2026-08-11/revisar-2/wino-mail-dtkqt/build/.qt")
|
||||
set(__QT_DEPLOY_VERBOSE "")
|
||||
set(__QT_CMAKE_EXPORT_NAMESPACE "Qt6")
|
||||
set(__QT_LIBINFIX "")
|
||||
set(__QT_DEPLOY_GENERATOR_IS_MULTI_CONFIG "0")
|
||||
set(__QT_DEPLOY_ACTIVE_CONFIG "Release")
|
||||
set(__QT_DEPLOY_ACTIVE_CONFIG "")
|
||||
set(__QT_NO_CREATE_VERSIONLESS_FUNCTIONS "")
|
||||
set(__QT_DEFAULT_MAJOR_VERSION "6")
|
||||
set(__QT_DEPLOY_QT_ADDITIONAL_PACKAGES_PREFIX_PATH "")
|
||||
@@ -60,7 +60,7 @@ set(__QT_DEPLOY_QT_DEBUG_POSTFIX "")
|
||||
|
||||
# Define the CMake commands to be made available during deployment.
|
||||
set(__qt_deploy_support_files
|
||||
"/mnt/c/Users/javie/wino-mail-dtkqt/build/.qt/QtDeployTargets.cmake"
|
||||
"/mnt/c/Users/javie/Documents/Codex/2026-08-11/revisar-2/wino-mail-dtkqt/build/.qt/QtDeployTargets.cmake"
|
||||
"/usr/lib/x86_64-linux-gnu/cmake/Qt6Core/Qt6CoreDeploySupport.cmake"
|
||||
)
|
||||
foreach(__qt_deploy_support_file IN LISTS __qt_deploy_support_files)
|
||||
|
||||
Reference in New Issue
Block a user