KMahjonggTileset

#include <KMahjonggTileset>

Public Member Functions

QString authorProperty (const QString &key) const
 
short height () const
 
short levelOffsetX () const
 
short levelOffsetY () const
 
bool loadDefault ()
 
bool loadGraphics ()
 
bool loadTileset (const QString &tilesetPath)
 
QString path () const
 
QSize preferredTileSize (const QSize &boardsize, int horizontalCells, int verticalCells)
 
short qHeight () const
 
short qWidth () const
 
bool reloadTileset (const QSize &newTilesize)
 
QPixmap selectedTile (int num)
 
QPixmap tileface (int num)
 
QPixmap unselectedTile (int num)
 
short width () const
 

Protected Member Functions

void buildElementIdTable (void)
 
QString pixmapCacheNameFromElementId (const QString &elementid)
 
QPixmap renderElement (short width, short height, const QString &elementid)
 
void updateScaleInfo (short tilew, short tileh)
 

Detailed Description

A tile set.

Definition at line 27 of file kmahjonggtileset.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 19 2021 22:39:28 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.