kig
#include <mode.h>
Protected Member Functions | |
KigMode (KigPart &d) | |
Protected Attributes | |
KigPart & | mdoc |
Detailed Description
this is an ABC of a class containing the current "Mode" of the Kig document...
It tells us how to respond to a certain event.
Constructor & Destructor Documentation
Member Function Documentation
|
virtual |
Reimplemented in NormalMode.
|
virtual |
Reimplemented in NumericLabelMode, BaseConstructMode, and PointConstructMode.
|
virtual |
Reimplemented in NormalMode.
|
virtual |
Reimplemented in NormalMode.
|
virtual |
Reimplemented in NormalMode.
|
virtual |
actions: we enable the actions we want when our mode is made active.
This file is part of Kig, a KDE program for Interactive Geometry...
These actions are members of KigDocument, and call slots on KigDocument. These slots all call the correspondent mode() member. Modes reimplement the ones they need, and turn on the actions they support in enableActions().
Copyright (C) 2002 Dominique Devriese devri ese@ kde.o rg
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Reimplemented in NumericLabelMode, BaseConstructMode, ScriptModeBase, NormalMode, DefineMacroMode, PointConstructMode, and BaseMode.
QEventLoop * KigMode::eventLoop | ( | ) | const |
|
virtual |
Reimplemented in NormalMode.
|
virtual |
Reimplemented in NumericLabelMode, and BaseMode.
|
virtual |
this means: mouse moved with left mouse button down (in case that wasn't clear...)
Reimplemented in MovingModeBase, and BaseMode.
|
virtual |
Reimplemented in NumericLabelMode, TextLabelRedefineMode, MovingModeBase, and BaseMode.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
mouse moved without any buttons down...
Reimplemented in NumericLabelMode, MovingModeBase, and BaseMode.
|
virtual |
Reimplemented in NormalMode.
|
virtual |
Redraw the document on KigWidget w
.
It's up to the mode to refresh the screen...
Reimplemented in NumericLabelMode, BaseConstructMode, ScriptModeBase, PointConstructMode, NormalMode, and TextLabelModeBase.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Reimplemented in NormalMode.
void KigMode::setEventLoop | ( | QEventLoop * | e | ) |
|
virtual |
Reimplemented in NormalMode.
|
virtual |
Member Data Documentation
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:12:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.