<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.5.0_09) on Tue Aug 07 16:57:43 CEST 2007 --> <TITLE> QSizeF </TITLE> <META NAME="keywords" CONTENT="com.trolltech.qt.core.QSizeF class"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="QSizeF"; } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/core/QSocketNotifier.html" title="class in com.trolltech.qt.core"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/trolltech/qt/core/QSizeF.html" target="_top"><B>FRAMES</B></A> <A HREF="QSizeF.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> com.trolltech.qt.core</FONT> <BR> Class QSizeF</H2> <PRE> java.lang.Object <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">com.trolltech.qt.QSignalEmitter</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">com.trolltech.qt.QtJambiObject</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.core.QSizeF</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></DD> </DL> <HR> <DL> <DT><PRE>public class <B>QSizeF</B><DT>extends <A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></DL> </PRE> <P> <p>The <a href="QSizeF.html#QSizeF()"><tt>QSizeF</tt></a> class defines the size of a two-dimensional object using floating point precision.</p> <p>A size is specified by a <a href="QSizeF.html#width()"><tt>width</tt></a> and a <a href="QSizeF.html#height()"><tt>height</tt></a>. It can be set in the constructor and changed using the <a href="QSizeF.html#setWidth(double)"><tt>setWidth</tt></a>, <a href="QSizeF.html#setHeight(double)"><tt>setHeight</tt></a>, or <a href="QSizeF.html#scale(com.trolltech.qt.core.QSizeF, com.trolltech.qt.core.Qt.AspectRatioMode)"><tt>scale</tt></a> functions, or using arithmetic operators. A size can also be manipulated directly by retrieving references to the width and height using the rwidth() and rheight() functions. Finally, the width and height can be swapped using the <a href="QSizeF.html#transpose()"><tt>transpose</tt></a> function.</p> <p>The <a href="QSizeF.html#isValid()"><tt>isValid</tt></a> function determines if a size is valid. A valid size has both width and height greater than or equal to zero. The <a href="QSizeF.html#isEmpty()"><tt>isEmpty</tt></a> function returns true if either of the width and height is <i>less</i> than (or equal to) zero, while the <a href="QSizeF.html#isNull()"><tt>isNull</tt></a> function returns true only if both the width and the height is zero.</p> <p>Use the <a href="QSizeF.html#expandedTo(com.trolltech.qt.core.QSizeF)"><tt>expandedTo</tt></a> function to retrieve a size which holds the maximum height and width of this size and a given size. Similarly, the <a href="QSizeF.html#boundedTo(com.trolltech.qt.core.QSizeF)"><tt>boundedTo</tt></a> function returns a size which holds the minimum height and width of this size and a given size.</p> <p>The <a href="QSizeF.html#QSizeF()"><tt>QSizeF</tt></a> class also provides the <a href="QSizeF.html#toSize()"><tt>toSize</tt></a> function returning a <a href="QSize.html"><tt>QSize</tt></a> copy of this size, constructed by rounding the width and height to the nearest integers.</p> <p><a href="QSizeF.html#QSizeF()"><tt>QSizeF</tt></a> objects can be streamed as well as compared.</p> <P> <P> <DL> <DT><B>See Also:</B><DD><a href="QSize.html"><tt>QSize</tt></a>, <a href="QPointF.html"><tt>QPointF</tt></a>, <a href="QRectF.html"><tt>QRectF</tt></a></DL> <HR> <P> <!-- ======== NESTED CLASS SUMMARY ======== --> <A NAME="nested_class_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Nested Class Summary</B></FONT></TH> </TR> </TABLE> <A NAME="nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">B</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">C</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">D</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">E</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">F</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">G</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">H</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">H</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">I</A>></CODE></TD> </TR> </TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QSizeF.html#QSizeF()">QSizeF</A></B>()</CODE> <BR> Constructs an invalid size.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QSizeF.html#QSizeF(double, double)">QSizeF</A></B>(double w, double h)</CODE> <BR> Constructs a size with the given <tt>w</tt> and <tt>h</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QSizeF.html#QSizeF(com.trolltech.qt.core.QSize)">QSizeF</A></B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> sz)</CODE> <BR> Constructs a size with floating point accuracy from the given <tt>sz</tt>.</TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/core/QSizeF.html" title="class in com.trolltech.qt.core">QSizeF</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QSizeF.html#add(com.trolltech.qt.core.QSizeF)">add</A></B>(<A HREF="../../../../com/trolltech/qt/core/QSizeF.html" title="class in com.trolltech.qt.core">QSizeF</A> s)</CODE> <BR> Adds <tt>s</tt> to this QSizeF and returns the result.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/core/QSizeF.html" title="class in com.trolltech.qt.core">QSizeF</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QSizeF.html#boundedTo(com.trolltech.qt.core.QSizeF)">boundedTo</A></B>(<A HREF="../../../../com/trolltech/qt/core/QSizeF.html" title="class in com.trolltech.qt.core">QSizeF</A> arg__1)</CODE> <BR> Returns a size holding the minimum width and height of this size and the given <tt>arg__1</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/core/QSizeF.html" title="class in com.trolltech.qt.core">QSizeF</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QSizeF.html#divide(double)">divide</A></B>(double d)</CODE> <BR> Divides this QSizeF by the divisor <tt>d</tt> and returns the result.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QSizeF.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object other)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/core/QSizeF.html" title="class in com.trolltech.qt.core">QSizeF</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QSizeF.html#expandedTo(com.trolltech.qt.core.QSizeF)">expandedTo</A></B>(<A HREF="../../../../com/trolltech/qt/core/QSizeF.html" title="class in com.trolltech.qt.core">QSizeF</A> arg__1)</CODE> <BR> Returns a size holding the maximum width and height of this size and the given <tt>arg__1</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../com/trolltech/qt/core/QSizeF.html" title="class in com.trolltech.qt.core">QSizeF</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QSizeF.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> nativePointer)</CODE> <BR> This function returns the QSizeF instance pointed to by nativePointer</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QSizeF.html#height()">height</A></B>()</CODE> <BR> Returns the height.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QSizeF.html#isEmpty()">isEmpty</A></B>()</CODE> <BR> Returns true if either of the width and height is less than or equal to 0; otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QSizeF.html#isNull()">isNull</A></B>()</CODE> <BR> Returns true if both the width and height is 0; otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QSizeF.html#isValid()">isValid</A></B>()</CODE> <BR> Returns true if both the width and height is equal to or greater than 0; otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/core/QSizeF.html" title="class in com.trolltech.qt.core">QSizeF</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QSizeF.html#multiply(double)">multiply</A></B>(double d)</CODE> <BR> Multiplies this QSizeF by the factor <tt>d</tt> and return the result.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QSizeF.html#nativePointerArray(com.trolltech.qt.core.QSizeF[])">nativePointerArray</A></B>(<A HREF="../../../../com/trolltech/qt/core/QSizeF.html" title="class in com.trolltech.qt.core">QSizeF</A>[] array)</CODE> <BR> This function returns a QNativePointer that is pointing to the specified QSizeF array.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QSizeF.html#readFrom(com.trolltech.qt.core.QDataStream)">readFrom</A></B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A> arg__1)</CODE> <BR> Reads a QSizeF from arg__1.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QSizeF.html#scale(double, double, com.trolltech.qt.core.Qt.AspectRatioMode)">scale</A></B>(double w, double h, <A HREF="../../../../com/trolltech/qt/core/Qt.AspectRatioMode.html" title="enum in com.trolltech.qt.core">Qt.AspectRatioMode</A> mode)</CODE> <BR> Scales the size to a rectangle with the given <tt>w</tt> and <tt>h</tt>, according to the specified <tt>mode</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QSizeF.html#scale(com.trolltech.qt.core.QSizeF, com.trolltech.qt.core.Qt.AspectRatioMode)">scale</A></B>(<A HREF="../../../../com/trolltech/qt/core/QSizeF.html" title="class in com.trolltech.qt.core">QSizeF</A> s, <A HREF="../../../../com/trolltech/qt/core/Qt.AspectRatioMode.html" title="enum in com.trolltech.qt.core">Qt.AspectRatioMode</A> mode)</CODE> <BR> Scales the size to a rectangle with the given <tt>s</tt>, according to the specified <tt>mode</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QSizeF.html#setHeight(double)">setHeight</A></B>(double h)</CODE> <BR> Sets the height to the given <tt>h</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QSizeF.html#setWidth(double)">setWidth</A></B>(double w)</CODE> <BR> Sets the width to the given <tt>w</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/core/QSizeF.html" title="class in com.trolltech.qt.core">QSizeF</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QSizeF.html#subtract(com.trolltech.qt.core.QSizeF)">subtract</A></B>(<A HREF="../../../../com/trolltech/qt/core/QSizeF.html" title="class in com.trolltech.qt.core">QSizeF</A> s)</CODE> <BR> Subtracts <tt>s</tt> from this QSizeF and returns the result.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QSizeF.html#toSize()">toSize</A></B>()</CODE> <BR> Returns an integer based copy of this size.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QSizeF.html#transpose()">transpose</A></B>()</CODE> <BR> Swaps the width and height values.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QSizeF.html#width()">width</A></B>()</CODE> <BR> Returns the width.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QSizeF.html#writeTo(com.trolltech.qt.core.QDataStream)">writeTo</A></B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A> arg__1)</CODE> <BR> Writes thisQSizeF to arg__1.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiObject"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiObject.html#dispose()">dispose</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#disposed()">disposed</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#finalize()">finalize</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#reassignNativeResources(com.trolltech.qt.QtJambiObject, java.lang.Class)">reassignNativeResources</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String, int)">tr</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#blockSignals(boolean)">blockSignals</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect()">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect(java.lang.Object)">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalsBlocked()">signalsBlocked</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalSender()">signalSender</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#thread()">thread</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>clone, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiInterface"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from interface com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#disableGarbageCollection()">disableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativeId()">nativeId</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativePointer()">nativePointer</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#reenableGarbageCollection()">reenableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#setJavaOwnership()">setJavaOwnership</A></CODE></TD> </TR> </TABLE> <P> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TH> </TR> </TABLE> <A NAME="QSizeF(com.trolltech.qt.core.QSize)"><!-- --></A><H3> QSizeF</H3> <PRE> public <B>QSizeF</B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> sz)</PRE> <DL> <DD><p>Constructs a size with floating point accuracy from the given <tt>sz</tt>.</p> <P> <DL> <DT><B>See Also:</B><DD><a href="QSizeF.html#toSize()"><tt>toSize</tt></a></DL> </DL> <HR> <A NAME="QSizeF(double, double)"><!-- --></A><H3> QSizeF</H3> <PRE> public <B>QSizeF</B>(double w, double h)</PRE> <DL> <DD><p>Constructs a size with the given <tt>w</tt> and <tt>h</tt>.</p> <P> </DL> <HR> <A NAME="QSizeF()"><!-- --></A><H3> QSizeF</H3> <PRE> public <B>QSizeF</B>()</PRE> <DL> <DD><p>Constructs an invalid size.</p> <P> <DL> <DT><B>See Also:</B><DD><a href="QSizeF.html#isValid()"><tt>isValid</tt></a></DL> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="boundedTo(com.trolltech.qt.core.QSizeF)"><!-- --></A><H3> boundedTo</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/core/QSizeF.html" title="class in com.trolltech.qt.core">QSizeF</A> <B>boundedTo</B>(<A HREF="../../../../com/trolltech/qt/core/QSizeF.html" title="class in com.trolltech.qt.core">QSizeF</A> arg__1)</PRE> <DL> <DD><p>Returns a size holding the minimum width and height of this size and the given <tt>arg__1</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QSizeF.html#expandedTo(com.trolltech.qt.core.QSizeF)"><tt>expandedTo</tt></a>, <a href="QSizeF.html#scale(com.trolltech.qt.core.QSizeF, com.trolltech.qt.core.Qt.AspectRatioMode)"><tt>scale</tt></a></DL> </DD> </DL> <HR> <A NAME="expandedTo(com.trolltech.qt.core.QSizeF)"><!-- --></A><H3> expandedTo</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/core/QSizeF.html" title="class in com.trolltech.qt.core">QSizeF</A> <B>expandedTo</B>(<A HREF="../../../../com/trolltech/qt/core/QSizeF.html" title="class in com.trolltech.qt.core">QSizeF</A> arg__1)</PRE> <DL> <DD><p>Returns a size holding the maximum width and height of this size and the given <tt>arg__1</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QSizeF.html#boundedTo(com.trolltech.qt.core.QSizeF)"><tt>boundedTo</tt></a>, <a href="QSizeF.html#scale(com.trolltech.qt.core.QSizeF, com.trolltech.qt.core.Qt.AspectRatioMode)"><tt>scale</tt></a></DL> </DD> </DL> <HR> <A NAME="height()"><!-- --></A><H3> height</H3> <PRE> public final double <B>height</B>()</PRE> <DL> <DD><p>Returns the height.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QSizeF.html#width()"><tt>width</tt></a>, <a href="QSizeF.html#setHeight(double)"><tt>setHeight</tt></a></DL> </DD> </DL> <HR> <A NAME="isEmpty()"><!-- --></A><H3> isEmpty</H3> <PRE> public final boolean <B>isEmpty</B>()</PRE> <DL> <DD><p>Returns true if either of the width and height is less than or equal to 0; otherwise returns false.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QSizeF.html#isNull()"><tt>isNull</tt></a>, <a href="QSizeF.html#isValid()"><tt>isValid</tt></a></DL> </DD> </DL> <HR> <A NAME="isNull()"><!-- --></A><H3> isNull</H3> <PRE> public final boolean <B>isNull</B>()</PRE> <DL> <DD><p>Returns true if both the width and height is 0; otherwise returns false.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QSizeF.html#isValid()"><tt>isValid</tt></a>, <a href="QSizeF.html#isEmpty()"><tt>isEmpty</tt></a></DL> </DD> </DL> <HR> <A NAME="isValid()"><!-- --></A><H3> isValid</H3> <PRE> public final boolean <B>isValid</B>()</PRE> <DL> <DD><p>Returns true if both the width and height is equal to or greater than 0; otherwise returns false.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QSizeF.html#isNull()"><tt>isNull</tt></a>, <a href="QSizeF.html#isEmpty()"><tt>isEmpty</tt></a></DL> </DD> </DL> <HR> <A NAME="writeTo(com.trolltech.qt.core.QDataStream)"><!-- --></A><H3> writeTo</H3> <PRE> public final void <B>writeTo</B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A> arg__1)</PRE> <DL> <DD>Writes thisQSizeF to arg__1. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="readFrom(com.trolltech.qt.core.QDataStream)"><!-- --></A><H3> readFrom</H3> <PRE> public final void <B>readFrom</B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A> arg__1)</PRE> <DL> <DD>Reads a QSizeF from arg__1. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="scale(double, double, com.trolltech.qt.core.Qt.AspectRatioMode)"><!-- --></A><H3> scale</H3> <PRE> public final void <B>scale</B>(double w, double h, <A HREF="../../../../com/trolltech/qt/core/Qt.AspectRatioMode.html" title="enum in com.trolltech.qt.core">Qt.AspectRatioMode</A> mode)</PRE> <DL> <DD><p>Scales the size to a rectangle with the given <tt>w</tt> and <tt>h</tt>, according to the specified <tt>mode</tt>.</p> <ul> <li>If <tt>mode</tt> is Qt::IgnoreAspectRatio, the size is set to (<tt>w</tt>, <tt>h</tt>).</li> <li>If <tt>mode</tt> is Qt::KeepAspectRatio, the current size is scaled to a rectangle as large as possible inside (<tt>w</tt>, <tt>h</tt>), preserving the aspect ratio.</li> <li>If <tt>mode</tt> is Qt::KeepAspectRatioByExpanding, the current size is scaled to a rectangle as small as possible outside (<tt>w</tt>, <tt>h</tt>), preserving the aspect ratio.</li> </ul> <p>Example:</p> <pre> QSizeF t1(10, 12); t1.scale(60, 60, Qt::IgnoreAspectRatio); <span class="comment"> // t1 is (60, 60)</span> QSizeF t2(10, 12); t2.scale(60, 60, Qt::KeepAspectRatio); <span class="comment"> // t2 is (50, 60)</span> QSizeF t3(10, 12); t3.scale(60, 60, Qt::KeepAspectRatioByExpanding); <span class="comment"> // t3 is (60, 72)</span></pre> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QSizeF.html#setWidth(double)"><tt>setWidth</tt></a>, <a href="QSizeF.html#setHeight(double)"><tt>setHeight</tt></a></DL> </DD> </DL> <HR> <A NAME="scale(com.trolltech.qt.core.QSizeF, com.trolltech.qt.core.Qt.AspectRatioMode)"><!-- --></A><H3> scale</H3> <PRE> public final void <B>scale</B>(<A HREF="../../../../com/trolltech/qt/core/QSizeF.html" title="class in com.trolltech.qt.core">QSizeF</A> s, <A HREF="../../../../com/trolltech/qt/core/Qt.AspectRatioMode.html" title="enum in com.trolltech.qt.core">Qt.AspectRatioMode</A> mode)</PRE> <DL> <DD><p>Scales the size to a rectangle with the given <tt>s</tt>, according to the specified <tt>mode</tt>.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setHeight(double)"><!-- --></A><H3> setHeight</H3> <PRE> public final void <B>setHeight</B>(double h)</PRE> <DL> <DD><p>Sets the height to the given <tt>h</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QSizeF.html#height()"><tt>height</tt></a>, <tt>rheight</tt>, <a href="QSizeF.html#setWidth(double)"><tt>setWidth</tt></a></DL> </DD> </DL> <HR> <A NAME="setWidth(double)"><!-- --></A><H3> setWidth</H3> <PRE> public final void <B>setWidth</B>(double w)</PRE> <DL> <DD><p>Sets the width to the given <tt>w</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QSizeF.html#width()"><tt>width</tt></a>, <tt>rwidth</tt>, <a href="QSizeF.html#setHeight(double)"><tt>setHeight</tt></a></DL> </DD> </DL> <HR> <A NAME="toSize()"><!-- --></A><H3> toSize</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> <B>toSize</B>()</PRE> <DL> <DD><p>Returns an integer based copy of this size.</p> <p>Note that the coordinates in the returned size will be rounded to the nearest integer.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QSizeF.html#QSizeF()"><tt>QSizeF</tt></a></DL> </DD> </DL> <HR> <A NAME="transpose()"><!-- --></A><H3> transpose</H3> <PRE> public final void <B>transpose</B>()</PRE> <DL> <DD><p>Swaps the width and height values.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QSizeF.html#setWidth(double)"><tt>setWidth</tt></a>, <a href="QSizeF.html#setHeight(double)"><tt>setHeight</tt></a></DL> </DD> </DL> <HR> <A NAME="width()"><!-- --></A><H3> width</H3> <PRE> public final double <B>width</B>()</PRE> <DL> <DD><p>Returns the width.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QSizeF.html#height()"><tt>height</tt></a>, <a href="QSizeF.html#setWidth(double)"><tt>setWidth</tt></a></DL> </DD> </DL> <HR> <A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3> fromNativePointer</H3> <PRE> public static <A HREF="../../../../com/trolltech/qt/core/QSizeF.html" title="class in com.trolltech.qt.core">QSizeF</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> nativePointer)</PRE> <DL> <DD>This function returns the QSizeF instance pointed to by nativePointer <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>nativePointer</CODE> - the QNativePointer of which object should be returned.</DL> </DD> </DL> <HR> <A NAME="nativePointerArray(com.trolltech.qt.core.QSizeF[])"><!-- --></A><H3> nativePointerArray</H3> <PRE> public static <A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> <B>nativePointerArray</B>(<A HREF="../../../../com/trolltech/qt/core/QSizeF.html" title="class in com.trolltech.qt.core">QSizeF</A>[] array)</PRE> <DL> <DD>This function returns a QNativePointer that is pointing to the specified QSizeF array. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>array</CODE> - the array that the returned pointer will point to. <DT><B>Returns:</B><DD>a QNativePointer that is pointing to the specified array.</DL> </DD> </DL> <HR> <A NAME="equals(java.lang.Object)"><!-- --></A><H3> equals</H3> <PRE> public boolean <B>equals</B>(java.lang.Object other)</PRE> <DL> <DD> <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="multiply(double)"><!-- --></A><H3> multiply</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/core/QSizeF.html" title="class in com.trolltech.qt.core">QSizeF</A> <B>multiply</B>(double d)</PRE> <DL> <DD>Multiplies this QSizeF by the factor <tt>d</tt> and return the result. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="divide(double)"><!-- --></A><H3> divide</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/core/QSizeF.html" title="class in com.trolltech.qt.core">QSizeF</A> <B>divide</B>(double d)</PRE> <DL> <DD>Divides this QSizeF by the divisor <tt>d</tt> and returns the result. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="add(com.trolltech.qt.core.QSizeF)"><!-- --></A><H3> add</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/core/QSizeF.html" title="class in com.trolltech.qt.core">QSizeF</A> <B>add</B>(<A HREF="../../../../com/trolltech/qt/core/QSizeF.html" title="class in com.trolltech.qt.core">QSizeF</A> s)</PRE> <DL> <DD>Adds <tt>s</tt> to this QSizeF and returns the result. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="subtract(com.trolltech.qt.core.QSizeF)"><!-- --></A><H3> subtract</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/core/QSizeF.html" title="class in com.trolltech.qt.core">QSizeF</A> <B>subtract</B>(<A HREF="../../../../com/trolltech/qt/core/QSizeF.html" title="class in com.trolltech.qt.core">QSizeF</A> s)</PRE> <DL> <DD>Subtracts <tt>s</tt> from this QSizeF and returns the result. <P> <DD><DL> </DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/core/QSocketNotifier.html" title="class in com.trolltech.qt.core"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/trolltech/qt/core/QSizeF.html" target="_top"><B>FRAMES</B></A> <A HREF="QSizeF.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>