mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-30 10:33:54 -07:00
Fix clipboard behavior in deck editor and game
This commit is contained in:
parent
0f0f9a1246
commit
c321227fa7
3 changed files with 15 additions and 5 deletions
|
|
@ -13,19 +13,25 @@ CardInfoText::CardInfoText(QWidget *parent)
|
|||
nameLabel1 = new QLabel;
|
||||
nameLabel2 = new QLabel;
|
||||
nameLabel2->setWordWrap(true);
|
||||
nameLabel2->setTextInteractionFlags(Qt::TextBrowserInteraction);
|
||||
manacostLabel1 = new QLabel;
|
||||
manacostLabel2 = new QLabel;
|
||||
manacostLabel2->setWordWrap(true);
|
||||
manacostLabel2->setTextInteractionFlags(Qt::TextBrowserInteraction);
|
||||
colorLabel1 = new QLabel;
|
||||
colorLabel2 = new QLabel;
|
||||
colorLabel2->setWordWrap(true);
|
||||
colorLabel2->setTextInteractionFlags(Qt::TextBrowserInteraction);
|
||||
cardtypeLabel1 = new QLabel;
|
||||
cardtypeLabel2 = new QLabel;
|
||||
cardtypeLabel2->setWordWrap(true);
|
||||
cardtypeLabel2->setTextInteractionFlags(Qt::TextBrowserInteraction);
|
||||
powtoughLabel1 = new QLabel;
|
||||
powtoughLabel2 = new QLabel;
|
||||
powtoughLabel2->setTextInteractionFlags(Qt::TextBrowserInteraction);
|
||||
loyaltyLabel1 = new QLabel;
|
||||
loyaltyLabel2 = new QLabel;
|
||||
loyaltyLabel1->setTextInteractionFlags(Qt::TextBrowserInteraction);
|
||||
|
||||
textLabel = new QTextEdit();
|
||||
textLabel->setReadOnly(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue