kig
construct_mode.h
Go to the documentation of this file.
50 void mouseMoved( const std::vector<ObjectHolder*>& os, const QPoint& p, KigWidget& w, bool shiftpressed );
98 void mouseMoved( const std::vector<ObjectHolder*>& os, const QPoint& p, KigWidget& w, bool shiftpressed );
105 virtual void handlePrelim( const std::vector<ObjectCalcer*>& os, const QPoint& p, KigPainter&, KigWidget& w ) = 0;
106 virtual QString selectStatement( const std::vector<ObjectCalcer*>& args, const KigWidget& w ) = 0;
122 void handlePrelim( const std::vector<ObjectCalcer*>& os, const QPoint& p, KigPainter&, KigWidget& w );
154 void handlePrelim( const std::vector<ObjectCalcer*>& os, const QPoint& p, KigPainter&, KigWidget& w );
164 void mouseMoved( const std::vector<ObjectHolder*>& os, const QPoint& p, KigWidget& w, bool shiftpressed );
virtual void handleArgs(const std::vector< ObjectCalcer * > &args, KigWidget &w)=0
void midClicked(const QPoint &p, KigWidget &w)
Definition: construct_mode.cc:163
void handleArgs(const std::vector< ObjectCalcer * > &args, KigWidget &w)
Definition: construct_mode.cc:477
void mouseMoved(QMouseEvent *e, KigWidget *v)
mouse moved without any buttons down...
Definition: base_mode.cc:128
Definition: construct_mode.h:58
void handleArgs(const std::vector< ObjectCalcer * > &args, KigWidget &w)
Definition: construct_mode.cc:460
void redrawScreen(KigWidget *)
Redraw the document on KigWidget w .
Definition: construct_mode.cc:581
This is a convenience subclass of ObjectType that a type should inherit from if its parents can be sp...
Definition: object_type.h:113
void mouseMoved(const std::vector< ObjectHolder * > &os, const QPoint &p, KigWidget &w, bool shiftpressed)
Definition: construct_mode.cc:331
QString selectStatement(const std::vector< ObjectCalcer * > &args, const KigWidget &w)
Definition: construct_mode.cc:570
virtual void handlePrelim(const std::vector< ObjectCalcer * > &os, const QPoint &p, KigPainter &, KigWidget &w)=0
Definition: construct_mode.h:29
void mouseMoved(const std::vector< ObjectHolder * > &os, const QPoint &p, KigWidget &w, bool shiftpressed)
Definition: construct_mode.cc:184
void redrawScreen(KigWidget *)
Redraw the document on KigWidget w .
Definition: construct_mode.cc:586
PointConstructMode(KigPart &d)
Definition: construct_mode.cc:293
ConstructMode(KigPart &d, const ObjectConstructor *ctor)
Definition: construct_mode.cc:416
void rightClicked(const std::vector< ObjectHolder * > &oco, const QPoint &p, KigWidget &w)
Definition: construct_mode.cc:325
The BaseMode is a particular mode that allows an easy mapping of the mouse actions to real...
Definition: base_mode.h:33
This is an ObjectCalcer that uses one of the various ObjectType's to calculate its ObjectImp...
Definition: object_calcer.h:183
void enableActions()
actions: we enable the actions we want when our mode is made active.
Definition: construct_mode.cc:366
int isAlreadySelectedOK(const std::vector< ObjectCalcer * > &, const int &)
Definition: construct_mode.cc:466
This class represents a way to construct a set of objects from a set of other objects.
Definition: object_constructor.h:44
TestConstructMode(KigPart &d, const ArgsParserObjectType *type)
Definition: construct_mode.cc:451
int isAlreadySelectedOK(const std::vector< ObjectCalcer * > &, const int &)
Definition: construct_mode.cc:400
void handlePrelim(const std::vector< ObjectCalcer * > &os, const QPoint &p, KigPainter &, KigWidget &w)
Definition: construct_mode.cc:428
An ObjectHolder represents an object as it is known to the document.
Definition: object_holder.h:40
An ObjectCalcer is an object that represents an algorithm for calculating an ObjectImp from other Obj...
Definition: object_calcer.h:66
void mouseMoved(const std::vector< ObjectHolder * > &os, const QPoint &p, KigWidget &w, bool shiftpressed)
Definition: construct_mode.cc:543
void selectObject(ObjectHolder *o, KigWidget &w)
Definition: construct_mode.cc:280
int wantArgs(const std::vector< ObjectCalcer * > &, KigDocument &d, KigWidget &w)
Definition: construct_mode.cc:472
void leftClickedObject(ObjectHolder *o, const QPoint &p, KigWidget &w, bool ctrlOrShiftDown)
Definition: construct_mode.cc:108
void handlePrelim(const std::vector< ObjectCalcer * > &os, const QPoint &p, KigPainter &, KigWidget &w)
Definition: construct_mode.cc:388
QString selectStatement(const std::vector< ObjectCalcer * > &args, const KigWidget &w)
Definition: construct_mode.cc:565
virtual int wantArgs(const std::vector< ObjectCalcer * > &, KigDocument &d, KigWidget &w)=0
void leftClickedObject(ObjectHolder *o, const QPoint &p, KigWidget &w, bool ctrlOrShiftDown)
Definition: construct_mode.cc:484
virtual QString selectStatement(const std::vector< ObjectCalcer * > &args, const KigWidget &w)=0
void leftClickedObject(ObjectHolder *o, const QPoint &p, KigWidget &w, bool ctrlOrShiftDown)
Definition: construct_mode.cc:310
void enableActions()
actions: we enable the actions we want when our mode is made active.
Definition: construct_mode.cc:353
KigDocument is the class holding the real data in a Kig document.
Definition: kig_document.h:36
void selectObjects(const std::vector< ObjectHolder * > &os, KigWidget &w)
Definition: construct_mode.cc:378
virtual int isAlreadySelectedOK(const std::vector< ObjectCalcer * > &, const int &)=0
Definition: construct_mode.h:114
void rightClicked(const std::vector< ObjectHolder * > &oco, const QPoint &p, KigWidget &w)
Definition: construct_mode.cc:179
void midClicked(const QPoint &p, KigWidget &w)
Definition: construct_mode.cc:525
int wantArgs(const std::vector< ObjectCalcer * > &, KigDocument &d, KigWidget &w)
Definition: construct_mode.cc:406
void rightClicked(const std::vector< ObjectHolder * > &oco, const QPoint &p, KigWidget &w)
Definition: construct_mode.cc:534
void midClicked(const QPoint &p, KigWidget &w)
Definition: construct_mode.cc:320
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.