Improved EDHrec tab (#5840)

This commit is contained in:
BruebachL 2025-04-17 16:10:38 +02:00 committed by GitHub
parent 36f9f65798
commit ca538399f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
50 changed files with 1079 additions and 68 deletions

View file

@ -283,6 +283,8 @@ void CardInfoPictureWidget::mousePressEvent(QMouseEvent *event)
if (event->button() == Qt::RightButton) {
createRightClickMenu()->popup(QCursor::pos());
}
emit cardClicked();
}
QMenu *CardInfoPictureWidget::createRightClickMenu()

View file

@ -34,6 +34,7 @@ signals:
void hoveredOnCard(CardInfoPtr hoveredCard);
void cardScaleFactorChanged(int _scale);
void cardChanged(CardInfoPtr card);
void cardClicked();
protected:
void resizeEvent(QResizeEvent *event) override;