kig
#include <special_constructors.h>

Public Member Functions | |
MeasureTransportConstructor () | |
~MeasureTransportConstructor () | |
std::vector< ObjectHolder * > | build (const std::vector< ObjectCalcer * > &os, KigDocument &d, KigWidget &w) const |
const QString | description () const |
const QString | descriptiveName () const |
void | drawprelim (const ObjectDrawer &drawer, KigPainter &p, const std::vector< ObjectCalcer * > &parents, const KigDocument &) const |
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 | isAlreadySelectedOK (const std::vector< ObjectCalcer * > &os, const uint &) const |
bool | isTransform () const |
void | plug (KigPart *doc, KigGUIAction *kact) |
QString | selectStatement (const std::vector< ObjectCalcer * > &sel, const KigDocument &d, const KigWidget &w) const |
QString | useText (const ObjectCalcer &o, const std::vector< ObjectCalcer * > &sel, const KigDocument &d, const KigWidget &v) const |
int | wantArgs (const std::vector< ObjectCalcer * > &os, const KigDocument &d, const KigWidget &v) const |
![]() | |
virtual | ~ObjectConstructor () |
virtual BaseConstructMode * | constructMode (KigPart &doc) |
virtual bool | isIntersection () const |
virtual bool | isTest () const |
Detailed Description
Definition at line 275 of file special_constructors.h.
Constructor & Destructor Documentation
MeasureTransportConstructor::MeasureTransportConstructor | ( | ) |
Definition at line 1682 of file special_constructors.cc.
MeasureTransportConstructor::~MeasureTransportConstructor | ( | ) |
Definition at line 1687 of file special_constructors.cc.
Member Function Documentation
std::vector< ObjectHolder * > MeasureTransportConstructor::build | ( | const std::vector< ObjectCalcer * > & | os, |
KigDocument & | d, | ||
KigWidget & | w | ||
) | const |
Definition at line 1855 of file special_constructors.cc.
|
virtual |
Implements ObjectConstructor.
Definition at line 1696 of file special_constructors.cc.
|
virtual |
Implements ObjectConstructor.
Definition at line 1691 of file special_constructors.cc.
void MeasureTransportConstructor::drawprelim | ( | const ObjectDrawer & | drawer, |
KigPainter & | p, | ||
const std::vector< ObjectCalcer * > & | parents, | ||
const KigDocument & | doc | ||
) | const |
Definition at line 1792 of file special_constructors.cc.
|
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 1763 of file special_constructors.cc.
|
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 1777 of file special_constructors.cc.
|
virtual |
Implements ObjectConstructor.
Definition at line 1701 of file special_constructors.cc.
|
virtual |
the following function is called in case of duplication of arguments and returns true if this is acceptable; this will return false for typical objects
Implements ObjectConstructor.
Definition at line 1706 of file special_constructors.cc.
|
virtual |
Implements ObjectConstructor.
Definition at line 1873 of file special_constructors.cc.
|
virtual |
Implements ObjectConstructor.
Definition at line 1869 of file special_constructors.cc.
|
virtual |
return a string describing what argument you want next, if the given selection of objects were selected.
Implements ObjectConstructor.
Definition at line 1833 of file special_constructors.cc.
|
virtual |
return a string describing what you would use o
for if it were selected...
o
should be part of sel
.
Implements ObjectConstructor.
Definition at line 1806 of file special_constructors.cc.
|
virtual |
can this constructor do something useful with os
? return ArgsParser::Complete, Valid or NotGood
Implements ObjectConstructor.
Definition at line 1718 of file special_constructors.cc.
The documentation for this class was generated from the following files:
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.