kig
#include <construct_mode.h>
Protected Member Functions | |
void | cancelConstruction () |
void | enableActions () |
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 | redrawScreen (KigWidget *) |
void | rightClicked (const std::vector< ObjectHolder * > &oco, const QPoint &p, KigWidget &w) |
Protected Member Functions inherited from BaseMode | |
BaseMode (KigPart &) | |
~BaseMode () | |
virtual void | dragObject (const std::vector< ObjectHolder * > &os, const QPoint &pointClickedOn, KigWidget &w, bool ctrlOrShiftDown) |
virtual void | dragRect (const QPoint &p, KigWidget &w) |
std::vector< ObjectHolder * > | oco () |
QPoint | pointLocation () |
Protected Member Functions inherited from KigMode | |
KigMode (KigPart &d) | |
Additional Inherited Members | |
Protected Attributes inherited from KigMode | |
KigPart & | mdoc |
Detailed Description
Definition at line 29 of file construct_mode.h.
Constructor & Destructor Documentation
PointConstructMode::PointConstructMode | ( | KigPart & | d | ) |
Definition at line 293 of file construct_mode.cc.
PointConstructMode::~PointConstructMode | ( | ) |
Definition at line 306 of file construct_mode.cc.
Member Function Documentation
|
protectedvirtual |
Reimplemented from KigMode.
Definition at line 373 of file construct_mode.cc.
|
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.
Definition at line 366 of file construct_mode.cc.
|
protectedvirtual |
Implements BaseMode.
Definition at line 310 of file construct_mode.cc.
Implements BaseMode.
Definition at line 320 of file construct_mode.cc.
|
protectedvirtual |
Implements BaseMode.
Definition at line 331 of file construct_mode.cc.
|
protectedvirtual |
Redraw the document on KigWidget w
.
It's up to the mode to refresh the screen...
Reimplemented from KigMode.
Definition at line 581 of file construct_mode.cc.
|
protectedvirtual |
Implements BaseMode.
Definition at line 325 of file construct_mode.cc.
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.