kig
normal.cc
Go to the documentation of this file.
220 ObjectHolder* pto = ObjectFactory::instance()->sensiblePoint( w.fromScreen( p ), mdoc.document(), w );
void mouseMoved(const std::vector< ObjectHolder * > &os, const QPoint &p, KigWidget &w, bool shiftpressed)
Definition: normal.cc:261
void leftClickedObject(ObjectHolder *o, const QPoint &p, KigWidget &w, bool ctrlOrShiftDown)
Definition: normal.cc:187
ObjectHolder * sensiblePoint(const Coordinate &c, const KigDocument &d, const KigWidget &w) const
Definition: object_factory.cc:286
void setCursor(const QCursor &)
Definition: macro.h:27
bool needClear() const
this returns false if the control or shift button were pressed when the mouse button was released...
Definition: dragrectmode.cc:82
virtual void enableActions()
actions: we enable the actions we want when our mode is made active.
Definition: mode.cc:27
static int getObjectFromList(const QPoint &p, KigWidget *w, const std::vector< ObjectHolder * > &objs, bool givepopup=true)
Get the index of the chosen object from a list of objects.
Definition: objectchooserpopup.cc:26
The BaseMode is a particular mode that allows an easy mapping of the mouse actions to real...
Definition: base_mode.h:33
std::vector< ObjectHolder * > ret() const
this returns the selected objects.
Definition: dragrectmode.cc:77
void calc(const KigDocument &)
Make our ObjectCalcer recalculate its ObjectImp.
Definition: object_holder.cc:73
void enableActions()
actions: we enable the actions we want when our mode is made active.
Definition: normal.cc:47
This is the popup menu that appears when you click on selected objects in NormalMode.
Definition: popup.h:46
const ScreenInfo & screenInfo() const
the part of the document we're currently showing i.e.
Definition: kig_view.cpp:272
Definition: moving.h:73
An ObjectHolder represents an object as it is known to the document.
Definition: object_holder.h:40
The HistoryDialog represents a small dialog to navigate back and forth in the history of a constructi...
Definition: historydialog.h:34
void rightClicked(const std::vector< ObjectHolder * > &os, const QPoint &p, KigWidget &w)
Definition: normal.cc:230
const std::vector< ObjectHolder * > objects() const
Get a hold of the objects of this KigDocument.
Definition: kig_document.cc:46
void updateCurPix(const std::vector< QRect > &=std::vector< QRect >())
update curPix (bitBlt stillPix onto curPix..)
Definition: kig_view.cpp:187
QPixmap curPix
temporary, gets bitBlt'd (copied) onto the widget (to avoid flickering)
Definition: kig_view.h:84
QPoint pos()
void selectObjects(const std::vector< ObjectHolder * > &os)
Definition: normal.cc:75
void dragObject(const std::vector< ObjectHolder * > &os, const QPoint &pointClickedOn, KigWidget &w, bool ctrlOrShiftDown)
Definition: normal.cc:169
void updateWidget(const std::vector< QRect > &=std::vector< QRect >())
this means bitBlting curPix on the actual widget...
Definition: kig_view.cpp:115
void setX(int x)
void drawObjects(const std::vector< ObjectHolder * > &os, bool sel)
Definition: kigpainter.cpp:518
void redrawScreen(const std::vector< ObjectHolder * > &selection, bool paintOnWidget=true)
Definition: kig_view.cpp:252
QPixmap stillPix
what do the still objects look like wondering if this is appropriate, maybe it should be part of Movi...
Definition: kig_view.h:79
DragRectMode is a mode that provides a rect for selecting the objects inside it.
Definition: dragrectmode.h:40
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.