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
65ed44d66d
Cosmetics
2012-10-06 17:49:35 +02:00
Olivier Teulière
77fcfab8a5
Stats: add an option to lock the columns sizes
2012-10-06 17:49:35 +02:00
Olivier Teulière
ef5f8e63e9
Do not cache the score of the player.
...
Caching is almost useless here, and makes the code more complex.
2012-10-06 17:49:35 +02:00
Olivier Teulière
40944884e6
Remove Player::getPoints()
2012-10-06 17:49:35 +02:00
Olivier Teulière
c700f39ac7
Stats: display end game points for a free game
2012-10-06 17:49:35 +02:00
Olivier Teulière
b53295c782
Stats: compute the ranking based on the final score, not the intermediate one
2012-10-06 17:49:35 +02:00
Olivier Teulière
2ab95b5ed9
Get rid of old CVS files
2012-10-06 01:44:33 +02:00
Olivier Teulière
db14ee0622
Training: do not use the auto-connect feature.
...
The code is now slightly more verbose, but easier to follow and
less sensitive to typos.
2012-10-05 16:10:41 +02:00
Olivier Teulière
75025c33df
Training: improve usability
2012-10-05 16:10:41 +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
1232eda206
Set the allColumnsShowFocus property to true on some views
2012-10-05 16:10:41 +02:00
Olivier Teulière
f4b78e09b1
Arbitration: restore properly the focused player
2012-10-05 16:10:41 +02:00
Olivier Teulière
56028c8651
Arbitration: new popup menu entry to suppress an assigned move
2012-10-05 16:10:41 +02:00
Olivier Teulière
a800863c1f
Arbitration: do not handle solos automatically.
...
The arbitrator has to specify them manually. Otherwise, we cannot know
when a turn is complete and thus we cannot determine if solos can/should
be applied.
2012-10-05 12:52:42 +02:00
Olivier Teulière
bcc2aedbff
Improve the detection of finished games for duplicate and arbitration modes
2012-10-05 01:42:46 +02:00
Olivier Teulière
ed152a380d
Arbitration: correctly set the state of buttons for past turns
2012-10-05 00:27:34 +02:00
Olivier Teulière
6ec9568020
Arbitration: better label for a popup menu entry
2012-10-05 00:27:10 +02:00
Olivier Teulière
86860a9f80
RackWidget: inherit from QFrame instead of QWidget
2012-08-26 22:18:42 +02:00
Olivier Teulière
d693a53910
TileLayout: respect the margins and alignment
2012-08-26 22:18:42 +02:00
Olivier Teulière
aa557f8121
Improve the handling of favorite players
2012-08-26 22:18:36 +02:00
Olivier Teulière
ee31179864
StatsWidget: add the players ranking
2012-08-26 22:18:32 +02:00
Olivier Teulière
8e1c55c79d
StatsWidget: use the player name for the title of the columns. Also hide some rows depending on the game type.
2012-08-26 22:18:32 +02:00
Olivier Teulière
24bf44779a
StatsWidget: display some column names even when there is no game
2012-08-26 22:18:31 +02:00
Olivier Teulière
fb2a160d7b
StatsWidget: improve the tooltips
2012-08-26 22:18:22 +02:00
Olivier Teulière
80a2e9ce9c
StatsWidget: various improvements.
...
Main changes
- clean model/view separation
- code simplification
- no multi-line cells anymore
- possibility to change the orientation of the table
- use of bold font to highlight "top moves"
- use of colors to highlight some important details
2012-08-26 22:18:22 +02:00
Olivier Teulière
25f3bccdd1
TileWidget: make sure the font is at least one pixel wide
2012-06-10 23:34:23 +02:00
Olivier Teulière
fdc1478cf4
Arbitration: disable controls for a finished game only in the last turn
2012-06-09 19:18:43 +02:00
Olivier Teulière
3a18a78970
Fixed make dist
2012-06-04 23:04:07 +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
e88de64ac9
Stats window: display the table number instead of the row number
2012-05-30 08:14:18 +02:00
Olivier Teulière
2b6b85cce3
Arbitration: allow removing penalties
2012-05-20 22:12:42 +02:00
Olivier Teulière
7868593cb2
Do not always reject completely a rack containing letters not in the bag anymore.
...
This could be a rack containing an incomplete input sequence for a tile...
2012-05-16 22:07:55 +02:00
Olivier Teulière
0c1634d530
Arbitration: do not accept blindly any rack in Intermediate state.
...
This fixes a bug with languages using multichar tiles.
2012-05-16 22:07:55 +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
1ad1ef7425
Arbitration: use the same solo-related settings as in duplicate mode
2012-05-05 19:58:31 +02:00
Olivier Teulière
6d4df09b31
Fixed a bug when saving the position of auxiliary windows
2012-05-05 19:45:44 +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
572d172640
Arbitration: new option to specify the number of "authorized" warnings. Not used yet.
2012-05-05 19:45:44 +02:00
Olivier Teulière
e6c1a180c8
Arbitration: by convention, use negative values to indicate a penalty
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
43470edc04
Arbitration: changed some shortcuts, to avoid interferences when typing
2012-04-28 15:34:39 +02:00
Olivier Teulière
c58282faad
Arbitration: use a placehoder for the results filter
2012-04-28 15:34:38 +02:00