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 295 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 309 of file qqmlvaluetype_p.h.

◆ QQmlMarginsValueType() [3/3]

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

Definition at line 310 of file qqmlvaluetype_p.h.

Member Function Documentation

◆ bottom()

int QQmlMarginsValueType::bottom ( ) const

Definition at line 427 of file qqmlvaluetype.cpp.

◆ left()

int QQmlMarginsValueType::left ( ) const

Definition at line 412 of file qqmlvaluetype.cpp.

◆ right()

int QQmlMarginsValueType::right ( ) const

Definition at line 422 of file qqmlvaluetype.cpp.

◆ setBottom()

void QQmlMarginsValueType::setBottom ( int bottom)

Definition at line 447 of file qqmlvaluetype.cpp.

◆ setLeft()

void QQmlMarginsValueType::setLeft ( int left)

Definition at line 432 of file qqmlvaluetype.cpp.

◆ setRight()

void QQmlMarginsValueType::setRight ( int right)

Definition at line 442 of file qqmlvaluetype.cpp.

◆ setTop()

void QQmlMarginsValueType::setTop ( int top)

Definition at line 437 of file qqmlvaluetype.cpp.

◆ top()

int QQmlMarginsValueType::top ( ) const

Definition at line 417 of file qqmlvaluetype.cpp.

◆ toString()

QString QQmlMarginsValueType::toString ( ) const

Definition at line 405 of file qqmlvaluetype.cpp.

Property Documentation

◆ bottom

int QQmlMarginsValueType::bottom
readwrite

Definition at line 300 of file qqmlvaluetype_p.h.

◆ left

int QQmlMarginsValueType::left
readwrite

◆ right

int QQmlMarginsValueType::right
readwrite

◆ top

int QQmlMarginsValueType::top
readwrite

Definition at line 299 of file qqmlvaluetype_p.h.


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