diff --git a/cockatrice/resources/add_to_deck.svg b/cockatrice/resources/add_to_deck.svg new file mode 100644 index 00000000..cf9fe532 --- /dev/null +++ b/cockatrice/resources/add_to_deck.svg @@ -0,0 +1,964 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/cockatrice/resources/add_to_sideboard.svg b/cockatrice/resources/add_to_sideboard.svg new file mode 100644 index 00000000..04b12cb3 --- /dev/null +++ b/cockatrice/resources/add_to_sideboard.svg @@ -0,0 +1,417 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SB + + diff --git a/cockatrice/resources/decrement.svg b/cockatrice/resources/decrement.svg new file mode 100644 index 00000000..892a9c44 --- /dev/null +++ b/cockatrice/resources/decrement.svg @@ -0,0 +1,312 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/cockatrice/resources/increment.svg b/cockatrice/resources/increment.svg new file mode 100644 index 00000000..7890747b --- /dev/null +++ b/cockatrice/resources/increment.svg @@ -0,0 +1,308 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/cockatrice/resources/remove_row.svg b/cockatrice/resources/remove_row.svg new file mode 100644 index 00000000..0a7aab36 --- /dev/null +++ b/cockatrice/resources/remove_row.svg @@ -0,0 +1,500 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/cockatrice/src/window_deckeditor.cpp b/cockatrice/src/window_deckeditor.cpp index 42943f48..3c3c9f5d 100644 --- a/cockatrice/src/window_deckeditor.cpp +++ b/cockatrice/src/window_deckeditor.cpp @@ -125,16 +125,21 @@ WndDeckEditor::WndDeckEditor(CardDatabase *_db, QWidget *parent) aAddCard = new QAction(tr("Add card to &maindeck"), this); connect(aAddCard, SIGNAL(triggered()), this, SLOT(actAddCard())); aAddCard->setShortcut(tr("Ctrl+M")); + aAddCard->setIcon(QIcon(":/resources/add_to_deck.svg")); aAddCardToSideboard = new QAction(tr("Add card to &sideboard"), this); + aAddCardToSideboard->setIcon(QIcon(":/resources/add_to_sideboard.svg")); connect(aAddCardToSideboard, SIGNAL(triggered()), this, SLOT(actAddCardToSideboard())); aAddCardToSideboard->setShortcut(tr("Ctrl+N")); aRemoveCard = new QAction(tr("&Remove row"), this); connect(aRemoveCard, SIGNAL(triggered()), this, SLOT(actRemoveCard())); aRemoveCard->setShortcut(tr("Del")); + aRemoveCard->setIcon(QIcon(":/resources/remove_row.svg")); aIncrement = new QAction(tr("&Increment number"), this); connect(aIncrement, SIGNAL(triggered()), this, SLOT(actIncrement())); aIncrement->setShortcut(tr("+")); + aIncrement->setIcon(QIcon(":/resources/increment.svg")); aDecrement = new QAction(tr("&Decrement number"), this); + aDecrement->setIcon(QIcon(":/resources/decrement.svg")); connect(aDecrement, SIGNAL(triggered()), this, SLOT(actDecrement())); aDecrement->setShortcut(tr("-"));