List of all members | Public Member Functions
QBoxLayoutProto Class Reference

#include <qboxlayoutproto.h>

Inheritance diagram for QBoxLayoutProto:
QObject QScriptable

Public Member Functions

 QBoxLayoutProto (QObject *parent)
 
Q_INVOKABLE bool activate ()
 
Q_INVOKABLE void addItem (QLayoutItem *item)
 
Q_INVOKABLE void addLayout (QLayout *layout, int stretch=0)
 
Q_INVOKABLE void addSpacerItem (QSpacerItem *spacerItem)
 
Q_INVOKABLE void addSpacing (int size)
 
Q_INVOKABLE void addStretch (int stretch=0)
 
Q_INVOKABLE void addStrut (int size)
 
Q_INVOKABLE void addWidget (QWidget *widget, int stretch=0, Qt::Alignment alignment=0)
 
Q_INVOKABLE QRect contentsRect () const
 
Q_INVOKABLE int count () const
 
Q_INVOKABLE QBoxLayout::Direction direction () const
 
Q_INVOKABLE Qt::Orientations expandingDirections () const
 
Q_INVOKABLE void getContentsMargins (int *left, int *top, int *right, int *bottom) const
 
Q_INVOKABLE int indexOf (QWidget *widget) const
 
Q_INVOKABLE void insertLayout (int index, QLayout *layout, int stretch=0)
 
Q_INVOKABLE void insertSpacerItem (int index, QSpacerItem *spacerItem)
 
Q_INVOKABLE void insertSpacing (int index, int size)
 
Q_INVOKABLE void insertStretch (int index, int stretch=0)
 
Q_INVOKABLE void insertWidget (int index, QWidget *widget, int stretch=0, Qt::Alignment alignment=0)
 
Q_INVOKABLE void invalidate ()
 
Q_INVOKABLE bool isEnabled () const
 
Q_INVOKABLE QLayoutItem * itemAt (int index) const
 
Q_INVOKABLE QSize maximumSize () const
 
Q_INVOKABLE QWidgetmenuBar () const
 
Q_INVOKABLE QSize minimumSize () const
 
Q_INVOKABLE QWidgetparentWidget () const
 
Q_INVOKABLE void removeItem (QLayoutItem *item)
 
Q_INVOKABLE void removeWidget (QWidget *widget)
 
Q_INVOKABLE bool setAlignment (QLayout *l, Qt::Alignment alignment)
 
Q_INVOKABLE void setAlignment (Qt::Alignment alignment)
 
Q_INVOKABLE bool setAlignment (QWidget *w, Qt::Alignment alignment)
 
Q_INVOKABLE void setContentsMargins (int left, int top, int right, int bottom)
 
Q_INVOKABLE void setDirection (int direction)
 
Q_INVOKABLE void setEnabled (bool enable)
 
Q_INVOKABLE void setMenuBar (QWidget *widget)
 
Q_INVOKABLE void setStretch (int index, int stretch)
 
Q_INVOKABLE bool setStretchFactor (QLayout *layout, int stretch)
 
Q_INVOKABLE bool setStretchFactor (QWidget *widget, int stretch)
 
Q_INVOKABLE int stretch (int index) const
 
Q_INVOKABLE QLayoutItem * takeAt (int index)
 
Q_INVOKABLE void update ()
 

Constructor & Destructor Documentation

◆ QBoxLayoutProto()

QBoxLayoutProto::QBoxLayoutProto ( QObject parent)

Member Function Documentation

◆ activate()

bool QBoxLayoutProto::activate ( )

◆ addItem()

void QBoxLayoutProto::addItem ( QLayoutItem *  item)

◆ addLayout()

void QBoxLayoutProto::addLayout ( QLayout *  layout,
int  stretch = 0 
)

◆ addSpacerItem()

void QBoxLayoutProto::addSpacerItem ( QSpacerItem *  spacerItem)

◆ addSpacing()

void QBoxLayoutProto::addSpacing ( int  size)

◆ addStretch()

void QBoxLayoutProto::addStretch ( int  stretch = 0)

◆ addStrut()

void QBoxLayoutProto::addStrut ( int  size)

◆ addWidget()

void QBoxLayoutProto::addWidget ( QWidget widget,
int  stretch = 0,
Qt::Alignment  alignment = 0 
)

◆ contentsRect()

QRect QBoxLayoutProto::contentsRect ( ) const

◆ count()

int QBoxLayoutProto::count ( ) const

◆ direction()

QBoxLayout::Direction QBoxLayoutProto::direction ( ) const

◆ expandingDirections()

Qt::Orientations QBoxLayoutProto::expandingDirections ( ) const

◆ getContentsMargins()

void QBoxLayoutProto::getContentsMargins ( int *  left,
int *  top,
int *  right,
int *  bottom 
) const

◆ indexOf()

int QBoxLayoutProto::indexOf ( QWidget widget) const

◆ insertLayout()

void QBoxLayoutProto::insertLayout ( int  index,
QLayout *  layout,
int  stretch = 0 
)

◆ insertSpacerItem()

void QBoxLayoutProto::insertSpacerItem ( int  index,
QSpacerItem *  spacerItem 
)

◆ insertSpacing()

void QBoxLayoutProto::insertSpacing ( int  index,
int  size 
)

◆ insertStretch()

void QBoxLayoutProto::insertStretch ( int  index,
int  stretch = 0 
)

◆ insertWidget()

void QBoxLayoutProto::insertWidget ( int  index,
QWidget widget,
int  stretch = 0,
Qt::Alignment  alignment = 0 
)

◆ invalidate()

void QBoxLayoutProto::invalidate ( )

◆ isEnabled()

bool QBoxLayoutProto::isEnabled ( ) const

◆ itemAt()

QLayoutItem * QBoxLayoutProto::itemAt ( int  index) const

◆ maximumSize()

QSize QBoxLayoutProto::maximumSize ( ) const

◆ menuBar()

QWidget * QBoxLayoutProto::menuBar ( ) const

◆ minimumSize()

QSize QBoxLayoutProto::minimumSize ( ) const

◆ parentWidget()

QWidget * QBoxLayoutProto::parentWidget ( ) const

◆ removeItem()

void QBoxLayoutProto::removeItem ( QLayoutItem *  item)

◆ removeWidget()

void QBoxLayoutProto::removeWidget ( QWidget widget)

◆ setAlignment() [1/3]

bool QBoxLayoutProto::setAlignment ( QLayout *  l,
Qt::Alignment  alignment 
)

◆ setAlignment() [2/3]

void QBoxLayoutProto::setAlignment ( Qt::Alignment  alignment)

◆ setAlignment() [3/3]

bool QBoxLayoutProto::setAlignment ( QWidget w,
Qt::Alignment  alignment 
)

◆ setContentsMargins()

void QBoxLayoutProto::setContentsMargins ( int  left,
int  top,
int  right,
int  bottom 
)

◆ setDirection()

void QBoxLayoutProto::setDirection ( int  direction)

◆ setEnabled()

void QBoxLayoutProto::setEnabled ( bool  enable)

◆ setMenuBar()

void QBoxLayoutProto::setMenuBar ( QWidget widget)

◆ setStretch()

void QBoxLayoutProto::setStretch ( int  index,
int  stretch 
)

◆ setStretchFactor() [1/2]

bool QBoxLayoutProto::setStretchFactor ( QLayout *  layout,
int  stretch 
)

◆ setStretchFactor() [2/2]

bool QBoxLayoutProto::setStretchFactor ( QWidget widget,
int  stretch 
)

◆ stretch()

int QBoxLayoutProto::stretch ( int  index) const

◆ takeAt()

QLayoutItem * QBoxLayoutProto::takeAt ( int  index)

◆ update()

void QBoxLayoutProto::update ( )

The documentation for this class was generated from the following files:

Generated on Fri Apr 9 2021 xTuple ERP Programmer Reference, Version 6.0.0 doxygen 1.8.17