• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kig

Public Member Functions | Protected Member Functions | List of all members
PointConstructMode Class Reference

#include <construct_mode.h>

Inheritance diagram for PointConstructMode:
Inheritance graph
[legend]

Public Member Functions

 PointConstructMode (KigPart &d)
 
 ~PointConstructMode ()
 
- 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 browseHistory ()
 
virtual void deleteObjects ()
 
virtual void deselectAll ()
 
virtual void editTypes ()
 
QEventLoop * eventLoop () const
 
virtual void invertSelection ()
 
virtual void midMouseMoved (QMouseEvent *, KigWidget *)
 
virtual void newMacro ()
 
virtual void rightMouseMoved (QMouseEvent *, KigWidget *)
 
virtual void rightReleased (QMouseEvent *, KigWidget *)
 
virtual void selectAll ()
 
void setEventLoop (QEventLoop *e)
 
virtual void showHidden ()
 
virtual StdConstructionMode * toStdConstructionMode ()
 

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

void PointConstructMode::cancelConstruction ( )
protectedvirtual

Reimplemented from KigMode.

Definition at line 373 of file construct_mode.cc.

void PointConstructMode::enableActions ( )
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.nosp@m.ese@.nosp@m.kde.o.nosp@m.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.

void PointConstructMode::leftClickedObject ( ObjectHolder *  o,
const QPoint &  p,
KigWidget &  w,
bool  ctrlOrShiftDown 
)
protectedvirtual

Implements BaseMode.

Definition at line 310 of file construct_mode.cc.

void PointConstructMode::midClicked ( const QPoint &  p,
KigWidget &  w 
)
protectedvirtual

Implements BaseMode.

Definition at line 320 of file construct_mode.cc.

void PointConstructMode::mouseMoved ( const std::vector< ObjectHolder * > &  os,
const QPoint &  p,
KigWidget &  w,
bool  shiftpressed 
)
protectedvirtual

Implements BaseMode.

Definition at line 331 of file construct_mode.cc.

void PointConstructMode::redrawScreen ( KigWidget *  w)
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.

void PointConstructMode::rightClicked ( const std::vector< ObjectHolder * > &  oco,
const QPoint &  p,
KigWidget &  w 
)
protectedvirtual

Implements BaseMode.

Definition at line 325 of file construct_mode.cc.


The documentation for this class was generated from the following files:
  • construct_mode.h
  • construct_mode.cc
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kig

Skip menu "kig"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal