Commit graph

10 commits

Author SHA1 Message Date
Olivier Teulière
4111afc04c RackWidget: after a drag & drop, notify the game that the rack has changed.
This allows synchronizing all the controls displaying the player rack
(visual and textual ones).
2013-01-09 18:56:25 +01:00
Olivier Teulière
0763c0771b RackWidget: only allow drag & drop if there is no preview on the board 2013-01-09 18:52:11 +01:00
Olivier Teulière
c285e37354 RackWidget: update the visual rack only when the game rack changes.
This avoids losing the state when any unrelated update happens in the
game (for example when clicking on the board to set the coordinates).
2013-01-09 16:39:10 +01:00
Olivier Teulière
c4635c66f9 RackWidget: better-looking drag & drop, inspired by Firefox tabs 2012-12-29 19:36:38 +01:00
Olivier Teulière
c775682881 RackWidget: hide tiles of the word being played.
This gives the nice impression that tiles are moved from the rack to the
board.
2012-12-29 17:48:15 +01:00
Olivier Teulière
0b9d8ecfbb RackWidget: initial support for drag & drop of tiles in the rack 2012-12-29 17:46:18 +01:00
Olivier Teulière
7f5651b4bb RackWidget: add a setRack() slot 2012-12-18 16:03:44 +01:00
Olivier Teulière
86860a9f80 RackWidget: inherit from QFrame instead of QWidget 2012-08-26 22:18:42 +02:00
Olivier Teulière
0534e72c0e Only show data relative to the last turn on the external board (and rack) 2012-04-11 20:02:18 +02:00
Olivier Teulière
0e7880dbbe New Rack widget 2012-01-29 22:47:51 +01:00