3

I've written a simple Scrabble game with a simple Bot and Human part which can interact using consolebased I/O. Although there is already a Qt based overview of the current situation in the game: A simple custom QWidget which simply paints everything. No interaction or anything fancy yet.

My current, pretty good working, solution
(source: b52 at reaktor42.de)

My problem is that I would like to remove the consolebased interaction and switch to a new Drag'n'Drop based approach, but I'm not that familiar with PyQt and GUI development in general.

Therefor my question is, what would be a good way to go? Creating custom Layouts for Board and Rack and custom Letter Widget which would be dragable?

Thanks in advance Oli

Community
  • 1
  • 1

1 Answers1

0

That looks pretty good! If you need to actually move things around on the screen using the mouse, I think the Graphics View Framework would be a better way to go than widgets.

Arnold Spence
  • 21,942
  • 7
  • 74
  • 67
  • Yeah looks like. Do you got some more hints about how to use it? I'm new to this but I learn very fast once I got some examples or usage information. –  Jun 18 '11 at 12:16
  • Ok, seems I found I way which is good enough to do what I want, here a little [demonstration](http://reaktor42.de/~b52/public/scrabble_board.ogv) –  Jun 18 '11 at 15:36
  • It's a pretty broad topic so you pretty much just have to jump in and play around with it until it starts to make sense :) – Arnold Spence Jun 18 '11 at 16:51