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

granatier

Public Slots | Public Member Functions | List of all members
InfoSidebar Class Reference

#include <infosidebar.h>

Inheritance diagram for InfoSidebar:
Inheritance graph
[legend]

Public Slots

virtual void updateGraphics (qreal svgScaleFactor)
 

Public Member Functions

 InfoSidebar (Game *p_game, GameScene *p_scene)
 
virtual ~InfoSidebar ()
 
QRectF rect ()
 
void reset ()
 
void themeChanged ()
 

Detailed Description

This class represents the game sidebar with game information about the player.

Definition at line 53 of file infosidebar.h.

Constructor & Destructor Documentation

InfoSidebar::InfoSidebar ( Game *  p_game,
GameScene *  p_scene 
)

Creates a new InfoSidebar instance.

Parameters
p_gamethe game instance
p_rendererthe renderer instance
p_scenethe gamescene instance

Definition at line 32 of file infosidebar.cpp.

InfoSidebar::~InfoSidebar ( )
virtual

Deletes the InfoSidebar instance.

Definition at line 181 of file infosidebar.cpp.

Member Function Documentation

QRectF InfoSidebar::rect ( )

Returns the background rect of the infoSidebar.

Definition at line 278 of file infosidebar.cpp.

void InfoSidebar::reset ( )

Resets the player states.

Definition at line 266 of file infosidebar.cpp.

void InfoSidebar::themeChanged ( )

Handles theme changes.

Definition at line 283 of file infosidebar.cpp.

void InfoSidebar::updateGraphics ( qreal  svgScaleFactor)
virtualslot

Updates the graphics after a resize.

Parameters
svgScaleFactorthe scaling factor between svg and rendered pixmap

Definition at line 434 of file infosidebar.cpp.


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

KDE's Doxygen guidelines are available online.

granatier

Skip menu "granatier"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

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