QSize

#include <QtCore/QSize>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QSize


Overview

Public Functions Index

QSize ()
QSize (int w, int h)
QSizeboundedTo (const QSize &) const
QSizeexpandedTo (const QSize &) const
intheight () const
boolisEmpty () const
boolisNull () const
boolisValid () const
QSize &operator*= (qreal c)
QSize &operator+= (const QSize &)
QSize &operator-= (const QSize &)
QSize &operator/= (qreal c)
int &rheight ()
int &rwidth ()
voidscale (int w, int h, Qt::AspectRatioMode mode)
voidscale (const QSize &s, Qt::AspectRatioMode mode)
voidsetHeight (int h)
voidsetWidth (int w)
voidtranspose ()
intwidth () const

Public Functions

QSize ()

QSize (
  • intw,
  • inth )

QSize boundedTo (

QSize expandedTo (

int height ()

bool isEmpty ()

bool isNull ()

bool isValid ()

QSize & operator*= (
  • qrealc)

QSize & operator+= (

QSize & operator-= (

QSize & operator/= (
  • qrealc)

int & rheight ()

int & rwidth ()

void scale (
  • intw,
  • inth,
  • Qt::AspectRatioModemode )

void scale (
  • const QSize &s,
  • Qt::AspectRatioModemode )

void setHeight (
  • inth)

void setWidth (
  • intw)

void transpose ()

int width ()

Last modified: 2015-07-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus