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:
+90
@@ -0,0 +1,90 @@
|
||||
# Generated by Boost 1.90.0
|
||||
|
||||
# address-model=64
|
||||
|
||||
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
_BOOST_SKIPPED("libboost_date_time.so.1.90.0" "64 bit, need 32")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# layout=system
|
||||
|
||||
# toolset=gcc15
|
||||
|
||||
# link=shared
|
||||
|
||||
if(DEFINED Boost_USE_STATIC_LIBS)
|
||||
if(Boost_USE_STATIC_LIBS)
|
||||
_BOOST_SKIPPED("libboost_date_time.so.1.90.0" "shared, Boost_USE_STATIC_LIBS=${Boost_USE_STATIC_LIBS}")
|
||||
return()
|
||||
endif()
|
||||
else()
|
||||
if(WIN32 AND NOT _BOOST_SINGLE_VARIANT)
|
||||
_BOOST_SKIPPED("libboost_date_time.so.1.90.0" "shared, default on Windows is static, set Boost_USE_STATIC_LIBS=OFF to override")
|
||||
return()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# runtime-link=shared
|
||||
|
||||
if(Boost_USE_STATIC_RUNTIME)
|
||||
_BOOST_SKIPPED("libboost_date_time.so.1.90.0" "shared runtime, Boost_USE_STATIC_RUNTIME=${Boost_USE_STATIC_RUNTIME}")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# runtime-debugging=off
|
||||
|
||||
if(Boost_USE_DEBUG_RUNTIME)
|
||||
_BOOST_SKIPPED("libboost_date_time.so.1.90.0" "release runtime, Boost_USE_DEBUG_RUNTIME=${Boost_USE_DEBUG_RUNTIME}")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# threading=multi
|
||||
|
||||
# variant=release
|
||||
|
||||
if(NOT "${Boost_USE_RELEASE_LIBS}" STREQUAL "" AND NOT Boost_USE_RELEASE_LIBS)
|
||||
_BOOST_SKIPPED("libboost_date_time.so.1.90.0" "release, Boost_USE_RELEASE_LIBS=${Boost_USE_RELEASE_LIBS}")
|
||||
return()
|
||||
endif()
|
||||
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS " [x] libboost_date_time.so.1.90.0")
|
||||
endif()
|
||||
|
||||
# Create imported target Boost::date_time
|
||||
|
||||
if(NOT TARGET Boost::date_time)
|
||||
add_library(Boost::date_time SHARED IMPORTED)
|
||||
|
||||
set_target_properties(Boost::date_time PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${_BOOST_INCLUDEDIR}"
|
||||
INTERFACE_COMPILE_DEFINITIONS "BOOST_DATE_TIME_NO_LIB"
|
||||
)
|
||||
endif()
|
||||
|
||||
# Target file name: libboost_date_time.so.1.90.0
|
||||
|
||||
get_target_property(__boost_imploc Boost::date_time IMPORTED_LOCATION_RELEASE)
|
||||
if(__boost_imploc)
|
||||
message(SEND_ERROR "Target Boost::date_time already has an imported location '${__boost_imploc}', which is being overwritten with '${_BOOST_LIBDIR}/libboost_date_time.so.1.90.0'")
|
||||
endif()
|
||||
unset(__boost_imploc)
|
||||
|
||||
set_property(TARGET Boost::date_time APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||
|
||||
set_target_properties(Boost::date_time PROPERTIES
|
||||
IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE CXX
|
||||
IMPORTED_LOCATION_RELEASE "${_BOOST_LIBDIR}/libboost_date_time.so.1.90.0"
|
||||
)
|
||||
|
||||
set_target_properties(Boost::date_time PROPERTIES
|
||||
MAP_IMPORTED_CONFIG_MINSIZEREL Release
|
||||
MAP_IMPORTED_CONFIG_RELWITHDEBINFO Release
|
||||
)
|
||||
|
||||
set_property(TARGET Boost::date_time APPEND
|
||||
PROPERTY INTERFACE_COMPILE_DEFINITIONS "BOOST_DATE_TIME_DYN_LINK"
|
||||
)
|
||||
|
||||
list(APPEND _BOOST_DATE_TIME_DEPS headers)
|
||||
Reference in New Issue
Block a user