kig
builtinobjectactionsprovider.cc
Go to the documentation of this file.
60 void BuiltinObjectActionsProvider::fillUpMenu( NormalModePopupObjects& popup, int menu, int& nextfree )
165 Qt::PenStyle penstyles[] = {Qt::SolidLine, Qt::DashLine, Qt::DashDotLine, Qt::DashDotDotLine, Qt::DotLine};
292 Qt::PenStyle penstyles[] = {Qt::SolidLine, Qt::DashLine, Qt::DashDotLine, Qt::DashDotDotLine, Qt::DotLine};
bool end()
a KigCommand represents almost every action performed in Kig.
Definition: kig_commands.h:44
void fill(const QColor &color)
QAction * addInternalAction(int menu, const QString &name, int id)
Definition: popup.cc:276
Definition: popup.h:60
Definition: popup.h:60
void hideObjects(const std::vector< ObjectHolder * > &os)
Definition: kig_part.cpp:934
void draw(const ObjectImp &imp, KigPainter &p, bool selected) const
Draw the object imp on kigpainter p .
Definition: object_drawer.cc:29
void drawLine(const QLineF &line)
Definition: popup.h:60
ScreenInfo is a simple utility class that maps a region of the document onto a region of the screen...
Definition: screeninfo.h:31
The Coordinate class is the basic class representing a 2D location by its x and y components...
Definition: coordinate.h:33
This is the popup menu that appears when you click on selected objects in NormalMode.
Definition: popup.h:46
Definition: kig_commands.h:223
Definition: moving.h:73
void setPos(int x, int y)
void setPen(const QColor &color)
void drawEllipse(const QRectF &rectangle)
void showObjects(const std::vector< ObjectHolder * > &os)
Definition: kig_part.cpp:953
void fillUpMenu(NormalModePopupObjects &popup, int menu, int &nextfree)
add all your entries to menu menu in popup popup.
Definition: builtinobjectactionsprovider.cc:60
void setBrush(const QBrush &brush)
A class holding some information about how a certain object is drawn on the window.
Definition: object_drawer.h:47
static const ObjectImpType * stype()
Returns the ObjectImpType representing PointImp's.
Definition: point_imp.cc:159
QPoint pos()
bool executeAction(int menu, int &id, const std::vector< ObjectHolder * > &os, NormalModePopupObjects &popup, KigPart &doc, KigWidget &w, NormalMode &m)
try to execute the id'th action you added to menu menu in popup popup ( first is 0 )...
Definition: builtinobjectactionsprovider.cc:182
QPoint mapFromGlobal(const QPoint &pos) const
Definition: popup.h:60
QRect rect() const
void delObjects(const std::vector< ObjectHolder * > &os)
Definition: kig_part.cpp:635
Definition: normal.h:26
void push(QUndoCommand *cmd)
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.