Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QQmlMarginsValueType Struct Reference

#include <qqmlvaluetype_p.h>

Inheritance diagram for QQmlMarginsValueType:
Collaboration diagram for QQmlMarginsValueType:

Public Member Functions

 QQmlMarginsValueType ()=default
Q_INVOKABLE QQmlMarginsValueType (const QMargins &margins)
Q_INVOKABLE QQmlMarginsValueType (const QMarginsF &margins)
Q_INVOKABLE QString toString () const
int left () const
int right () const
int top () const
int bottom () const
void setLeft (int)
void setRight (int)
void setTop (int)
void setBottom (int)

Properties

int left
int right
int top
int bottom

Additional Inherited Members

Detailed Description

Definition at line 294 of file qqmlvaluetype_p.h.

Constructor & Destructor Documentation

◆ QQmlMarginsValueType() [1/3]

QQmlMarginsValueType::QQmlMarginsValueType ( )
default

◆ QQmlMarginsValueType() [2/3]

Q_INVOKABLE QQmlMarginsValueType::QQmlMarginsValueType ( const QMargins & margins)
inline

Definition at line 308 of file qqmlvaluetype_p.h.

◆ QQmlMarginsValueType() [3/3]

Q_INVOKABLE QQmlMarginsValueType::QQmlMarginsValueType ( const QMarginsF & margins)
inline

Definition at line 309 of file qqmlvaluetype_p.h.

Member Function Documentation

◆ bottom()

int QQmlMarginsValueType::bottom ( ) const

Definition at line 426 of file qqmlvaluetype.cpp.

◆ left()

int QQmlMarginsValueType::left ( ) const

Definition at line 411 of file qqmlvaluetype.cpp.

◆ right()

int QQmlMarginsValueType::right ( ) const

Definition at line 421 of file qqmlvaluetype.cpp.

◆ setBottom()

void QQmlMarginsValueType::setBottom ( int bottom)

Definition at line 446 of file qqmlvaluetype.cpp.

◆ setLeft()

void QQmlMarginsValueType::setLeft ( int left)

Definition at line 431 of file qqmlvaluetype.cpp.

◆ setRight()

void QQmlMarginsValueType::setRight ( int right)

Definition at line 441 of file qqmlvaluetype.cpp.

◆ setTop()

void QQmlMarginsValueType::setTop ( int top)

Definition at line 436 of file qqmlvaluetype.cpp.

◆ top()

int QQmlMarginsValueType::top ( ) const

Definition at line 416 of file qqmlvaluetype.cpp.

◆ toString()

QString QQmlMarginsValueType::toString ( ) const

Definition at line 404 of file qqmlvaluetype.cpp.

Property Documentation

◆ bottom

int QQmlMarginsValueType::bottom
readwrite

Definition at line 299 of file qqmlvaluetype_p.h.

◆ left

int QQmlMarginsValueType::left
readwrite

◆ right

int QQmlMarginsValueType::right
readwrite

◆ top

int QQmlMarginsValueType::top
readwrite

Definition at line 298 of file qqmlvaluetype_p.h.


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