• 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 | Protected Attributes | List of all members
DefineMacroMode Class Reference

#include <macro.h>

Inheritance diagram for DefineMacroMode:
Inheritance graph
[legend]

Public Member Functions

 DefineMacroMode (KigPart &)
 
 ~DefineMacroMode ()
 
void cancelPressed ()
 
void dragRect (const QPoint &p, KigWidget &w)
 
void finalPageEntered ()
 
void finishPressed ()
 
void givenPageEntered ()
 
bool hasFinalArgs () const
 
bool hasGivenArgs () const
 
void leftClickedObject (ObjectHolder *o, const QPoint &p, KigWidget &w, bool ctrlOrShiftDown)
 
bool validateObjects ()
 
- 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 cancelConstruction ()
 
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 redrawScreen (KigWidget *w)
 
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 abandonMacro ()
 
void enableActions ()
 
void midClicked (const QPoint &p, KigWidget &w)
 
void mouseMoved (const std::vector< ObjectHolder * > &os, const QPoint &p, KigWidget &w, bool shiftpressed)
 
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)
 
std::vector< ObjectHolder * > oco ()
 
QPoint pointLocation ()
 
- Protected Member Functions inherited from KigMode
 KigMode (KigPart &d)
 

Protected Attributes

std::vector< ObjectHolder * > mfinal
 
std::vector< ObjectHolder * > mgiven
 
MacroWizard * mwizard
 
QPoint plc
 
- Protected Attributes inherited from KigMode
KigPart & mdoc
 

Detailed Description

Definition at line 27 of file macro.h.

Constructor & Destructor Documentation

DefineMacroMode::DefineMacroMode ( KigPart &  d)

Definition at line 41 of file macro.cc.

DefineMacroMode::~DefineMacroMode ( )

Definition at line 48 of file macro.cc.

Member Function Documentation

void DefineMacroMode::abandonMacro ( )
protected

quit this mode...

Definition at line 53 of file macro.cc.

void DefineMacroMode::cancelPressed ( )

Definition at line 138 of file macro.cc.

void DefineMacroMode::dragRect ( const QPoint &  p,
KigWidget &  w 
)
virtual

Reimplemented from BaseMode.

Definition at line 143 of file macro.cc.

void DefineMacroMode::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 58 of file macro.cc.

void DefineMacroMode::finalPageEntered ( )

Definition at line 70 of file macro.cc.

void DefineMacroMode::finishPressed ( )

Definition at line 115 of file macro.cc.

void DefineMacroMode::givenPageEntered ( )

Definition at line 64 of file macro.cc.

bool DefineMacroMode::hasFinalArgs ( ) const

Definition at line 236 of file macro.cc.

bool DefineMacroMode::hasGivenArgs ( ) const

Definition at line 231 of file macro.cc.

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

Implements BaseMode.

Definition at line 171 of file macro.cc.

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

Implements BaseMode.

Definition at line 227 of file macro.cc.

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

Implements BaseMode.

Definition at line 192 of file macro.cc.

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

Implements BaseMode.

Definition at line 223 of file macro.cc.

bool DefineMacroMode::validateObjects ( )

Definition at line 76 of file macro.cc.

Member Data Documentation

std::vector<ObjectHolder*> DefineMacroMode::mfinal
protected

Definition at line 66 of file macro.h.

std::vector<ObjectHolder*> DefineMacroMode::mgiven
protected

Definition at line 65 of file macro.h.

MacroWizard* DefineMacroMode::mwizard
protected

Definition at line 62 of file macro.h.

QPoint DefineMacroMode::plc
protected

Definition at line 61 of file macro.h.


The documentation for this class was generated from the following files:
  • macro.h
  • macro.cc
This file is part of the KDE documentation.
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.

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
  • 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