mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-05 21:13:55 -07:00
address comments
This commit is contained in:
parent
c739665340
commit
65bd78aa9f
3 changed files with 1 additions and 7 deletions
|
|
@ -41,7 +41,7 @@
|
||||||
* - changeModelIndexAndCardInfo(const ExactCard &card) — Updates deck model selection and card info.
|
* - changeModelIndexAndCardInfo(const ExactCard &card) — Updates deck model selection and card info.
|
||||||
* - changeModelIndexToCard(const ExactCard &card) — Selects the card in the deck view.
|
* - changeModelIndexToCard(const ExactCard &card) — Selects the card in the deck view.
|
||||||
* - processMainboardCardClick(QMouseEvent *event, ...) — Handles clicks on mainboard cards.
|
* - processMainboardCardClick(QMouseEvent *event, ...) — Handles clicks on mainboard cards.
|
||||||
* - processCardClickDatabaseDisplay(QMouseEvent *event, ...) — Handles clicks on database cards.
|
* - processDatabaseCardClick(QMouseEvent *event, ...) — Handles clicks on database cards.
|
||||||
* - actSaveDeckAs() — Overrides save action with temporary UI adjustments.
|
* - actSaveDeckAs() — Overrides save action with temporary UI adjustments.
|
||||||
* - showPrintingSelector() — Opens the printing selector dock for the current card.
|
* - showPrintingSelector() — Opens the printing selector dock for the current card.
|
||||||
* - freeDocksSize() — Frees constraints on dock widget sizes.
|
* - freeDocksSize() — Frees constraints on dock widget sizes.
|
||||||
|
|
|
||||||
|
|
@ -401,11 +401,6 @@ void VisualDeckEditorWidget::decklistDataChanged(QModelIndex topLeft, QModelInde
|
||||||
// User Interaction
|
// User Interaction
|
||||||
// =====================================================================================================================
|
// =====================================================================================================================
|
||||||
|
|
||||||
void VisualDeckEditorWidget::onCardClick(QMouseEvent *event, const ExactCard &card, const QString &zoneName)
|
|
||||||
{
|
|
||||||
emit cardClicked(event, card, zoneName);
|
|
||||||
}
|
|
||||||
|
|
||||||
void VisualDeckEditorWidget::onHover(const ExactCard &hoveredCard)
|
void VisualDeckEditorWidget::onHover(const ExactCard &hoveredCard)
|
||||||
{
|
{
|
||||||
// If user has any card selected, ignore hover
|
// If user has any card selected, ignore hover
|
||||||
|
|
|
||||||
|
|
@ -82,7 +82,6 @@ protected:
|
||||||
|
|
||||||
protected slots:
|
protected slots:
|
||||||
void onHover(const ExactCard &hoveredCard);
|
void onHover(const ExactCard &hoveredCard);
|
||||||
void onCardClick(QMouseEvent *event, const ExactCard &card, const QString &zoneName);
|
|
||||||
void decklistModelReset();
|
void decklistModelReset();
|
||||||
void resizeEvent(QResizeEvent *event) override;
|
void resizeEvent(QResizeEvent *event) override;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue