summaryrefslogtreecommitdiff
path: root/quacker/graphicalboard.cpp
AgeCommit message (Collapse)Author
2019-07-28Fix #87, make tiles high-res on HiDpi screens.John Fultz
QPixmap is still in actual pixels, so it needs to be created at devicePixelRatio() times its present size, in addition to having its own devicePixelRatio() set.
2019-07-19Fix deprecation errors for Qt 5.13.John Fultz
Most are Qt4-isms, except where noted. * Replaced QFontMetrics::width with QFontMetrics::horizontalAdvance, conditionally as the latter wasn't even introduced until Qt 5.11. * QColor::light and dark instead of QColor::light and dark. * QString() instead of QString::null. * std::sort instead of qSort * QTreeWidgetItem::setSelected instead of QTreeWidget::setItemSelected. * QFileDialog::setOption(QFileDialog::DontConfirmOverwrite) instead of QFileDialog::setConfirmOverwrite(false). * QDrag::exec instead of QDrag::start.
2019-02-04After discussion with Jason/John, add myself as a copyright holder.John Fultz
Also, extend copyright to 2019.
2019-02-03fix for passing an argument to setGlobalCandidateMartin DeMello
2019-01-14Fix #21, committing a phoney cannot be canceled.John Fultz
When going back to edit history, typing a phoney correctly brought up a dialog, but indicating you wanted to cancel the phoney play didn't stop the play from going down, or a subsequent computer player from making its play.
2017-08-02More Qt5 changes and cleanups.John Fultz
Now builds on Qt 5.9.1, and works on Mac, Windows, Linux.
2017-08-02Merge pull request #37 from gokceneraslan/qt55John Fultz
Port quackle to Qt 5.5
2016-08-02Fixes to allow bad endgames to be loaded from GCGs.John Fultz
Not perfect, but it now does a decent job of not corrupting GCGs when it loads one where players have messed up tile counts/drawing in the end-game. It also tries to annotate these for the player and in any GCG file that's round-tripped. Also, a lot of C++11-izing of ranged iterators.
2016-01-12Port Quackle to Qt 5.5Gökçen Eraslan
2015-07-21Visual Studio build maintenance.John Fultz
* Fix compiler warnings * Add Visual Studio 2013 solution * Tweak .pro files * Most importantly, rename main 'quackle' project to 'libquackle' to avoid solution-level name conflict. This only affects the VS build.
2014-09-08Add more international keyboard support.John Fultz
Haven't seen the last of this, yet...combinining keystrokes still don't seem to be working.
2014-09-02Change GPL file headers to v3.John Fultz
Not a very interesting commit...only changes in comments.
2014-08-25Add Polish alphabet. Fix AltGr keyboard events.John Fultz
This fixes a reported problem under Windows (it was probably an issue on other platforms, too) where, if you're using a keyboard that requires AltGr in order to type Scrabble letters on the board, they simply won't type. For example, the Windows "Polish Programmers" keyboard. Polish alphabet submitted by Adam Klimont, and tested by me. Dictionary to come soon.
2014-08-12Compiler warnings.John Fultz
2013-12-30Add color theme feature.John Fultz
This allows you to choose between preset themes stored in .ini files in the layout. While I was at it, I changed other things in the Settings panel to auto-populate from the layout rather than have hard-coded versions. So there's no longer a need to recompile Quackle to add new languages or alphabets to get it to show up in the popup menu.
2013-08-25Initial git commit.Jason Katz-Brown