Commit graph

20 commits

Author SHA1 Message Date
Olivier Teulière
b5a473a2af RackWidget: set small margins and draw a border 2013-01-20 19:18:16 +01:00
Olivier Teulière
d9ee0633db RackWidget: filter the rack correctly when the played word contains a blank 2013-01-13 22:53:57 +01:00
Olivier Teulière
c34bd76918 RackWidget: fix a bug when the rack is filtered (wrong variable used) 2013-01-11 11:06:56 +01:00
Olivier Teulière
b7825e1998 RackWidget: restore the rack properly if drag & drop fails 2013-01-09 18:56:25 +01:00
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
6e3c04b954 TileWidget: better colour for the shaded and played tiles 2012-12-30 01:53:14 +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
4bcd106577 RackWidget: center the tiles in the widget 2012-12-17 22:53:24 +01:00
Olivier Teulière
f6ced69c9e Make sure some class members are initialized (bugs reported by Coverity) 2012-10-11 23:21:32 +02: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
d6a2fc6e4e PublicGame: more direct access to the game current rack 2012-03-26 07:49:25 +02:00
Olivier Teulière
22fd6484f3 Correctly retrieve the game rack 2012-02-25 23:51:30 +01:00
Olivier Teulière
84c4937d8d The external board now also contains a rack and a timer 2012-01-29 22:47:51 +01:00
Olivier Teulière
0e7880dbbe New Rack widget 2012-01-29 22:47:51 +01:00