KChart
9#include "KTextDocument.h"
11#include "KChartMath_p.h"
14#include <QAbstractTextDocumentLayout>
22KTextDocument::KTextDocument(
QObject * p )
40KTextDocument::~KTextDocument() {}
43QSize KTextDocument::sizeHint()
46 (void)minimumSizeHint();
50QSize KTextDocument::minimumSizeHint()
64 return mMinimumSizeHint;
67 mSizeHint = sizeForWidth( -1 );
71 sz.rwidth() = sizeForWidth( 0 ).width();
72 sz.rheight() = sizeForWidth( 32000 ).height();
73 if ( mSizeHint.height() < sz.height())
74 sz.rheight() = mSizeHint.height();
76 mMinimumSizeHint = sz;
81QSize KTextDocument::sizeForWidth(
int w)
virtual QSizeF documentSize() const const=0
QSize toSize() const const
QAbstractTextDocumentLayout * documentLayout() const const
void setPageSize(const QSizeF &size)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:24 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.