This commit is contained in:
Brübach, Lukas 2025-11-29 23:43:10 +01:00
parent 88fca5d308
commit 02918adf81

View file

@ -33,14 +33,13 @@ class BackgroundPlateWidget;
* - Maintains a fixed aspect ratio for the preview image (150:267). * - Maintains a fixed aspect ratio for the preview image (150:267).
* - Updates text elision dynamically when resized or scaled. * - Updates text elision dynamically when resized or scaled.
* - Integrates with FlowWidget containers for scrollable deck galleries. * - Integrates with FlowWidget containers for scrollable deck galleries.
* - Supports Qt5 and Qt6 enterEvent signatures for hover behavior.
* *
* ### Signals * ### Signals
* - `requestNavigation(QString url)` emitted when the widget is clicked to request * - `requestNavigation(QString url)` emitted when the widget is clicked to request
* navigation to the deck's Archidekt page. * navigation to the deck's Archidekt page.
* *
* ### Slots * ### Slots
* - `actRequestNavigationToDeck()` programmatically triggers navigation. * - `actRequestNavigationToDeck()` triggers navigation.
* - `setScaleFactor(int scale)` adjusts preview image scaling. * - `setScaleFactor(int scale)` adjusts preview image scaling.
*/ */
class ArchidektApiResponseDeckEntryDisplayWidget : public QWidget class ArchidektApiResponseDeckEntryDisplayWidget : public QWidget
@ -49,8 +48,8 @@ class ArchidektApiResponseDeckEntryDisplayWidget : public QWidget
signals: signals:
/** /**
* @brief Emitted when the user requests navigation to this deck. * @brief Emitted when the user requests navigation.
* @param url Full URL to the Archidekt deck page. * @param url Full URL to the Archidekt page.
*/ */
void requestNavigation(QString url); void requestNavigation(QString url);