kmahjongg
#include <Editor.h>
This class implements.
longer description
- Author
- Mauricio Piacentini mauri.nosp@m.cio@.nosp@m.tabul.nosp@m.eiro.nosp@m..com
Definition at line 46 of file Editor.h.
Editor::Editor |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
Constructor Description.
- Parameters
-
Definition at line 38 of file Editor.cpp.
Default Destructor.
Definition at line 82 of file Editor.cpp.
Method Description.
- Parameters
-
- Returns
true
if
-
false
if
Definition at line 728 of file Editor.cpp.
Override the closeEvent(...) method of kdialog..qdialog.
Definition at line 760 of file Editor.cpp.
void Editor::drawBackground |
( |
QPixmap * |
to | ) |
|
|
protected |
void Editor::drawCursor |
( |
POSITION & |
p, |
|
|
bool |
visible |
|
) |
| |
|
protected |
Method Description.
- Parameters
-
Definition at line 674 of file Editor.cpp.
void Editor::drawFrameMouseMovedEvent |
( |
QMouseEvent * |
e | ) |
|
|
protectedslot |
void Editor::drawFrameMousePressEvent |
( |
QMouseEvent * |
e | ) |
|
|
protectedslot |
void Editor::drawTiles |
( |
QPixmap * |
to | ) |
|
|
protected |
Method Description.
- Parameters
-
Definition at line 491 of file Editor.cpp.
const QString Editor::getTileset |
( |
| ) |
const |
Return the tileset that is actually set.
Definition at line 110 of file Editor.cpp.
void Editor::loadBoard |
( |
| ) |
|
|
protectedslot |
void Editor::newBoard |
( |
| ) |
|
|
protectedslot |
Slot Description.
Method Description
Definition at line 124 of file Editor.cpp.
bool Editor::saveBoard |
( |
| ) |
|
|
protectedslot |
Slot Description.
- Returns
true
if ...
-
false
if ...
Definition at line 377 of file Editor.cpp.
void Editor::setTileset |
( |
const QString |
tileset | ) |
|
Set a new tileset.
Definition at line 86 of file Editor.cpp.
void Editor::setTilesetFromSettings |
( |
| ) |
|
|
slot |
Load the settings from prefs.
Definition at line 779 of file Editor.cpp.
void Editor::setupToolbar |
( |
| ) |
|
|
protected |
void Editor::slotModeChanged |
( |
QAction * |
act | ) |
|
|
protectedslot |
void Editor::slotShiftDown |
( |
| ) |
|
|
protectedslot |
void Editor::slotShiftLeft |
( |
| ) |
|
|
protectedslot |
void Editor::slotShiftRight |
( |
| ) |
|
|
protectedslot |
void Editor::slotShiftUp |
( |
| ) |
|
|
protectedslot |
void Editor::statusChanged |
( |
| ) |
|
|
protected |
Method Description.
- Returns
- status description
Definition at line 318 of file Editor.cpp.
bool Editor::testSave |
( |
| ) |
|
|
protected |
Method Description.
- Returns
true
if
-
false
if
Definition at line 422 of file Editor.cpp.
void Editor::transformPointToPosition |
( |
const QPoint & |
point, |
|
|
POSITION & |
MouseClickPos, |
|
|
bool |
align |
|
) |
| |
|
protected |
void Editor::updateTileSize |
( |
const QSize |
size | ) |
|
|
protected |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:33 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.