• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdegames API Reference
  • KDE Home
  • Contact Us
 

kigo

  • Kigo
  • GameScene
Public Slots | Signals | Public Member Functions | List of all members
Kigo::GameScene Class Reference

#include <gamescene.h>

Inheritance diagram for Kigo::GameScene:
Inheritance graph
[legend]

Public Slots

void resizeScene (int width, int height)
 
void showHint (bool show)
 
void showLabels (bool show)
 
void showMessage (const QString &message, int msecs=2000)
 
void showMoveNumbers (bool show)
 
void showPlacementMarker (bool show)
 
void showTerritory (bool show)
 

Signals

void cursorPixmapChanged (const QPixmap &)
 

Public Member Functions

 GameScene (Game *game, QObject *parent=0)
 

Detailed Description

This class provides a graphical representation of the go game using QGraphicsScene.

It displays the go board in its current state, receives mouse events, translates them and interacts with the Game. It also drives the game flow, i.e. tells game when to make the next move.

Author
Sascha Peilicke sasch.nosp@m..pe@.nosp@m.gmx.d.nosp@m.e
Since
0.1

Definition at line 43 of file gamescene.h.

Constructor & Destructor Documentation

Kigo::GameScene::GameScene ( Game *  game,
QObject *  parent = 0 
)
explicit

Definition at line 36 of file gamescene.cpp.

Member Function Documentation

void Kigo::GameScene::cursorPixmapChanged ( const QPixmap &  )
signal
void Kigo::GameScene::resizeScene ( int  width,
int  height 
)
slot

Definition at line 53 of file gamescene.cpp.

void Kigo::GameScene::showHint ( bool  show)
slot

Definition at line 85 of file gamescene.cpp.

void Kigo::GameScene::showLabels ( bool  show)
slot

Definition at line 79 of file gamescene.cpp.

void Kigo::GameScene::showMessage ( const QString &  message,
int  msecs = 2000 
)
slot

Definition at line 102 of file gamescene.cpp.

void Kigo::GameScene::showMoveNumbers ( bool  show)
slot

Definition at line 91 of file gamescene.cpp.

void Kigo::GameScene::showPlacementMarker ( bool  show)
slot

Definition at line 97 of file gamescene.cpp.

void Kigo::GameScene::showTerritory ( bool  show)
slot

Definition at line 112 of file gamescene.cpp.


The documentation for this class was generated from the following files:
  • gamescene.h
  • gamescene.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:44:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kigo

Skip menu "kigo"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdegames API Reference

Skip menu "kdegames API Reference"
  • granatier
  • kapman
  • kblackbox
  • kgoldrunner
  • kigo
  • kmahjongg
  • KShisen
  • ksquares
  • libkdegames
  •   highscore
  •   libkdegamesprivate
  •     kgame
  • libkmahjongg
  • palapeli
  •   libpala

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal