libkmahjongg
#include <kmahjonggtileset.h>
Public Member Functions | |
KMahjonggTileset () | |
~KMahjonggTileset () | |
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
Definition at line 30 of file kmahjonggtileset.h.
Constructor & Destructor Documentation
KMahjonggTileset::KMahjonggTileset | ( | ) |
Definition at line 70 of file kmahjonggtileset.cpp.
KMahjonggTileset::~KMahjonggTileset | ( | ) |
Definition at line 86 of file kmahjonggtileset.cpp.
Member Function Documentation
Definition at line 137 of file kmahjonggtileset.cpp.
|
protected |
Definition at line 298 of file kmahjonggtileset.cpp.
short KMahjonggTileset::height | ( | ) | const |
Definition at line 147 of file kmahjonggtileset.cpp.
short KMahjonggTileset::levelOffsetX | ( | ) | const |
Definition at line 152 of file kmahjonggtileset.cpp.
short KMahjonggTileset::levelOffsetY | ( | ) | const |
Definition at line 157 of file kmahjonggtileset.cpp.
bool KMahjonggTileset::loadDefault | ( | ) |
Definition at line 125 of file kmahjonggtileset.cpp.
bool KMahjonggTileset::loadGraphics | ( | ) |
Definition at line 254 of file kmahjonggtileset.cpp.
bool KMahjonggTileset::loadTileset | ( | const QString & | tilesetPath | ) |
Definition at line 180 of file kmahjonggtileset.cpp.
QString KMahjonggTileset::path | ( | ) | const |
Definition at line 172 of file kmahjonggtileset.cpp.
Definition at line 332 of file kmahjonggtileset.cpp.
QSize KMahjonggTileset::preferredTileSize | ( | const QSize & | boardsize, |
int | horizontalCells, | ||
int | verticalCells | ||
) |
Definition at line 101 of file kmahjonggtileset.cpp.
short KMahjonggTileset::qHeight | ( | ) | const |
Definition at line 167 of file kmahjonggtileset.cpp.
short KMahjonggTileset::qWidth | ( | ) | const |
Definition at line 162 of file kmahjonggtileset.cpp.
bool KMahjonggTileset::reloadTileset | ( | const QSize & | newTilesize | ) |
Definition at line 277 of file kmahjonggtileset.cpp.
|
protected |
Definition at line 336 of file kmahjonggtileset.cpp.
QPixmap KMahjonggTileset::selectedTile | ( | int | num | ) |
Definition at line 348 of file kmahjonggtileset.cpp.
QPixmap KMahjonggTileset::tileface | ( | int | num | ) |
Definition at line 370 of file kmahjonggtileset.cpp.
QPixmap KMahjonggTileset::unselectedTile | ( | int | num | ) |
Definition at line 359 of file kmahjonggtileset.cpp.
|
protected |
Definition at line 90 of file kmahjonggtileset.cpp.
short KMahjonggTileset::width | ( | ) | const |
Definition at line 142 of file kmahjonggtileset.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.