BPS C++ API  2.24.4
bpsmargins.h File Reference

Public include file for BpsMargins class. More...

#include "bpscore_global.h"
#include <QMetaType>
#include <QVariant>

Go to the source code of this file.

Classes

class  BpsMargins
 This class is used to store margins top, right, bottom and left. More...
 

Functions

BPSCORE_EXPORT QDataStreamoperator<< (QDataStream &aStream, const BpsMargins &aMargins)
 Write the margins to a stream. More...
 
BPSCORE_EXPORT QDebug operator<< (QDebug aDebug, const BpsMargins &aMargins)
 Write the margins to a debug stream. More...
 
BPSCORE_EXPORT QDataStreamoperator>> (QDataStream &aStream, BpsMargins &aMargins)
 Read the margins from a stream. More...
 

Detailed Description

Public include file for BpsMargins class.

Function Documentation

◆ operator<<() [1/2]

BPSCORE_EXPORT QDataStream& operator<< ( QDataStream aStream,
const BpsMargins aMargins 
)

Write the margins to a stream.

Parameters
aStreamThe stream to write to.
aMarginsThe margins object.
Returns
Stream reference.

◆ operator<<() [2/2]

BPSCORE_EXPORT QDebug operator<< ( QDebug  aDebug,
const BpsMargins aMargins 
)

Write the margins to a debug stream.

Parameters
aDebugThe stream to write to.
aMarginsThe margins object.
Returns
Stream reference.

◆ operator>>()

BPSCORE_EXPORT QDataStream& operator>> ( QDataStream aStream,
BpsMargins aMargins 
)

Read the margins from a stream.

Parameters
aStreamThe stream to read from.
aMarginsThe margins object.
Returns
Stream reference.