mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-11 12:54:10 -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).
|
* - 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);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue