Qt 4.8
|
#include "qglobal.h"
#include <QtCore/qdebug.h>
#include <QtCore/qnumeric.h>
#include "qgraphicswidget_p.h"
#include "qgraphicslayoutitem_p.h"
#include "qgraphicslayout.h"
#include "qgraphicsscene_p.h"
#include <QtGui/qapplication.h>
#include <QtGui/qgraphicsscene.h>
#include <QtGui/qstyleoption.h>
#include <QtGui/QStyleOptionTitleBar>
#include <QtGui/QGraphicsSceneMouseEvent>
#include <QMacStyle>
#include "moc_qgraphicswidget.cpp"
Go to the source code of this file.
Functions | |
static void | _q_boundGeometryToSizeConstraints (const QRectF &startGeometry, QRectF *rect, Qt::WindowFrameSection section, const QSizeF &min, const QSizeF &max, const QGraphicsWidget *widget) |
static QSizeF | closestAcceptableSize (const QSizeF &proposed, const QGraphicsWidget *widget) |
static qreal | minimumHeightForWidth (qreal width, qreal minh, qreal maxh, const QGraphicsWidget *widget, bool heightForWidth=true) |
Used to calculate the Precondition: widget should support either hfw or wfh. More... | |
static qreal | minimumWidthForHeight (qreal height, qreal minw, qreal maxw, const QGraphicsWidget *widget) |
|
static |
Definition at line 520 of file qgraphicswidget_p.cpp.
Referenced by QGraphicsWidgetPrivate::windowFrameMouseMoveEvent().
|
static |
Definition at line 473 of file qgraphicswidget_p.cpp.
Referenced by _q_boundGeometryToSizeConstraints().
|
static |
Used to calculate the Precondition: widget should support either hfw or wfh.
If heightForWidth is set to false, this function will query the width for height instead. width will then be interpreted as height, minh and maxh will be interpreted as minimum width and maximum width.
Definition at line 435 of file qgraphicswidget_p.cpp.
Referenced by _q_boundGeometryToSizeConstraints(), QLayout::activate(), closestAcceptableSize(), QGridLayoutPrivate::isDirty(), and minimumWidthForHeight().
|
static |
Definition at line 467 of file qgraphicswidget_p.cpp.
Referenced by closestAcceptableSize().