Olivier Teulière
02249c214e
Various fixes for problems detected by Coverity.
...
Most of them where not actual problems, though.
2012-10-13 13:49:40 +02:00
Olivier Teulière
c5591da9e5
Fix various strings
2012-10-06 22:17:43 +02:00
Olivier Teulière
43471a52ac
BagWidget: merge the 2 implementations in a single file.
...
Note that only BagWidget2 is used at the moment. In the future, the
other one will probably disappear.
2012-10-06 17:49:36 +02:00
Olivier Teulière
e55f05e325
Arbitration: fix a focus problem
2012-10-06 17:49:36 +02:00
Olivier Teulière
471dcf90e1
Rename Turn into TurnData (step 2)
2012-10-06 17:49:35 +02:00
Olivier Teulière
fa345a9f7b
Rename Turn into TurnData (step 1)
2012-10-06 17:49:35 +02:00
Olivier Teulière
e4f9c03ca7
Training: define key accelerators for the main buttons
2012-10-05 16:10:41 +02:00
Olivier Teulière
4c76ffe8bc
Moved the "Favorite players" window to a dedicated file, and added CSV import/export
2012-06-04 23:04:06 +02:00
Olivier Teulière
a4d5709d16
Catch exceptions during the auto-save
2012-06-04 23:04:06 +02:00
Olivier Teulière
a07d39fc22
New statistics window, still quite unpolished.
2012-05-06 23:31:49 +02:00
Olivier Teulière
f7a7eab3a3
Arbitration: when a player is selected, automatically switch to the corresponding history tab
2012-05-06 23:23:52 +02:00
Olivier Teulière
0095302b88
Use dedicated getters for the Move type: this is simpler to use and more readable
2012-05-05 19:45:44 +02:00
Olivier Teulière
6c16f203a5
Warn on game creation before showing the new game dialog, not after
2012-04-29 10:31:30 +02:00
Olivier Teulière
4b4b715a41
New options to desactivate the confirmation dialogs, and rework of the preferences window.
2012-04-29 01:58:43 +02:00
Olivier Teulière
f83b397549
Removed the now useless preference about the default AI level
2012-04-28 15:34:39 +02:00
Olivier Teulière
eaf536b3ba
Favorite players: new "Default" column, for automatic inclusion in a new game
2012-04-28 15:34:39 +02:00
Olivier Teulière
094af979c7
Create the new game dialog every time, instead of reusing it
2012-04-28 15:34:39 +02:00
Olivier Teulière
81dfee8e55
Emit a beep when the timer reaches the alert level or expires
2012-04-28 15:34:38 +02:00
Olivier Teulière
de5783d51a
Auto-save the current game regularly, to reduce the loss in case of crash
2012-04-28 15:34:37 +02:00
Olivier Teulière
f3f2d916bb
Fixed a few memory leaks
2012-04-28 15:34:37 +02:00
Olivier Teulière
afb45d62c4
Preferences: removed the option to link the rack with the 7+1 dictionary tool
2012-04-28 15:34:36 +02:00
Olivier Teulière
731eca6e9c
Do not reset the timer when changing turn, it causes problems in arbitration mode.
...
In fact, it could be more subtle: the timer should be reset whenever a
new turn is created (and only in this case).
2012-04-16 20:32:57 +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
9f2ea4f340
Dictionary wizard: new button to load the letter values from the current dictionary
2012-04-07 13:29:07 +02:00
Olivier Teulière
b1e7381b39
Players can now have a table number
2012-03-19 22:49:58 +01:00
Olivier Teulière
ff21e64a7f
Recreate the preferences dialog every time, to avoid displaying unsaved changes
2012-03-10 18:06:41 +01:00
Olivier Teulière
05a51101db
New arbitration mode, dedicate to arbitration of duplicate games.
...
It is mostly working, but many things are still missing.
In particular:
- ability to enter (or change) moves for a past turn
- ability to change the rack (manually, or randomly)
- ability to add/remove players during the game
- support for solos, warnings, penalties
- support for table number
- more ergonomic interface
- non regression tests
- ... and probably bugs to fix
2012-03-10 18:06:41 +01:00
Olivier Teulière
ce5f2b2a8c
Move the rack and the timer above the external board (useful when displayed with a projector)
2012-03-04 23:02:28 +01:00
Olivier Teulière
4077a25fa0
Use the GameMoveCmd command
2012-02-25 23:25:40 +01:00
Olivier Teulière
6ac6849bf8
Remove status bar messages automatically after 2s
2012-02-25 21:56:41 +01:00
Olivier Teulière
7195f3415c
Warn when loading a game, if there is already an existing game
2012-02-25 21:56:41 +01:00
Olivier Teulière
efb5fddf58
Reset the timer when the current turn changes
2012-02-21 08:22:33 +01:00
Olivier Teulière
a1c6a917a4
Get rid of the UI file for the favourite players: the same can be done with a few lines of code
2012-02-18 01:20:55 +01:00
Olivier Teulière
2cf5e29347
New dialog to define the favourite players
2012-02-18 01:19:24 +01:00
Olivier Teulière
323344a674
New helper class to help dealing with a players table
2012-02-16 22:17:26 +01:00
Olivier Teulière
e86d71626c
Do not repeat the application name and organization name everywhere
2012-02-16 22:17:23 +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
8d9eaf3f3d
Use the "visual" bag widget instead of the old one
2012-01-29 22:47:51 +01:00
Olivier Teulière
9d00f873a3
Changed the shortcut to change the dictionary, as it is already used for copy-paste...
2012-01-29 20:05:22 +01:00
Olivier Teulière
a7ef1f0f8c
Added preferences to configure the time
2012-01-26 20:57:43 +01:00
Olivier Teulière
b158266acb
Added an option to hide the signs (arrow and word preview) on the board.
...
This is used for the external board, which now shows only the played
words.
2012-01-22 23:55:44 +01:00
Olivier Teulière
2294bcbc80
Added an auxiliary window with the timer
2012-01-21 11:13:26 +01:00
Olivier Teulière
5535717ff4
Moved MainWindow::requestConfirmation() to the QtCommon class
2012-01-20 18:08:12 +01:00
Olivier Teulière
c8db48c1f0
Make the URL clickable in the About dialog
2012-01-20 13:41:17 +01:00
Olivier Teulière
765b57b781
Fixed initialization of the scores widget
2012-01-20 13:41:17 +01:00
Olivier Teulière
22f4341bdd
Display information on the remaining letters in the status bar
2012-01-19 23:49:56 +01:00
Olivier Teulière
65501aad44
Display the current turn number in the status bar
2012-01-19 23:49:56 +01:00
Olivier Teulière
855718c6b8
Factorized code
2012-01-19 13:17:08 +01:00
Olivier Teulière
a899df5e46
The Training widget is not in a tab anymore
2012-01-19 11:18:23 +01:00
Olivier Teulière
50b55fb7f0
Create the players and scores widgets only when a new game is started.
2012-01-19 10:43:31 +01:00