Eneboo - Documentación para desarrolladores
|
The QGLayoutIterator class is an abstract base class of internal layout iterators. Más...
#include <qlayout.h>
Métodos públicos | |
virtual | ~QGLayoutIterator () |
virtual QLayoutItem * | next ()=0 |
virtual QLayoutItem * | current ()=0 |
virtual QLayoutItem * | takeCurrent ()=0 |
virtual | ~QGLayoutIterator () |
virtual QLayoutItem * | next ()=0 |
virtual QLayoutItem * | current ()=0 |
virtual QLayoutItem * | takeCurrent ()=0 |
The QGLayoutIterator class is an abstract base class of internal layout iterators.
(This class is not OpenGL related, it just happens to start with the letters QGL...)
Subclass this class to create a custom layout. The functions that must be implemented are next(), current(), and takeCurrent().
The QGLayoutIterator implements the functionality of QLayoutIterator. Each subclass of QLayout needs a QGLayoutIterator subclass.
QGLayoutIterator::~QGLayoutIterator | ( | ) | [virtual] |
Destroys the iterator
virtual QGLayoutIterator::~QGLayoutIterator | ( | ) | [virtual] |
QLayoutItem * QGLayoutIterator::current | ( | ) | [pure virtual] |
Implemented in subclasses to return the current item, or 0 if there is no current item.
Implementado en QGridLayoutDataIterator, QBoxLayoutIterator y QwtDynGridLayout::PrivateData::LayoutIterator.
virtual QLayoutItem* QGLayoutIterator::current | ( | ) | [pure virtual] |
Implementado en QGridLayoutDataIterator, QBoxLayoutIterator y QwtDynGridLayout::PrivateData::LayoutIterator.
QLayoutItem * QGLayoutIterator::next | ( | ) | [pure virtual] |
Implemented in subclasses to move the iterator to the next item and return that item, or 0 if there is no next item.
Implementado en QGridLayoutDataIterator, QBoxLayoutIterator y QwtDynGridLayout::PrivateData::LayoutIterator.
virtual QLayoutItem* QGLayoutIterator::next | ( | ) | [pure virtual] |
Implementado en QGridLayoutDataIterator, QBoxLayoutIterator y QwtDynGridLayout::PrivateData::LayoutIterator.
QLayoutItem * QGLayoutIterator::takeCurrent | ( | ) | [pure virtual] |
Implemented in subclasses. The function must remove the current item from the layout without deleting it, move the iterator to the next item and return the removed item, or 0 if no item was removed.
Implementado en QGridLayoutDataIterator, QBoxLayoutIterator y QwtDynGridLayout::PrivateData::LayoutIterator.
virtual QLayoutItem* QGLayoutIterator::takeCurrent | ( | ) | [pure virtual] |
Implementado en QGridLayoutDataIterator, QBoxLayoutIterator y QwtDynGridLayout::PrivateData::LayoutIterator.