mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-05 04:53:54 -07:00
Add menu option and hotkey to sort hand (#6057)
* Add sort hand shortcut * add function to sort hand by type and name * rig up the sort hand to the player * fix sorting param * use getShortcut instead of getSingleShortcut * use correct method * change default sorting --------- Co-authored-by: Zach H <zahalpern+github@gmail.com>
This commit is contained in:
parent
d6243a2dd2
commit
06738cae93
5 changed files with 26 additions and 2 deletions
|
|
@ -239,7 +239,7 @@ private slots:
|
|||
void actSetAnnotation();
|
||||
void actReveal(QAction *action);
|
||||
void refreshShortcuts();
|
||||
|
||||
void actSortHand();
|
||||
void initSayMenu();
|
||||
|
||||
public:
|
||||
|
|
@ -276,7 +276,7 @@ private:
|
|||
QAction *aPlay, *aPlayFacedown, *aHide, *aTap, *aDoesntUntap, *aAttach, *aUnattach, *aDrawArrow, *aSetPT, *aResetPT,
|
||||
*aIncP, *aDecP, *aIncT, *aDecT, *aIncPT, *aDecPT, *aFlowP, *aFlowT, *aSetAnnotation, *aFlip, *aPeek, *aClone,
|
||||
*aMoveToTopLibrary, *aMoveToBottomLibrary, *aMoveToHand, *aMoveToGraveyard, *aMoveToExile,
|
||||
*aMoveToXfromTopOfLibrary, *aSelectAll, *aSelectRow, *aSelectColumn, *aIncrementAllCardCounters;
|
||||
*aMoveToXfromTopOfLibrary, *aSelectAll, *aSelectRow, *aSelectColumn, *aSortHand, *aIncrementAllCardCounters;
|
||||
|
||||
bool movingCardsUntil;
|
||||
QTimer *moveTopCardTimer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue