servatrice/cockatrice/src
ebbit1q 06081bd940 add keybinds to mill cards (#3439)
* add keybinds to mill cards

Add functions to move single card from top of deck to the graveyard and
exile.
Add keybinds to move single or multiple cards from top of deck to exile
or graveyard.
Add new keybinds to settings menu.
Move settings menu items around for a better fit.
Rename a few of the items in the settings menu.
Add default keybinds: ctrl alt d/e for single/multiple cards from top of
deck to the graveyard. No defaults are set for moving to exile.

* fix shortcut menu

* fix missing tag

* rename mismatched functions

* fixed your typos

* refactor shortcutsettings

correct a lot of typos
optimize a lot of functions
this could merit a pr on its own

* set mill keybinds

* refactor add related card actions

I found a function that was completely unintelligible so I made it
remotely legible and removed the duplication.

* shorten line by 17 characters

replace a lot of function calls with just a single reference

* add brackets

add brackets to all single line if statements etc.
readability improvements
2018-11-23 22:21:20 -05:00
..
carddbparser Duplicate cards & empty setlist (#3283) 2018-06-16 22:42:22 -04:00
chatview Clang script (#3085) 2018-02-06 08:45:13 -05:00
qt-json Qt5: toAscii() and fromAscii() Methods are deprecated 2014-06-20 16:55:26 +02:00
sequenceEdit add keybinds to mill cards (#3439) 2018-11-23 22:21:20 -05:00
settings server site added to connect window (#3190) 2018-04-10 19:05:13 -04:00
abstractcarddragitem.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
abstractcarddragitem.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
abstractcarditem.cpp Sending card name to chat on shift+click (#3106) 2018-02-13 02:50:37 -05:00
abstractcarditem.h Sending card name to chat on shift+click (#3106) 2018-02-13 02:50:37 -05:00
abstractclient.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
abstractclient.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
abstractcounter.cpp add keybinds to mill cards (#3439) 2018-11-23 22:21:20 -05:00
abstractcounter.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
abstractgraphicsitem.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
abstractgraphicsitem.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
arrowitem.cpp Replace CardInfo* and Carset* with smart pointers (#3053) 2018-02-02 12:52:47 -05:00
arrowitem.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
arrowtarget.cpp Convert rest of source to 4-space indent 2014-02-11 11:14:19 -05:00
arrowtarget.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
carddatabase.cpp Fix cards loading bug (#3307) 2018-06-24 17:49:26 -04:00
carddatabase.h Duplicate cards & empty setlist (#3283) 2018-06-16 22:42:22 -04:00
carddatabasemodel.cpp Translate curly apostrophe to ASCII apostrophe (#3395) (#3401) 2018-10-03 09:15:02 +02:00
carddatabasemodel.h Translate curly apostrophe to ASCII apostrophe (#3395) (#3401) 2018-10-03 09:15:02 +02:00
carddragitem.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
carddragitem.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
cardfilter.cpp Loyalty filter added (#3087) 2018-02-07 11:33:01 -05:00
cardfilter.h Loyalty filter added (#3087) 2018-02-07 11:33:01 -05:00
cardframe.cpp Replace CardInfo* and Carset* with smart pointers (#3053) 2018-02-02 12:52:47 -05:00
cardframe.h Replace CardInfo* and Carset* with smart pointers (#3053) 2018-02-02 12:52:47 -05:00
cardinfopicture.cpp Replace CardInfo* and Carset* with smart pointers (#3053) 2018-02-02 12:52:47 -05:00
cardinfopicture.h Replace CardInfo* and Carset* with smart pointers (#3053) 2018-02-02 12:52:47 -05:00
cardinfotext.cpp Hide non-existent card values in infowidget and cardframe (#3239) 2018-05-15 01:53:53 -04:00
cardinfotext.h Hide non-existent card values in infowidget and cardframe (#3239) 2018-05-15 01:53:53 -04:00
cardinfowidget.cpp Hide non-existent card values in infowidget and cardframe (#3239) 2018-05-15 01:53:53 -04:00
cardinfowidget.h Replace CardInfo* and Carset* with smart pointers (#3053) 2018-02-02 12:52:47 -05:00
carditem.cpp Fix #3285 (#3299) 2018-06-19 22:55:01 +02:00
carditem.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
cardlist.cpp Fixed most issues from codacy (#3050) 2018-01-27 13:31:44 -05:00
cardlist.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
cardzone.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
cardzone.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
client_metatypes.h Added server/client feature set communication 2015-09-02 17:54:06 -04:00
counter_general.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
counter_general.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
deck_loader.cpp Replace CardInfo* and Carset* with smart pointers (#3053) 2018-02-02 12:52:47 -05:00
deck_loader.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
decklistmodel.cpp untranslated string comparison fixed (#3164) 2018-04-02 23:04:52 -04:00
decklistmodel.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
deckstats_interface.cpp Replace CardInfo* and Carset* with smart pointers (#3053) 2018-02-02 12:52:47 -05:00
deckstats_interface.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
deckview.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
deckview.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
dlg_connect.cpp new icons (#3289) 2018-06-17 18:09:58 -04:00
dlg_connect.h connect dialog: button reworks (#3243) 2018-05-25 21:59:42 -04:00
dlg_create_token.cpp this is backwards (#3077) 2018-02-05 11:39:10 -05:00
dlg_create_token.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
dlg_creategame.cpp UI dialog tweaks: filter + create game(s) (#3351) 2018-07-25 08:21:29 +02:00
dlg_creategame.h UI dialog tweaks: filter + create game(s) (#3351) 2018-07-25 08:21:29 +02:00
dlg_edit_avatar.cpp actCancel remove (#3261) 2018-05-25 21:59:52 -04:00
dlg_edit_avatar.h actCancel remove (#3261) 2018-05-25 21:59:52 -04:00
dlg_edit_password.cpp actCancel remove (#3261) 2018-05-25 21:59:52 -04:00
dlg_edit_password.h actCancel remove (#3261) 2018-05-25 21:59:52 -04:00
dlg_edit_tokens.cpp Replace CardInfo* and Carset* with smart pointers (#3053) 2018-02-02 12:52:47 -05:00
dlg_edit_tokens.h Replace CardInfo* and Carset* with smart pointers (#3053) 2018-02-02 12:52:47 -05:00
dlg_edit_user.cpp actCancel remove (#3261) 2018-05-25 21:59:52 -04:00
dlg_edit_user.h actCancel remove (#3261) 2018-05-25 21:59:52 -04:00
dlg_filter_games.cpp UI dialog tweaks: filter + create game(s) (#3351) 2018-07-25 08:21:29 +02:00
dlg_filter_games.h UI dialog tweaks: filter + create game(s) (#3351) 2018-07-25 08:21:29 +02:00
dlg_forgotpasswordchallenge.cpp actCancel remove (#3261) 2018-05-25 21:59:52 -04:00
dlg_forgotpasswordchallenge.h actCancel remove (#3261) 2018-05-25 21:59:52 -04:00
dlg_forgotpasswordrequest.cpp actCancel remove (#3261) 2018-05-25 21:59:52 -04:00
dlg_forgotpasswordrequest.h actCancel remove (#3261) 2018-05-25 21:59:52 -04:00
dlg_forgotpasswordreset.cpp actCancel remove (#3261) 2018-05-25 21:59:52 -04:00
dlg_forgotpasswordreset.h actCancel remove (#3261) 2018-05-25 21:59:52 -04:00
dlg_load_deck_from_clipboard.cpp add keybinds to mill cards (#3439) 2018-11-23 22:21:20 -05:00
dlg_load_deck_from_clipboard.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
dlg_load_remote_deck.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
dlg_load_remote_deck.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
dlg_register.cpp actCancel remove (#3261) 2018-05-25 21:59:52 -04:00
dlg_register.h actCancel remove (#3261) 2018-05-25 21:59:52 -04:00
dlg_settings.cpp Add ability to edit chat macros, Fix #3296 (#3298) 2018-06-19 19:15:13 +02:00
dlg_settings.h Add ability to edit chat macros, Fix #3296 (#3298) 2018-06-19 19:15:13 +02:00
dlg_tip_of_the_day.cpp Feature/3139 new features for tips (#3152) 2018-04-01 04:52:26 -04:00
dlg_tip_of_the_day.h Feature/3139 new features for tips (#3152) 2018-04-01 04:52:26 -04:00
dlg_update.cpp Fix "reinstall" button in updater, fix #3293 (#3297) 2018-06-19 19:57:44 +02:00
dlg_update.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
dlg_viewlog.cpp log cleanup (#3207) 2018-05-02 16:07:43 -04:00
dlg_viewlog.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
filterbuilder.cpp remove Qt guards (#3328) 2018-07-17 20:08:42 -04:00
filterbuilder.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
filtertree.cpp 0 values in power/toughness filters won't match non-zero values anymore (#3250) 2018-05-24 00:18:53 +02:00
filtertree.h 0 values in power/toughness filters won't match non-zero values anymore (#3250) 2018-05-24 00:18:53 +02:00
filtertreemodel.cpp Fixed most issues from codacy (#3050) 2018-01-27 13:31:44 -05:00
filtertreemodel.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
gamescene.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
gamescene.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
gameselector.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
gameselector.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
gamesmodel.cpp fixed 2 warning-errors on archlinux(gcc 8.1): implicit fallthrough, ignored qualifiers (#3270) 2018-06-09 10:28:17 +02:00
gamesmodel.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
gametypemap.h Fixed compile warnings due to missing \n at EOF. 2013-05-15 21:31:47 +02:00
gameview.cpp add keybinds to mill cards (#3439) 2018-11-23 22:21:20 -05:00
gameview.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
handcounter.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
handcounter.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
handle_public_servers.cpp server site added to connect window (#3190) 2018-04-10 19:05:13 -04:00
handle_public_servers.h Server List from JSON (#3165) 2018-04-09 22:38:21 -04:00
handzone.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
handzone.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
keysignals.cpp left, right, and S shortcuts modified to use shift (#3116) 2018-02-19 00:38:51 -05:00
keysignals.h left, right, and S shortcuts modified to use shift (#3116) 2018-02-19 00:38:51 -05:00
lineeditcompleter.cpp Fixed most issues from codacy (#3050) 2018-01-27 13:31:44 -05:00
lineeditcompleter.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
localclient.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
localclient.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
localserver.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
localserver.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
localserverinterface.cpp Convert rest of source to 4-space indent 2014-02-11 11:14:19 -05:00
localserverinterface.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
logger.cpp remove Qt guards (#3328) 2018-07-17 20:08:42 -04:00
logger.h datetime display fixed for OSs with non-English localization (#3204) 2018-04-16 20:07:30 -04:00
main.cpp fix: cockatrice quits properly when the window is closed (#3329) 2018-08-27 15:01:53 +02:00
main.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
messagelogwidget.cpp flip rename (client side) (#3149) 2018-04-05 22:42:54 -04:00
messagelogwidget.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
pending_command.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
pending_command.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
phasestoolbar.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
phasestoolbar.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
pictureloader.cpp [WIP] Card image loading: Fallback on 404 (#3367) 2018-08-22 09:52:38 +02:00
pictureloader.h [WIP] Card image loading: Fallback on 404 (#3367) 2018-08-22 09:52:38 +02:00
pilezone.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
pilezone.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
pixmapgenerator.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
pixmapgenerator.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
player.cpp add keybinds to mill cards (#3439) 2018-11-23 22:21:20 -05:00
player.h add keybinds to mill cards (#3439) 2018-11-23 22:21:20 -05:00
playerlistwidget.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
playerlistwidget.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
playertarget.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
playertarget.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
releasechannel.cpp remove unused beta file endings (#3338) 2018-08-02 21:31:32 +02:00
releasechannel.h Consistent use of 'beta' tag across the project (#3089) 2018-02-07 11:33:14 -05:00
remoteclient.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
remoteclient.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
remotedecklist_treewidget.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
remotedecklist_treewidget.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
remotereplaylist_treewidget.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
remotereplaylist_treewidget.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
replay_timeline_widget.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
replay_timeline_widget.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
round.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
selectzone.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
selectzone.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
setsmodel.cpp Search in "Manage sets" window (#3229) 2018-06-10 11:00:42 -04:00
setsmodel.h Search in "Manage sets" window (#3229) 2018-06-10 11:00:42 -04:00
settingscache.cpp Server List from JSON (#3165) 2018-04-09 22:38:21 -04:00
settingscache.h Feature/3139 new features for tips (#3152) 2018-04-01 04:52:26 -04:00
shortcutssettings.cpp add keybinds to mill cards (#3439) 2018-11-23 22:21:20 -05:00
shortcutssettings.h add keybinds to mill cards (#3439) 2018-11-23 22:21:20 -05:00
soundengine.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
soundengine.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
spoilerbackgroundupdater.cpp datetime display fixed for OSs with non-English localization (#3204) 2018-04-16 20:07:30 -04:00
spoilerbackgroundupdater.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
stackzone.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
stackzone.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
tab.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
tab.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
tab_admin.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
tab_admin.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
tab_deck_editor.cpp add keybinds to mill cards (#3439) 2018-11-23 22:21:20 -05:00
tab_deck_editor.h Disable saving of decks when the deck is empty (#3384) 2018-09-21 10:46:31 -04:00
tab_deck_storage.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
tab_deck_storage.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
tab_game.cpp add keybinds to mill cards (#3439) 2018-11-23 22:21:20 -05:00
tab_game.h "Show related card" option added to ingame context menu (#3115) 2018-02-19 01:12:25 -05:00
tab_logs.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
tab_logs.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
tab_message.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
tab_message.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
tab_replays.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
tab_replays.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
tab_room.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
tab_room.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
tab_server.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
tab_server.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
tab_supervisor.cpp Add custom QStyle class to tab bar to fix render issue on macOS. (#3095) 2018-02-08 15:39:29 +01:00
tab_supervisor.h Add custom QStyle class to tab bar to fix render issue on macOS. (#3095) 2018-02-08 15:39:29 +01:00
tab_userlists.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
tab_userlists.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
tablezone.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
tablezone.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
tappedout_interface.cpp Replace CardInfo* and Carset* with smart pointers (#3053) 2018-02-02 12:52:47 -05:00
tappedout_interface.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
thememanager.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
thememanager.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
tip_of_the_day.cpp Tip of the Day (#3118) 2018-03-02 03:11:18 -05:00
tip_of_the_day.h Tip of the Day (#3118) 2018-03-02 03:11:18 -05:00
translation.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
update_downloader.cpp Fixed most issues from codacy (#3050) 2018-01-27 13:31:44 -05:00
update_downloader.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
user_context_menu.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
user_context_menu.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
userconnection_information.cpp server site added to connect window (#3190) 2018-04-10 19:05:13 -04:00
userconnection_information.h server site added to connect window (#3190) 2018-04-10 19:05:13 -04:00
userinfobox.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
userinfobox.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
userlist.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
userlist.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
window_main.cpp add keybinds to mill cards (#3439) 2018-11-23 22:21:20 -05:00
window_main.h Tips close with the main window (#3305) 2018-06-24 19:37:30 -04:00
window_sets.cpp Improve hints for manage sets dialog (#3419) 2018-10-31 21:14:47 -04:00
window_sets.h Improve hints for manage sets dialog (#3419) 2018-10-31 21:14:47 -04:00
zoneviewwidget.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
zoneviewwidget.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
zoneviewzone.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
zoneviewzone.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00