kig
#include <normal.h>
Public Member Functions | |
NormalMode (KigPart &) | |
~NormalMode () | |
void | clearSelection () |
void | selectObject (ObjectHolder *o) |
void | selectObjects (const std::vector< ObjectHolder * > &os) |
void | unselectObject (ObjectHolder *o) |
Public Member Functions inherited from BaseMode | |
void | leftClicked (QMouseEvent *e, KigWidget *v) |
void | leftMouseMoved (QMouseEvent *, KigWidget *) |
void | leftReleased (QMouseEvent *e, KigWidget *v) |
void | midClicked (QMouseEvent *e, KigWidget *v) |
void | midReleased (QMouseEvent *e, KigWidget *v) |
void | mouseMoved (QMouseEvent *e, KigWidget *v) |
void | rightClicked (QMouseEvent *, KigWidget *) |
Public Member Functions inherited from KigMode | |
virtual | ~KigMode () |
virtual void | cancelConstruction () |
QEventLoop * | eventLoop () const |
virtual void | midMouseMoved (QMouseEvent *, KigWidget *) |
virtual void | rightMouseMoved (QMouseEvent *, KigWidget *) |
virtual void | rightReleased (QMouseEvent *, KigWidget *) |
void | setEventLoop (QEventLoop *e) |
virtual StdConstructionMode * | toStdConstructionMode () |
Protected Member Functions | |
void | browseHistory () |
void | deleteObjects () |
void | deselectAll () |
void | dragObject (const std::vector< ObjectHolder * > &os, const QPoint &pointClickedOn, KigWidget &w, bool ctrlOrShiftDown) |
void | dragRect (const QPoint &p, KigWidget &w) |
void | editTypes () |
void | enableActions () |
void | invertSelection () |
void | leftClickedObject (ObjectHolder *o, const QPoint &p, KigWidget &w, bool ctrlOrShiftDown) |
void | midClicked (const QPoint &p, KigWidget &w) |
void | mouseMoved (const std::vector< ObjectHolder * > &os, const QPoint &p, KigWidget &w, bool shiftpressed) |
void | newMacro () |
void | redrawScreen (KigWidget *) |
void | rightClicked (const std::vector< ObjectHolder * > &os, const QPoint &p, KigWidget &w) |
void | selectAll () |
void | showHidden () |
Protected Member Functions inherited from BaseMode | |
BaseMode (KigPart &) | |
~BaseMode () | |
std::vector< ObjectHolder * > | oco () |
QPoint | pointLocation () |
Protected Member Functions inherited from KigMode | |
KigMode (KigPart &d) | |
Protected Attributes | |
std::set< ObjectHolder * > | sos |
Protected Attributes inherited from KigMode | |
KigPart & | mdoc |
Detailed Description
Constructor & Destructor Documentation
Member Function Documentation
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
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 from BaseMode.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
void NormalMode::selectObject | ( | ObjectHolder * | o | ) |
void NormalMode::selectObjects | ( | const std::vector< ObjectHolder * > & | os | ) |
|
protectedvirtual |
void NormalMode::unselectObject | ( | ObjectHolder * | o | ) |
Member Data Documentation
|
protected |
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.