List of all members | Public Member Functions
QFormLayoutProto Class Reference

#include <qformlayoutproto.h>

Inheritance diagram for QFormLayoutProto:
QObject QScriptable

Public Member Functions

 QFormLayoutProto (QObject *parent)
 
Q_INVOKABLE bool activate ()
 
Q_INVOKABLE void addItem (QLayoutItem *item)
 
Q_INVOKABLE void addRow (const QString &labelText, QObject *field)
 
Q_INVOKABLE void addRow (QObject *object)
 
Q_INVOKABLE void addRow (QWidget *label, QObject *field)
 
Q_INVOKABLE void addWidget (QWidget *widget)
 
Q_INVOKABLE QRect contentsRect () const
 
Q_INVOKABLE int count () const
 
Q_INVOKABLE Qt::Orientations expandingDirections () const
 
Q_INVOKABLE QFormLayout::FieldGrowthPolicy fieldGrowthPolicy () const
 
Q_INVOKABLE Qt::Alignment formAlignment () const
 
Q_INVOKABLE void getContentsMargins (int *left, int *top, int *right, int *bottom) const
 
Q_INVOKABLE void getItemPosition (int index, int *rowPtr, QFormLayout::ItemRole *rolePtr) const
 
Q_INVOKABLE void getLayoutPosition (QLayout *layout, int *rowPtr, QFormLayout::ItemRole *rolePtr) const
 
Q_INVOKABLE void getWidgetPosition (QWidget *widget, int *rowPtr, QFormLayout::ItemRole *rolePtr) const
 
Q_INVOKABLE int horizontalSpacing () const
 
Q_INVOKABLE int indexOf (QWidget *widget) const
 
Q_INVOKABLE void insertRow (int row, const QString &labelText, QLayout *field)
 
Q_INVOKABLE void insertRow (int row, const QString &labelText, QWidget *field)
 
Q_INVOKABLE void insertRow (int row, QLayout *layout)
 
Q_INVOKABLE void insertRow (int row, QWidget *label, QLayout *field)
 
Q_INVOKABLE void insertRow (int row, QWidget *label, QWidget *field)
 
Q_INVOKABLE void insertRow (int row, QWidget *widget)
 
Q_INVOKABLE void invalidate ()
 
Q_INVOKABLE bool isEmpty () const
 
Q_INVOKABLE bool isEnabled () const
 
Q_INVOKABLE QLayoutItem * itemAt (int index) const
 
Q_INVOKABLE QLayoutItem * itemAt (int index, QFormLayout::ItemRole role) const
 
Q_INVOKABLE Qt::Alignment labelAlignment () const
 
Q_INVOKABLE QWidgetlabelForField (QLayout *field) const
 
Q_INVOKABLE QWidgetlabelForField (QWidget *field) 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 int rowCount () const
 
Q_INVOKABLE QFormLayout::RowWrapPolicy rowWrapPolicy () const
 
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 setEnabled (bool enable)
 
Q_INVOKABLE void setFieldGrowthPolicy (QFormLayout::FieldGrowthPolicy policy)
 
Q_INVOKABLE void setFormAlignment (Qt::Alignment alignment)
 
Q_INVOKABLE void setHorizontalSpacing (int spacing)
 
Q_INVOKABLE void setItem (int row, QFormLayout::ItemRole role, QLayoutItem *item)
 
Q_INVOKABLE void setLabelAlignment (Qt::Alignment alignment)
 
Q_INVOKABLE void setLayout (int row, QFormLayout::ItemRole role, QLayout *layout)
 
Q_INVOKABLE void setMenuBar (QWidget *widget)
 
Q_INVOKABLE void setRowWrapPolicy (QFormLayout::RowWrapPolicy policy)
 
Q_INVOKABLE void setSpacing (int spacing)
 
Q_INVOKABLE void setVerticalSpacing (int spacing)
 
Q_INVOKABLE void setWidget (int row, QFormLayout::ItemRole role, QWidget *widget)
 
Q_INVOKABLE int spacing () const
 
Q_INVOKABLE QLayoutItem * takeAt (int index)
 
Q_INVOKABLE QString toString () const
 
Q_INVOKABLE void update ()
 
Q_INVOKABLE int verticalSpacing () const
 

Constructor & Destructor Documentation

◆ QFormLayoutProto()

QFormLayoutProto::QFormLayoutProto ( QObject parent)

Member Function Documentation

◆ activate()

bool QFormLayoutProto::activate ( )

◆ addItem()

void QFormLayoutProto::addItem ( QLayoutItem *  item)

◆ addRow() [1/3]

void QFormLayoutProto::addRow ( const QString &  labelText,
QObject field 
)

◆ addRow() [2/3]

void QFormLayoutProto::addRow ( QObject object)

◆ addRow() [3/3]

void QFormLayoutProto::addRow ( QWidget label,
QObject field 
)

◆ addWidget()

void QFormLayoutProto::addWidget ( QWidget widget)

◆ contentsRect()

QRect QFormLayoutProto::contentsRect ( ) const

◆ count()

int QFormLayoutProto::count ( ) const

◆ expandingDirections()

Qt::Orientations QFormLayoutProto::expandingDirections ( ) const

◆ fieldGrowthPolicy()

QFormLayout::FieldGrowthPolicy QFormLayoutProto::fieldGrowthPolicy ( ) const

◆ formAlignment()

Qt::Alignment QFormLayoutProto::formAlignment ( ) const

◆ getContentsMargins()

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

◆ getItemPosition()

void QFormLayoutProto::getItemPosition ( int  index,
int *  rowPtr,
QFormLayout::ItemRole *  rolePtr 
) const

◆ getLayoutPosition()

void QFormLayoutProto::getLayoutPosition ( QLayout *  layout,
int *  rowPtr,
QFormLayout::ItemRole *  rolePtr 
) const

◆ getWidgetPosition()

void QFormLayoutProto::getWidgetPosition ( QWidget widget,
int *  rowPtr,
QFormLayout::ItemRole *  rolePtr 
) const

◆ horizontalSpacing()

int QFormLayoutProto::horizontalSpacing ( ) const

◆ indexOf()

int QFormLayoutProto::indexOf ( QWidget widget) const

◆ insertRow() [1/6]

void QFormLayoutProto::insertRow ( int  row,
const QString &  labelText,
QLayout *  field 
)

◆ insertRow() [2/6]

void QFormLayoutProto::insertRow ( int  row,
const QString &  labelText,
QWidget field 
)

◆ insertRow() [3/6]

void QFormLayoutProto::insertRow ( int  row,
QLayout *  layout 
)

◆ insertRow() [4/6]

void QFormLayoutProto::insertRow ( int  row,
QWidget label,
QLayout *  field 
)

◆ insertRow() [5/6]

void QFormLayoutProto::insertRow ( int  row,
QWidget label,
QWidget field 
)

◆ insertRow() [6/6]

void QFormLayoutProto::insertRow ( int  row,
QWidget widget 
)

◆ invalidate()

void QFormLayoutProto::invalidate ( )

◆ isEmpty()

bool QFormLayoutProto::isEmpty ( ) const

◆ isEnabled()

bool QFormLayoutProto::isEnabled ( ) const

◆ itemAt() [1/2]

QLayoutItem * QFormLayoutProto::itemAt ( int  index) const

◆ itemAt() [2/2]

QLayoutItem * QFormLayoutProto::itemAt ( int  index,
QFormLayout::ItemRole  role 
) const

◆ labelAlignment()

Qt::Alignment QFormLayoutProto::labelAlignment ( ) const

◆ labelForField() [1/2]

QWidget * QFormLayoutProto::labelForField ( QLayout *  field) const

◆ labelForField() [2/2]

QWidget * QFormLayoutProto::labelForField ( QWidget field) const

◆ maximumSize()

QSize QFormLayoutProto::maximumSize ( ) const

◆ menuBar()

QWidget * QFormLayoutProto::menuBar ( ) const

◆ minimumSize()

QSize QFormLayoutProto::minimumSize ( ) const

◆ parentWidget()

QWidget * QFormLayoutProto::parentWidget ( ) const

◆ removeItem()

void QFormLayoutProto::removeItem ( QLayoutItem *  item)

◆ removeWidget()

void QFormLayoutProto::removeWidget ( QWidget widget)

◆ rowCount()

int QFormLayoutProto::rowCount ( ) const

◆ rowWrapPolicy()

QFormLayout::RowWrapPolicy QFormLayoutProto::rowWrapPolicy ( ) const

◆ setAlignment() [1/3]

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

◆ setAlignment() [2/3]

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

◆ setAlignment() [3/3]

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

◆ setContentsMargins()

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

◆ setEnabled()

void QFormLayoutProto::setEnabled ( bool  enable)

◆ setFieldGrowthPolicy()

void QFormLayoutProto::setFieldGrowthPolicy ( QFormLayout::FieldGrowthPolicy  policy)

◆ setFormAlignment()

void QFormLayoutProto::setFormAlignment ( Qt::Alignment  alignment)

◆ setHorizontalSpacing()

void QFormLayoutProto::setHorizontalSpacing ( int  spacing)

◆ setItem()

void QFormLayoutProto::setItem ( int  row,
QFormLayout::ItemRole  role,
QLayoutItem *  item 
)

◆ setLabelAlignment()

void QFormLayoutProto::setLabelAlignment ( Qt::Alignment  alignment)

◆ setLayout()

void QFormLayoutProto::setLayout ( int  row,
QFormLayout::ItemRole  role,
QLayout *  layout 
)

◆ setMenuBar()

void QFormLayoutProto::setMenuBar ( QWidget widget)

◆ setRowWrapPolicy()

void QFormLayoutProto::setRowWrapPolicy ( QFormLayout::RowWrapPolicy  policy)

◆ setSpacing()

void QFormLayoutProto::setSpacing ( int  spacing)

◆ setVerticalSpacing()

void QFormLayoutProto::setVerticalSpacing ( int  spacing)

◆ setWidget()

void QFormLayoutProto::setWidget ( int  row,
QFormLayout::ItemRole  role,
QWidget widget 
)

◆ spacing()

int QFormLayoutProto::spacing ( ) const

◆ takeAt()

QLayoutItem * QFormLayoutProto::takeAt ( int  index)

◆ toString()

QString QFormLayoutProto::toString ( ) const

◆ update()

void QFormLayoutProto::update ( )

◆ verticalSpacing()

int QFormLayoutProto::verticalSpacing ( ) const

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