Qt 4.8
Public Functions | Public Variables | List of all members
QStyleSheetBoxData Struct Reference
Inheritance diagram for QStyleSheetBoxData:
QSharedData

Public Functions

 QStyleSheetBoxData (int *m, int *p, int s)
 
- Public Functions inherited from QSharedData
 QSharedData ()
 Constructs a QSharedData object with a reference count of 0. More...
 
 QSharedData (const QSharedData &)
 Constructs a QSharedData object with reference count 0. More...
 

Public Variables

int margins [4]
 
int paddings [4]
 
int spacing
 
- Public Variables inherited from QSharedData
QAtomicInt ref
 

Detailed Description

Definition at line 409 of file qstylesheetstyle.cpp.

Constructors and Destructors

◆ QStyleSheetBoxData()

QStyleSheetBoxData::QStyleSheetBoxData ( int *  m,
int *  p,
int  s 
)
inline

Definition at line 411 of file qstylesheetstyle.cpp.

411  : spacing(s)
412  {
413  for (int i = 0; i < 4; i++) {
414  margins[i] = m[i];
415  paddings[i] = p[i];
416  }
417  }

Properties

◆ margins

int QStyleSheetBoxData::margins[4]

◆ paddings

int QStyleSheetBoxData::paddings[4]

◆ spacing

int QStyleSheetBoxData::spacing

Definition at line 422 of file qstylesheetstyle.cpp.

Referenced by QStyleSheetStyle::pixelMetric().


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