Olivier Teuliere
7bc44cf5ec
Update gettext and stop using a local intl folder
2020-04-11 09:43:00 +02:00
Olivier Teuliere
757d9b26be
Fix a few warnings with recent Qt5 versions
2020-04-11 09:43:00 +02:00
Olivier Teulière
3ad45fdb91
Do not block signals when changing the rack.
...
This fixes a bug where a filter was still active after changing the
rack, causing the next search to return no result.
2016-02-03 00:00:20 +01:00
Olivier Teulière
8d66d234ea
Various build fixes for Qt5 support
2013-09-25 22:23:01 +02:00
Olivier Teulière
db4cc393ab
ToppingWidget: disable the widget at the end of the game.
...
This avoids a crash if the players tries to go on playing.
2013-04-09 19:40:15 +02:00
Olivier Teulière
91d9f647b1
UpdateChecker: fix a coverity warning (not an actual bug, though)
2013-04-03 23:55:28 +02:00
Olivier Teulière
a688c5d151
Fix a typo
2013-03-10 23:14:49 +01:00
Olivier Teulière
cdbb53f72c
Gray out the players area when the game is finished.
...
This was broken since 196e02f9ad
.
2013-01-29 22:58:00 +01:00
Olivier Teulière
afc791dd73
MainWindow: no frame is needed for labels in the status bar
2013-01-20 20:31:33 +01:00
Olivier Teulière
0cfc063a0f
Fix c7913ddc45
.
...
This was not supposed to be commited.
2013-01-20 19:48:15 +01:00
Olivier Teulière
8ab4f88a59
Fix make distcheck
2013-01-20 19:22:40 +01:00
Olivier Teulière
c7913ddc45
Arbitration: clear the filters when the rack changes, not when a search is performed
2013-01-20 19:18:17 +01:00
Olivier Teulière
b5a473a2af
RackWidget: set small margins and draw a border
2013-01-20 19:18:16 +01:00
Olivier Teulière
272867c3ad
MainWindow: try to reduce screen flicker when (re)starting a game
2013-01-20 19:18:16 +01:00
Olivier Teulière
ff4b91459e
MainWindow: do not show the visual rack until a game is started
2013-01-20 19:18:16 +01:00
Olivier Teulière
2a3d8e9930
Remove useless comments
2013-01-20 11:07:47 +01:00
Olivier Teulière
af43396579
TileLayout: fix margins handling
2013-01-20 01:39:10 +01:00
Olivier Teulière
c8c0548828
Some confirmations are useless when the game is finished
2013-01-19 23:41:26 +01:00
Olivier Teulière
2c95f890ef
Check for new versions, about once a week.
...
This can be deactivated in the preferences.
2013-01-19 00:36:08 +01:00
Olivier Teulière
9ef4d966ad
ToppingWidget: fix tab order
2013-01-19 00:36:08 +01:00
Olivier Teulière
30385abe30
Results: new MasterResults implementation, using the MoveSelector class.
...
This avoids calling MoveSelector everywhere in the code.
2013-01-19 00:36:07 +01:00
Olivier Teulière
b493b3b365
Rack: rename a method
2013-01-17 17:59:33 +01:00
Olivier Teulière
c1c3f3b48b
Bag: rename a method
2013-01-17 17:14:38 +01:00
Olivier Teulière
664eec36ed
New MoveSelector class, to help find the "best" move to play.
...
The best move has the highest possible score, but it is also the one
leading to the most interesting game. This is a subjective notion, but
some heuristics can help, such as:
- a move sparing a blank is better than one using it
- a move with many prefixes and suffixes is better than one without
extensions
- a move "opening" the game is better than one blocking it
- a move leaving a nice rack is better than one leaving "bad" letters
At the moment, only the first heuristic is implemented.
2013-01-16 19:00:01 +01:00
Olivier Teulière
83baec368b
Topping: give the score penalty directly with the player move.
...
This commit also adds a setting to disable the elapsed-time penalty.
2013-01-16 17:46:47 +01:00
Olivier Teulière
7f3f29df31
HistoryWidget: compute the player ID instead of getting it from TurnData
2013-01-16 14:31:44 +01:00
Olivier Teulière
1e0de63ef8
Results: add a isEmpty() method, and use it where possible
2013-01-16 11:15:12 +01:00
Olivier Teulière
ace75af580
Arbitration: make the shortcuts for assignments translatable
2013-01-16 00:21:51 +01:00
Olivier Teulière
ab14c9a949
Arbitration: rename a few methods
2013-01-16 00:21:42 +01:00
Olivier Teulière
9ad9b02d57
Arbitration: always show the context menu entry to assign the selected move.
...
Even if no move is selected, it can help the user to become aware of the
keyboard shortcuts.
2013-01-15 20:13:47 +01:00
Olivier Teulière
e4338547e5
Arbitration: use a standard shorcut to select all the players
2013-01-15 20:00:03 +01:00
Olivier Teulière
de74b3e861
Remove the KeyEventFilter class
2013-01-15 19:53:28 +01:00
Olivier Teulière
820cd1509c
Remove all uses of KeyEventFilter.
...
Use the standard QShortcut instead (possibly combined with a
QSignalMapper).
2013-01-15 19:51:27 +01:00
Olivier Teulière
89efeffd9b
Stats: add support for printing the table, as it is shown on the screen
2013-01-15 18:37:38 +01:00
Olivier Teulière
086b597f3e
PlayWordMediator: consider the empty rack as valid
2013-01-15 11:43:30 +01:00
Olivier Teulière
8e6500f6dd
Stats: hide some information in topping mode
2013-01-14 17:13:49 +01:00
Olivier Teulière
9268767567
Topping: do not show the lineEdit control showing points of the move
2013-01-14 17:13:49 +01:00
Olivier Teulière
cbe7f1e172
Topping: better looking widget, and new field for the total score
2013-01-14 17:13:49 +01:00
Olivier Teulière
ec0cfb47fa
Topping: add a preference to set the penalty value in case of timeout
2013-01-14 17:13:48 +01:00
Olivier Teulière
7e9dab2e9b
Topping: keep track of the player score
2013-01-14 17:13:48 +01:00
Olivier Teulière
0ea56cc442
Add a "Print preview" menu entry
2013-01-14 17:13:48 +01:00
Olivier Teulière
6f2ee6f9ff
PlayWordMediator: improve the handling of words in Intermediate state.
...
The syntactically invalid words (such as those without matching parens)
are displayed in red, and do not trigger un update of the PlayModel.
As a result, the letters do not disappear from the preview anymore when
the opening parenthesis of a blank tile is typed.
2013-01-14 15:59:31 +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
8cd3157842
Topping: remove the ScoreWidget and add a TimerWidget
2013-01-11 11:06:57 +01:00
Olivier Teulière
b6715c6c05
HintsDialog: display the cost of each hint (optional)
2013-01-11 11:06:57 +01:00
Olivier Teulière
4f817bfa24
TimerModel: add a utility method
2013-01-11 11:06:57 +01:00
Olivier Teulière
ce3da4adbb
TimerWidget: new "chrono" mode, triggered with Ctrl+click
2013-01-11 11:06: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
02f284f3ae
GameSignals: update member variables correctly when the game is destroyed
2013-01-10 21:42:07 +01:00
Olivier Teulière
b7825e1998
RackWidget: restore the rack properly if drag & drop fails
2013-01-09 18:56:25 +01:00