mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-09 17:44:01 -07:00
Update.
This commit is contained in:
parent
88fca5d308
commit
02918adf81
1 changed files with 3 additions and 4 deletions
|
|
@ -33,14 +33,13 @@ class BackgroundPlateWidget;
|
|||
* - Maintains a fixed aspect ratio for the preview image (150:267).
|
||||
* - Updates text elision dynamically when resized or scaled.
|
||||
* - Integrates with FlowWidget containers for scrollable deck galleries.
|
||||
* - Supports Qt5 and Qt6 enterEvent signatures for hover behavior.
|
||||
*
|
||||
* ### Signals
|
||||
* - `requestNavigation(QString url)` — emitted when the widget is clicked to request
|
||||
* navigation to the deck's Archidekt page.
|
||||
*
|
||||
* ### Slots
|
||||
* - `actRequestNavigationToDeck()` — programmatically triggers navigation.
|
||||
* - `actRequestNavigationToDeck()` — triggers navigation.
|
||||
* - `setScaleFactor(int scale)` — adjusts preview image scaling.
|
||||
*/
|
||||
class ArchidektApiResponseDeckEntryDisplayWidget : public QWidget
|
||||
|
|
@ -49,8 +48,8 @@ class ArchidektApiResponseDeckEntryDisplayWidget : public QWidget
|
|||
|
||||
signals:
|
||||
/**
|
||||
* @brief Emitted when the user requests navigation to this deck.
|
||||
* @param url Full URL to the Archidekt deck page.
|
||||
* @brief Emitted when the user requests navigation.
|
||||
* @param url Full URL to the Archidekt page.
|
||||
*/
|
||||
void requestNavigation(QString url);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue