diff options
Diffstat (limited to 'doc/man/man3/tqsizepolicy.3qt')
-rw-r--r-- | doc/man/man3/tqsizepolicy.3qt | 102 |
1 files changed, 51 insertions, 51 deletions
diff --git a/doc/man/man3/tqsizepolicy.3qt b/doc/man/man3/tqsizepolicy.3qt index 7dd60fc5b..96fae066b 100644 --- a/doc/man/man3/tqsizepolicy.3qt +++ b/doc/man/man3/tqsizepolicy.3qt @@ -1,5 +1,5 @@ '\" t -.TH QSizePolicy 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQSizePolicy 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,9 +7,9 @@ .ad l .nh .SH NAME -QSizePolicy \- Layout attribute describing horizontal and vertical resizing policy +TQSizePolicy \- Layout attribute describing horizontal and vertical resizing policy .SH SYNOPSIS -\fC#include <ntqsizepolicy.h>\fR +\fC#include <tqsizepolicy.h>\fR .PP .SS "Public Members" .in +1c @@ -20,13 +20,13 @@ QSizePolicy \- Layout attribute describing horizontal and vertical resizing poli .BI "enum \fBExpandData\fR { NoDirection = 0, Horizontally = 1, Vertically = 2, Horizontal = Horizontally, Vertical = Vertically, BothDirections = Horizontally | Vertically }" .br .ti -1c -.BI "\fBQSizePolicy\fR ()" +.BI "\fBTQSizePolicy\fR ()" .br .ti -1c -.BI "\fBQSizePolicy\fR ( SizeType hor, SizeType ver, bool hfw = FALSE )" +.BI "\fBTQSizePolicy\fR ( SizeType hor, SizeType ver, bool hfw = FALSE )" .br .ti -1c -.BI "\fBQSizePolicy\fR ( SizeType hor, SizeType ver, uchar horStretch, uchar verStretch, bool hfw = FALSE )" +.BI "\fBTQSizePolicy\fR ( SizeType hor, SizeType ver, uchar horStretch, uchar verStretch, bool hfw = FALSE )" .br .ti -1c .BI "SizeType \fBhorData\fR () const" @@ -62,10 +62,10 @@ QSizePolicy \- Layout attribute describing horizontal and vertical resizing poli .BI "bool \fBhasHeightForWidth\fR () const" .br .ti -1c -.BI "bool \fBoperator==\fR ( const QSizePolicy & s ) const" +.BI "bool \fBoperator==\fR ( const TQSizePolicy & s ) const" .br .ti -1c -.BI "bool \fBoperator!=\fR ( const QSizePolicy & s ) const" +.BI "bool \fBoperator!=\fR ( const TQSizePolicy & s ) const" .br .ti -1c .BI "uint \fBhorStretch\fR () const" @@ -84,136 +84,136 @@ QSizePolicy \- Layout attribute describing horizontal and vertical resizing poli .br .in -1c .SH DESCRIPTION -The QSizePolicy class is a layout attribute describing horizontal and vertical resizing policy. +The TQSizePolicy class is a layout attribute describing horizontal and vertical resizing policy. .PP The size policy of a widget is an expression of its willingness to be resized in various ways. .PP -Widgets that reimplement TQWidget::sizePolicy() return a QSizePolicy that describes the horizontal and vertical resizing policy they prefer when being laid out. Only one of the constructors is of interest in most applications. +Widgets that reimplement TQWidget::sizePolicy() return a TQSizePolicy that describes the horizontal and vertical resizing policy they prefer when being laid out. Only one of the constructors is of interest in most applications. .PP -QSizePolicy contains two independent SizeType objects; one describes the widgets's horizontal size policy, and the other describes its vertical size policy. It also contains a flag to indicate whether the height and width of its preferred size are related. +TQSizePolicy contains two independent SizeType objects; one describes the widgets's horizontal size policy, and the other describes its vertical size policy. It also contains a flag to indicate whether the height and width of its preferred size are related. .PP The horizontal and vertical SizeTypes are set in the usual constructor and can be queried using a variety of functions. .PP The hasHeightForWidth() flag indicates whether the widget's sizeHint() is width-dependent (such as a word-wrapping label) or not. .PP -See also QSizePolicy::SizeType, Widget Appearance and Style, and Layout Management. +See also TQSizePolicy::SizeType, Widget Appearance and Style, and Layout Management. .SS "Member Type Documentation" -.SH "QSizePolicy::ExpandData" +.SH "TQSizePolicy::ExpandData" This enum type describes in which directions a widget can make use of extra space. There are four possible values: .TP -\fCQSizePolicy::NoDirection\fR - the widget cannot make use of extra space in any direction. +\fCTQSizePolicy::NoDirection\fR - the widget cannot make use of extra space in any direction. .TP -\fCQSizePolicy::Horizontally\fR - the widget can usefully be wider than the sizeHint(). +\fCTQSizePolicy::Horizontally\fR - the widget can usefully be wider than the sizeHint(). .TP -\fCQSizePolicy::Vertically\fR - the widget can usefully be taller than the sizeHint(). +\fCTQSizePolicy::Vertically\fR - the widget can usefully be taller than the sizeHint(). .TP -\fCQSizePolicy::BothDirections\fR - the widget can usefully be both wider and taller than the sizeHint(). -.SH "QSizePolicy::SizeType" -The per-dimension sizing types used when constructing a QSizePolicy are: +\fCTQSizePolicy::BothDirections\fR - the widget can usefully be both wider and taller than the sizeHint(). +.SH "TQSizePolicy::SizeType" +The per-dimension sizing types used when constructing a TQSizePolicy are: .TP -\fCQSizePolicy::Fixed\fR - The TQWidget::sizeHint() is the only acceptable alternative, so the widget can never grow or shrink (e.g. the vertical direction of a push button). +\fCTQSizePolicy::Fixed\fR - The TQWidget::sizeHint() is the only acceptable alternative, so the widget can never grow or shrink (e.g. the vertical direction of a push button). .TP -\fCQSizePolicy::Minimum\fR - The sizeHint() is minimal, and sufficient. The widget can be expanded, but there is no advantage to it being larger (e.g. the horizontal direction of a push button). It cannot be smaller than the size provided by sizeHint(). +\fCTQSizePolicy::Minimum\fR - The sizeHint() is minimal, and sufficient. The widget can be expanded, but there is no advantage to it being larger (e.g. the horizontal direction of a push button). It cannot be smaller than the size provided by sizeHint(). .TP -\fCQSizePolicy::Maximum\fR - The sizeHint() is a maximum. The widget can be shrunk any amount without detriment if other widgets need the space (e.g. a separator line). It cannot be larger than the size provided by sizeHint(). +\fCTQSizePolicy::Maximum\fR - The sizeHint() is a maximum. The widget can be shrunk any amount without detriment if other widgets need the space (e.g. a separator line). It cannot be larger than the size provided by sizeHint(). .TP -\fCQSizePolicy::Preferred\fR - The sizeHint() is best, but the widget can be shrunk and still be useful. The widget can be expanded, but there is no advantage to it being larger than sizeHint() (the default TQWidget policy). +\fCTQSizePolicy::Preferred\fR - The sizeHint() is best, but the widget can be shrunk and still be useful. The widget can be expanded, but there is no advantage to it being larger than sizeHint() (the default TQWidget policy). .TP -\fCQSizePolicy::Expanding\fR - The sizeHint() is a sensible size, but the widget can be shrunk and still be useful. The widget can make use of extra space, so it should get as much space as possible (e.g. the horizontal direction of a slider). +\fCTQSizePolicy::Expanding\fR - The sizeHint() is a sensible size, but the widget can be shrunk and still be useful. The widget can make use of extra space, so it should get as much space as possible (e.g. the horizontal direction of a slider). .TP -\fCQSizePolicy::MinimumExpanding\fR - The sizeHint() is minimal, and sufficient. The widget can make use of extra space, so it should get as much space as possible (e.g. the horizontal direction of a slider). +\fCTQSizePolicy::MinimumExpanding\fR - The sizeHint() is minimal, and sufficient. The widget can make use of extra space, so it should get as much space as possible (e.g. the horizontal direction of a slider). .TP -\fCQSizePolicy::Ignored\fR - the sizeHint() is ignored. The widget will get as much space as possible. +\fCTQSizePolicy::Ignored\fR - the sizeHint() is ignored. The widget will get as much space as possible. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QSizePolicy::QSizePolicy ()" -Constructs a minimally initialized QSizePolicy. -.SH "QSizePolicy::QSizePolicy ( SizeType hor, SizeType ver, bool hfw = FALSE )" +.SH "TQSizePolicy::TQSizePolicy ()" +Constructs a minimally initialized TQSizePolicy. +.SH "TQSizePolicy::TQSizePolicy ( SizeType hor, SizeType ver, bool hfw = FALSE )" This is the constructor normally used to return a value in the overridden TQWidget::sizePolicy() function of a TQWidget subclass. .PP -It constructs a QSizePolicy with independent horizontal and vertical sizing types, \fIhor\fR and \fIver\fR respectively. These sizing types affect how the widget is treated by the layout engine. +It constructs a TQSizePolicy with independent horizontal and vertical sizing types, \fIhor\fR and \fIver\fR respectively. These sizing types affect how the widget is treated by the layout engine. .PP If \fIhfw\fR is TRUE, the preferred height of the widget is dependent on the width of the widget (for example, a QLabel with line wrapping). .PP See also horData(), verData(), and hasHeightForWidth(). -.SH "QSizePolicy::QSizePolicy ( SizeType hor, SizeType ver, uchar horStretch, uchar verStretch, bool hfw = FALSE )" -Constructs a QSizePolicy with independent horizontal and vertical sizing types \fIhor\fR and \fIver\fR, and stretch factors \fIhorStretch\fR and \fIverStretch\fR. +.SH "TQSizePolicy::TQSizePolicy ( SizeType hor, SizeType ver, uchar horStretch, uchar verStretch, bool hfw = FALSE )" +Constructs a TQSizePolicy with independent horizontal and vertical sizing types \fIhor\fR and \fIver\fR, and stretch factors \fIhorStretch\fR and \fIverStretch\fR. .PP If \fIhfw\fR is TRUE, the preferred height of the widget is dependent on the width of the widget. .PP See also horStretch() and verStretch(). -.SH "ExpandData QSizePolicy::expanding () const" +.SH "ExpandData TQSizePolicy::expanding () const" Returns whether this layout can make use of more space than sizeHint(). A value of Vertical or Horizontal means that it wants to grow in only one dimension, whereas BothDirections means that it wants to grow in both dimensions. .PP See also mayShrinkHorizontally(), mayGrowHorizontally(), mayShrinkVertically(), and mayGrowVertically(). -.SH "bool QSizePolicy::hasHeightForWidth () const" +.SH "bool TQSizePolicy::hasHeightForWidth () const" Returns TRUE if the widget's preferred height depends on its width; otherwise returns FALSE. .PP See also setHeightForWidth(). -.SH "SizeType QSizePolicy::horData () const" +.SH "SizeType TQSizePolicy::horData () const" Returns the horizontal component of the size policy. .PP See also setHorData(), verData(), and horStretch(). -.SH "uint QSizePolicy::horStretch () const" +.SH "uint TQSizePolicy::horStretch () const" Returns the horizontal stretch factor of the size policy. .PP See also setHorStretch() and verStretch(). -.SH "bool QSizePolicy::mayGrowHorizontally () const" +.SH "bool TQSizePolicy::mayGrowHorizontally () const" Returns TRUE if the widget can sensibly be wider than its sizeHint(); otherwise returns FALSE. .PP See also mayGrowVertically() and mayShrinkHorizontally(). -.SH "bool QSizePolicy::mayGrowVertically () const" +.SH "bool TQSizePolicy::mayGrowVertically () const" Returns TRUE if the widget can sensibly be taller than its sizeHint(); otherwise returns FALSE. .PP See also mayGrowHorizontally() and mayShrinkVertically(). -.SH "bool QSizePolicy::mayShrinkHorizontally () const" +.SH "bool TQSizePolicy::mayShrinkHorizontally () const" Returns TRUE if the widget can sensibly be narrower than its sizeHint(); otherwise returns FALSE. .PP See also mayShrinkVertically() and mayGrowHorizontally(). -.SH "bool QSizePolicy::mayShrinkVertically () const" +.SH "bool TQSizePolicy::mayShrinkVertically () const" Returns TRUE if the widget can sensibly be shorter than its sizeHint(); otherwise returns FALSE. .PP See also mayShrinkHorizontally() and mayGrowVertically(). -.SH "bool QSizePolicy::operator!= ( const QSizePolicy & s ) const" +.SH "bool TQSizePolicy::operator!= ( const TQSizePolicy & s ) const" Returns TRUE if this policy is different from \fIs\fR; otherwise returns FALSE. .PP See also operator==(). -.SH "bool QSizePolicy::operator== ( const QSizePolicy & s ) const" +.SH "bool TQSizePolicy::operator== ( const TQSizePolicy & s ) const" Returns TRUE if this policy is equal to \fIs\fR; otherwise returns FALSE. .PP See also operator!=(). -.SH "void QSizePolicy::setHeightForWidth ( bool b )" +.SH "void TQSizePolicy::setHeightForWidth ( bool b )" Sets the hasHeightForWidth() flag to \fIb\fR. .PP See also hasHeightForWidth(). -.SH "void QSizePolicy::setHorData ( SizeType d )" +.SH "void TQSizePolicy::setHorData ( SizeType d )" Sets the horizontal component of the size policy to size type \fId\fR. .PP See also horData() and setVerData(). -.SH "void QSizePolicy::setHorStretch ( uchar sf )" +.SH "void TQSizePolicy::setHorStretch ( uchar sf )" Sets the horizontal stretch factor of the size policy to \fIsf\fR. .PP See also horStretch() and setVerStretch(). -.SH "void QSizePolicy::setVerData ( SizeType d )" +.SH "void TQSizePolicy::setVerData ( SizeType d )" Sets the vertical component of the size policy to size type \fId\fR. .PP See also verData() and setHorData(). -.SH "void QSizePolicy::setVerStretch ( uchar sf )" +.SH "void TQSizePolicy::setVerStretch ( uchar sf )" Sets the vertical stretch factor of the size policy to \fIsf\fR. .PP See also verStretch() and setHorStretch(). -.SH "void QSizePolicy::transpose ()" +.SH "void TQSizePolicy::transpose ()" Swaps the horizontal and vertical policies and stretches. -.SH "SizeType QSizePolicy::verData () const" +.SH "SizeType TQSizePolicy::verData () const" Returns the vertical component of the size policy. .PP See also setVerData(), horData(), and verStretch(). -.SH "uint QSizePolicy::verStretch () const" +.SH "uint TQSizePolicy::verStretch () const" Returns the vertical stretch factor of the size policy. .PP See also setVerStretch() and horStretch(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqsizepolicy.html +.BR http://doc.trolltech.com/tqsizepolicy.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the |