Eneboo - Documentación para desarrolladores
Métodos públicos | Métodos protegidos
Referencia de la Clase QMainWindowLayout
Diagrama de herencias de QMainWindowLayout
QLayout QObject QLayoutItem QObject QLayoutItem Qt Qt Qt Qt

Lista de todos los miembros.

Métodos públicos

 QMainWindowLayout (QMainWindow *mw, QLayout *parent=0)
 ~QMainWindowLayout ()
void addItem (QLayoutItem *)
void setLeftDock (QDockArea *l)
void setRightDock (QDockArea *r)
void setCentralWidget (QWidget *w)
bool hasHeightForWidth () const
QSize sizeHint () const
QSize minimumSize () const
QLayoutIterator iterator ()
QSizePolicy::ExpandData expanding () const
void invalidate ()

Métodos protegidos

void setGeometry (const QRect &r)

Documentación del constructor y destructor

QMainWindowLayout::QMainWindowLayout ( QMainWindow mw,
QLayout parent = 0 
)
QMainWindowLayout::~QMainWindowLayout ( ) [inline]

Documentación de las funciones miembro

void QMainWindowLayout::addItem ( QLayoutItem item) [virtual]

Implemented in subclasses to add an item. How it is added is specific to each subclass.

The ownership of item is transferred to the layout, and it's the layout's responsibility to delete it.

Implementa QLayout.

QSizePolicy::ExpandData QMainWindowLayout::expanding ( ) const [inline, virtual]

Returns whether this layout can make use of more space than sizeHint(). A value of Vertical or Horizontal means that it wants to grow in only one dimension, whereas BothDirections means that it wants to grow in both dimensions.

The default implementation returns BothDirections.

Reimplementado de QLayout.

bool QMainWindowLayout::hasHeightForWidth ( ) const [inline, virtual]

Returns TRUE if this layout's preferred height depends on its width; otherwise returns FALSE. The default implementation returns FALSE.

Reimplement this function in layout managers that support height for width.

Ver también:
heightForWidth(), QWidget::heightForWidth()

Reimplementado de QLayoutItem.

void QMainWindowLayout::invalidate ( ) [inline, virtual]

Invalidates cached information. Reimplementations must call this.

Reimplementado de QLayout.

QLayoutIterator QMainWindowLayout::iterator ( ) [virtual]

Implemented in subclasses to return an iterator that iterates over this layout's children.

A typical implementation will be:

        QLayoutIterator MyLayout::iterator()
        {
            QGLayoutIterator *i = new MyLayoutIterator( internal_data );
            return QLayoutIterator( i );
        }

where MyLayoutIterator is a subclass of QGLayoutIterator.

Implementa QLayout.

QSize QMainWindowLayout::minimumSize ( ) const [virtual]

Returns the minimum size of this layout. This is the smallest size that the layout can have while still respecting the specifications. Does not include what's needed by margin() or menuBar().

The default implementation allows unlimited resizing.

Reimplementado de QLayout.

void QMainWindowLayout::setCentralWidget ( QWidget w)
void QMainWindowLayout::setGeometry ( const QRect r) [inline, protected, virtual]

This function is reimplemented in subclasses to perform layout.

The default implementation maintains the geometry() information given by rect r. Reimplementors must call this function.

Implementa QLayout.

void QMainWindowLayout::setLeftDock ( QDockArea l)
void QMainWindowLayout::setRightDock ( QDockArea r)
QSize QMainWindowLayout::sizeHint ( ) const [virtual]

Implemented in subclasses to return the preferred size of this item.

Implementa QLayoutItem.


La documentación para esta clase fue generada a partir del siguiente fichero:
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'