Go to the source code of this file.
◆ removeLayoutItemFromLayout()
Definition at line 118 of file qgraphicslayout_p.cpp.
Referenced by QGraphicsLayoutPrivate::addChildLayoutItem().
123 for (
int i = lay->
count() - 1; i >= 0; --i) {
128 }
else if (child == layoutItem) {
virtual void removeAt(int index)=0
This pure virtual function must be reimplemented in a subclass of QGraphicsLayout to remove the item ...
The QGraphicsLayoutItem class can be inherited to allow your custom items to be managed by layouts...
bool isLayout() const
Returns true if this QGraphicsLayoutItem is a layout (e.g., is inherited by an object that arranges o...
virtual int count() const =0
This pure virtual function must be reimplemented in a subclass of QGraphicsLayout to return the numbe...
virtual QGraphicsLayoutItem * itemAt(int i) const =0
This pure virtual function must be reimplemented in a subclass of QGraphicsLayout to return a pointer...
static bool removeLayoutItemFromLayout(QGraphicsLayout *lay, QGraphicsLayoutItem *layoutItem)