PlasmaComponents
qmenu.cpp
Go to the documentation of this file.
283 QPoint menuPos = view->mapToGlobal(view->mapFromScene(parentItem->scenePos()+QPoint(0, parentItem->boundingRect().height())));
286 menuPos = view->mapToGlobal(view->mapFromScene(parentItem->scenePos() - QPoint(0, m_menu->sizeHint().height())));
void setText(const QString &text)
void clear()
Type type() const
void updateGeometry()
void triggeredIndex(int index)
const T & at(int i) const
DialogStatus::Status status() const
QRectF sceneBoundingRect() const
QPoint mapToGlobal(const QPoint &pos) const
void visualParentChanged()
void setMenu(QMenu *menu)
sceneRect
T * data() const
Definition: enums.h:37
QObject * child() const
Definition: enums.h:35
QGraphicsScene * scene() const
int y() const
int size() const
virtual bool event(QEvent *e)
int indexOf(const T &value, int from) const
QWidget * activeWindow()
int count(const T &value) const
QList< QGraphicsView * > views() const
int removeAll(const T &value)
QPoint mapFromScene(const QPointF &point) const
void triggered(QMenuItem *item)
void hide()
isActiveWindow
Definition: enums.h:27
bool contains(const T &value) const
QDesktopWidget * desktop()
virtual QRectF boundingRect() const =0
void removeAction(QAction *action)
int height() const
int bottom() const
qreal height() const
const QRect availableGeometry(int screen) const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void statusChanged()
QObject * parent() const
QPointF scenePos() const
QDeclarativeListProperty< QMenuItem > content()
QObject * visualParent() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:08:40 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:08:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.