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

kig

Public Member Functions | List of all members
PointSequenceConstructor Class Referenceabstract

#include <special_constructors.h>

Inheritance diagram for PointSequenceConstructor:
Inheritance graph
[legend]

Public Member Functions

 PointSequenceConstructor (const char *descname, const char *desc, const char *iconfile, const ObjectType *type)
 
std::vector< ObjectHolder * > build (const std::vector< ObjectCalcer * > &os, KigDocument &d, KigWidget &w) const
 
const QString description () const
 
const QString descriptiveName () const
 
virtual void drawprelim (const ObjectDrawer &drawer, KigPainter &p, const std::vector< ObjectCalcer * > &parents, const KigDocument &) const =0
 
void handleArgs (const std::vector< ObjectCalcer * > &os, KigPart &d, KigWidget &v) const
 
void handlePrelim (KigPainter &p, const std::vector< ObjectCalcer * > &sel, const KigDocument &d, const KigWidget &v) const
 
const QByteArray iconFileName (const bool canBeNull=false) const
 
bool isTransform () const
 
void plug (KigPart *doc, KigGUIAction *kact)
 
- Public Member Functions inherited from ObjectConstructor
virtual ~ObjectConstructor ()
 
virtual BaseConstructMode * constructMode (KigPart &doc)
 
virtual bool isAlreadySelectedOK (const std::vector< ObjectCalcer * > &os, const uint &) const =0
 
virtual bool isIntersection () const
 
virtual bool isTest () const
 
virtual QString selectStatement (const std::vector< ObjectCalcer * > &sel, const KigDocument &d, const KigWidget &w) const =0
 
virtual QString useText (const ObjectCalcer &o, const std::vector< ObjectCalcer * > &sel, const KigDocument &d, const KigWidget &v) const =0
 
virtual int wantArgs (const std::vector< ObjectCalcer * > &os, const KigDocument &d, const KigWidget &v) const =0
 

Detailed Description

Definition at line 97 of file special_constructors.h.

Constructor & Destructor Documentation

PointSequenceConstructor::PointSequenceConstructor ( const char *  descname,
const char *  desc,
const char *  iconfile,
const ObjectType *  type 
)

Definition at line 506 of file special_constructors.cc.

Member Function Documentation

std::vector< ObjectHolder * > PointSequenceConstructor::build ( const std::vector< ObjectCalcer * > &  os,
KigDocument &  d,
KigWidget &  w 
) const

Definition at line 571 of file special_constructors.cc.

const QString PointSequenceConstructor::description ( ) const
virtual

Implements ObjectConstructor.

Definition at line 523 of file special_constructors.cc.

const QString PointSequenceConstructor::descriptiveName ( ) const
virtual

Implements ObjectConstructor.

Definition at line 518 of file special_constructors.cc.

virtual void PointSequenceConstructor::drawprelim ( const ObjectDrawer &  drawer,
KigPainter &  p,
const std::vector< ObjectCalcer * > &  parents,
const KigDocument &   
) const
pure virtual

Implemented in BezierCurveTypeConstructor, OpenPolygonTypeConstructor, and PolygonBNPTypeConstructor.

void PointSequenceConstructor::handleArgs ( const std::vector< ObjectCalcer * > &  os,
KigPart &  d,
KigWidget &  v 
) const
virtual

do something fun with os .

. This func is only called if wantArgs returned Complete.. handleArgs should not do any drawing.. after somebody calls this function, he should redrawScreen() himself..

Implements ObjectConstructor.

Definition at line 533 of file special_constructors.cc.

void PointSequenceConstructor::handlePrelim ( KigPainter &  p,
const std::vector< ObjectCalcer * > &  sel,
const KigDocument &  d,
const KigWidget &  v 
) const
virtual

show a preliminary version of what you would do when handleArgs would be called.

. E.g. if this constructor normally constructs a locus through some 5 points, then it will try to draw a locus through whatever number of points it gets..

Implements ObjectConstructor.

Definition at line 547 of file special_constructors.cc.

const QByteArray PointSequenceConstructor::iconFileName ( const bool  canBeNull = false) const
virtual

Implements ObjectConstructor.

Definition at line 528 of file special_constructors.cc.

bool PointSequenceConstructor::isTransform ( ) const
virtual

Implements ObjectConstructor.

Definition at line 588 of file special_constructors.cc.

void PointSequenceConstructor::plug ( KigPart *  doc,
KigGUIAction *  kact 
)
virtual

Implements ObjectConstructor.

Definition at line 584 of file special_constructors.cc.


The documentation for this class was generated from the following files:
  • special_constructors.h
  • special_constructors.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