<p>This property holds the action's accelerator key.
<p>This property holds the action's accelerator key.
<p>The keycodes can be found in <a href="ntqt.html#Key-enum">Qt::Key</a> and <a href="ntqt.html#Modifier-enum">Qt::Modifier</a>. There
<p>The keycodes can be found in <a href="ntqt.html#Key-enum">TQt::Key</a> and <a href="ntqt.html#Modifier-enum">TQt::Modifier</a>. There
is no default accelerator key.
is no default accelerator key.
<p>Set this property's value with <a href="ntqaction.html#setAccel">setAccel</a>() and get this property's value with <a href="ntqaction.html#accel">accel</a>().
<p>Set this property's value with <a href="ntqaction.html#setAccel">setAccel</a>() and get this property's value with <a href="ntqaction.html#accel">accel</a>().
<p>This property holds the format used for displaying date/time values.
<p>This property holds the format used for displaying date/time values.
<p>The dateFormat property is used for displaying date/time values in
<p>The dateFormat property is used for displaying date/time values in
the table. The default value is <a href="ntqt.html#DateFormat-enum">Qt::LocalDate</a>.
the table. The default value is <a href="ntqt.html#DateFormat-enum">TQt::LocalDate</a>.
<p>Set this property's value with <a href="ntqdatatable.html#setDateFormat">setDateFormat</a>() and get this property's value with <a href="ntqdatatable.html#dateFormat">dateFormat</a>().
<p>Set this property's value with <a href="ntqdatatable.html#setDateFormat">setDateFormat</a>() and get this property's value with <a href="ntqdatatable.html#dateFormat">dateFormat</a>().
</doc>
</doc>
@ -1470,7 +1470,7 @@ usually to the left.
<li> <a href="ntqt.html#AlignmentFlags-enum">AlignHCenter</a> aligns the title text centered.
<li> <a href="ntqt.html#AlignmentFlags-enum">AlignHCenter</a> aligns the title text centered.
</ul>
</ul>
<p> The default alignment is <a href="ntqt.html#AlignmentFlags-enum">AlignAuto</a>.
<p> The default alignment is <a href="ntqt.html#AlignmentFlags-enum">AlignAuto</a>.
<p> <p>See also <a href="ntqt.html#AlignmentFlags-enum">Qt::AlignmentFlags</a>.
<p> <p>See also <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>.
<p>Set this property's value with <a href="ntqgroupbox.html#setAlignment">setAlignment</a>() and get this property's value with <a href="ntqgroupbox.html#alignment">alignment</a>().
<p>Set this property's value with <a href="ntqgroupbox.html#setAlignment">setAlignment</a>() and get this property's value with <a href="ntqgroupbox.html#alignment">alignment</a>().
</doc>
</doc>
@ -1894,7 +1894,7 @@ of 0.
<name>QLabel::alignment</name>
<name>QLabel::alignment</name>
<doc href="ntqlabel.html#alignment-prop">
<doc href="ntqlabel.html#alignment-prop">
<p>This property holds the alignment of the label's contents.
<p>This property holds the alignment of the label's contents.
<p>The alignment is a bitwise OR of <a href="ntqt.html#AlignmentFlags-enum">Qt::AlignmentFlags</a> and <a href="ntqt.html#TextFlags-enum">Qt::TextFlags</a> values. The <a href="ntqt.html#TextFlags-enum">ExpandTabs</a>, <a href="ntqt.html#TextFlags-enum">SingleLine</a> and <a href="ntqt.html#TextFlags-enum">ShowPrefix</a> flags apply only if the label contains plain text;
<p>The alignment is a bitwise OR of <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a> and <a href="ntqt.html#TextFlags-enum">TQt::TextFlags</a> values. The <a href="ntqt.html#TextFlags-enum">ExpandTabs</a>, <a href="ntqt.html#TextFlags-enum">SingleLine</a> and <a href="ntqt.html#TextFlags-enum">ShowPrefix</a> flags apply only if the label contains plain text;
otherwise they are ignored. The <a href="ntqt.html#TextFlags-enum">DontClip</a> flag is always
otherwise they are ignored. The <a href="ntqt.html#TextFlags-enum">DontClip</a> flag is always
ignored. <a href="ntqt.html#TextFlags-enum">WordBreak</a> applies to both rich text and plain text
ignored. <a href="ntqt.html#TextFlags-enum">WordBreak</a> applies to both rich text and plain text
labels. The <a href="ntqt.html#TextFlags-enum">BreakAnywhere</a> flag is not supported in QLabel.
labels. The <a href="ntqt.html#TextFlags-enum">BreakAnywhere</a> flag is not supported in QLabel.
@ -1903,7 +1903,7 @@ TRUE.
<p> The default alignment is <tt>AlignAuto | AlignVCenter | ExpandTabs</tt>
<p> The default alignment is <tt>AlignAuto | AlignVCenter | ExpandTabs</tt>
if the label doesn't have a buddy and <tt>AlignAuto | AlignVCenter | ExpandTabs | ShowPrefix</tt> if the label has a buddy. If the label
if the label doesn't have a buddy and <tt>AlignAuto | AlignVCenter | ExpandTabs | ShowPrefix</tt> if the label has a buddy. If the label
contains rich text, additionally <a href="ntqt.html#TextFlags-enum">WordBreak</a> is turned on.
contains rich text, additionally <a href="ntqt.html#TextFlags-enum">WordBreak</a> is turned on.
<p> <p>See also <a href="ntqt.html#AlignmentFlags-enum">Qt::AlignmentFlags</a>, <a href="ntqlabel.html#setBuddy">setBuddy</a>(), and <a href="ntqlabel.html#text-prop">text</a>.
<p> <p>See also <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>, <a href="ntqlabel.html#setBuddy">setBuddy</a>(), and <a href="ntqlabel.html#text-prop">text</a>.
<p>Set this property's value with <a href="ntqlabel.html#setAlignment">setAlignment</a>() and get this property's value with <a href="ntqlabel.html#alignment">alignment</a>().
<p>Set this property's value with <a href="ntqlabel.html#setAlignment">setAlignment</a>() and get this property's value with <a href="ntqlabel.html#alignment">alignment</a>().
</doc>
</doc>
@ -1978,7 +1978,7 @@ and can also provide a scrollbar when necessary.
<name>QLabel::textFormat</name>
<name>QLabel::textFormat</name>
<doc href="ntqlabel.html#textFormat-prop">
<doc href="ntqlabel.html#textFormat-prop">
<p>This property holds the label's text format.
<p>This property holds the label's text format.
<p>See the <a href="ntqt.html#TextFormat-enum">Qt::TextFormat</a> enum for an explanation of the possible
<p>See the <a href="ntqt.html#TextFormat-enum">TQt::TextFormat</a> enum for an explanation of the possible
options.
options.
<p> The default format is <a href="ntqt.html#TextFormat-enum">AutoText</a>.
<p> The default format is <a href="ntqt.html#TextFormat-enum">AutoText</a>.
<p> <p>See also <a href="ntqlabel.html#text-prop">text</a>.
<p> <p>See also <a href="ntqlabel.html#text-prop">text</a>.
@ -2032,10 +2032,10 @@ should not override the widget's spacing.
<name>QLineEdit::alignment</name>
<name>QLineEdit::alignment</name>
<doc href="ntqlineedit.html#alignment-prop">
<doc href="ntqlineedit.html#alignment-prop">
<p>This property holds the alignment of the line edit.
<p>This property holds the alignment of the line edit.
<p>Possible Values are <a href="ntqt.html#AlignmentFlags-enum">Qt::AlignAuto</a>, <a href="ntqt.html#AlignmentFlags-enum">Qt::AlignLeft</a>, <a href="ntqt.html#AlignmentFlags-enum">Qt::AlignRight</a> and <a href="ntqt.html#AlignmentFlags-enum">Qt::AlignHCenter</a>.
<p>Possible Values are <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignAuto</a>, <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignLeft</a>, <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignRight</a> and <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignHCenter</a>.
<p> Attempting to set the alignment to an illegal flag combination
<p> Attempting to set the alignment to an illegal flag combination
does nothing.
does nothing.
<p> <p>See also <a href="ntqt.html#AlignmentFlags-enum">Qt::AlignmentFlags</a>.
<p> <p>See also <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>.
<p>Set this property's value with <a href="ntqlineedit.html#setAlignment">setAlignment</a>() and get this property's value with <a href="ntqlineedit.html#alignment">alignment</a>().
<p>Set this property's value with <a href="ntqlineedit.html#setAlignment">setAlignment</a>() and get this property's value with <a href="ntqlineedit.html#alignment">alignment</a>().
</doc>
</doc>
@ -2697,7 +2697,7 @@ the message box will try to auto-detect the format of the text.
<name>QMessageBox::textFormat</name>
<name>QMessageBox::textFormat</name>
<doc href="ntqmessagebox.html#textFormat-prop">
<doc href="ntqmessagebox.html#textFormat-prop">
<p>This property holds the format of the text displayed by the message box.
<p>This property holds the format of the text displayed by the message box.
<p>The current text format used by the message box. See the <a href="ntqt.html#TextFormat-enum">Qt::TextFormat</a> enum for an explanation of the possible options.
<p>The current text format used by the message box. See the <a href="ntqt.html#TextFormat-enum">TQt::TextFormat</a> enum for an explanation of the possible options.
<p> The default format is <a href="ntqt.html#TextFormat-enum">AutoText</a>.
<p> The default format is <a href="ntqt.html#TextFormat-enum">AutoText</a>.
<p> <p>See also <a href="ntqmessagebox.html#text-prop">text</a>.
<p> <p>See also <a href="ntqmessagebox.html#text-prop">text</a>.
@ -2709,7 +2709,7 @@ the message box will try to auto-detect the format of the text.
<doc href="ntqmultilineedit.html#alignment-prop"> <p>This property holds the editor's paragraph alignment.
<doc href="ntqmultilineedit.html#alignment-prop"> <p>This property holds the editor's paragraph alignment.
<p>Sets the alignment to flag, which must be <a href="ntqt.html#AlignmentFlags-enum">AlignLeft</a>, <a href="ntqt.html#AlignmentFlags-enum">AlignHCenter</a> or <a href="ntqt.html#AlignmentFlags-enum">AlignRight</a>.
<p>Sets the alignment to flag, which must be <a href="ntqt.html#AlignmentFlags-enum">AlignLeft</a>, <a href="ntqt.html#AlignmentFlags-enum">AlignHCenter</a> or <a href="ntqt.html#AlignmentFlags-enum">AlignRight</a>.
<p> If flag is an illegal flag nothing happens.
<p> If flag is an illegal flag nothing happens.
<p> <p>See also <a href="ntqt.html#AlignmentFlags-enum">Qt::AlignmentFlags</a>.
<p> <p>See also <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>.
<p>Set this property's value with <a href="ntqmultilineedit.html#setAlignment">setAlignment</a>() and get this property's value with <a href="ntqmultilineedit.html#alignment">alignment</a>().
<p>Set this property's value with <a href="ntqmultilineedit.html#setAlignment">setAlignment</a>() and get this property's value with <a href="ntqmultilineedit.html#alignment">alignment</a>().
</doc>
</doc>
@ -3060,7 +3060,7 @@ adjusted if necessary to ensure that the range remains valid.
<name>QScrollBar::orientation</name>
<name>QScrollBar::orientation</name>
<doc href="ntqscrollbar.html#orientation-prop">
<doc href="ntqscrollbar.html#orientation-prop">
<p>This property holds the orientation of the scroll bar.
<p>This property holds the orientation of the scroll bar.
<p>The orientation must be <a href="ntqt.html#Orientation-enum">Qt::Vertical</a> (the default) or <a href="ntqt.html#Orientation-enum">Qt::Horizontal</a>.
<p>The orientation must be <a href="ntqt.html#Orientation-enum">TQt::Vertical</a> (the default) or <a href="ntqt.html#Orientation-enum">TQt::Horizontal</a>.
<p>Set this property's value with <a href="ntqscrollbar.html#setOrientation">setOrientation</a>() and get this property's value with <a href="ntqscrollbar.html#orientation">orientation</a>().
<p>Set this property's value with <a href="ntqscrollbar.html#setOrientation">setOrientation</a>() and get this property's value with <a href="ntqscrollbar.html#orientation">orientation</a>().
</doc>
</doc>
@ -3233,7 +3233,7 @@ if necessary, to ensure that the range remains valid.
<name>QSlider::orientation</name>
<name>QSlider::orientation</name>
<doc href="ntqslider.html#orientation-prop">
<doc href="ntqslider.html#orientation-prop">
<p>This property holds the slider's orientation.
<p>This property holds the slider's orientation.
<p>The orientation must be <a href="ntqt.html#Orientation-enum">Qt::Vertical</a> (the default) or <a href="ntqt.html#Orientation-enum">Qt::Horizontal</a>.
<p>The orientation must be <a href="ntqt.html#Orientation-enum">TQt::Vertical</a> (the default) or <a href="ntqt.html#Orientation-enum">TQt::Horizontal</a>.
<p>Set this property's value with <a href="ntqslider.html#setOrientation">setOrientation</a>() and get this property's value with <a href="ntqslider.html#orientation">orientation</a>().
<p>Set this property's value with <a href="ntqslider.html#setOrientation">setOrientation</a>() and get this property's value with <a href="ntqslider.html#orientation">orientation</a>().
Returns the shortcut key sequence for \fIstr\fR, or an invalid key sequence (0) if \fIstr\fR has no shortcut sequence.
Returns the shortcut key sequence for \fIstr\fR, or an invalid key sequence (0) if \fIstr\fR has no shortcut sequence.
.PP
.PP
For example, shortcutKey("E&xit") returns ALT+Key_X, shortcutKey("&Quit") returns ALT+Key_Q and shortcutKey("Quit") returns 0. (In code that does not inherit the TQt namespace class, you must write e.g. Qt::ALT+Qt::Key_Q.)
For example, shortcutKey("E&xit") returns ALT+Key_X, shortcutKey("&Quit") returns ALT+Key_Q and shortcutKey("Quit") returns 0. (In code that does not inherit the TQt namespace class, you must write e.g. TQt::ALT+TQt::Key_Q.)
.PP
.PP
We provide a list of common accelerators in English. At the time of writing, Microsoft and Open Group do not appear to have issued equivalent recommendations for other languages.
We provide a list of common accelerators in English. At the time of writing, Microsoft and Open Group do not appear to have issued equivalent recommendations for other languages.
.SH "QKeySequence QAccel::stringToKey ( const TQString & s )\fC [static]\fR"
.SH "QKeySequence QAccel::stringToKey ( const TQString & s )\fC [static]\fR"
Changes the default application font to \fIfont\fR. If \fIinformWidgets\fR is TRUE, then existing widgets are informed about the change and may adjust themselves to the new application setting. If \fIinformWidgets\fR is FALSE, the change only affects newly created widgets. If \fIclassName\fR is passed, the change applies only to classes that inherit \fIclassName\fR (as reported by TQObject::inherits()).
Changes the default application font to \fIfont\fR. If \fIinformWidgets\fR is TRUE, then existing widgets are informed about the change and may adjust themselves to the new application setting. If \fIinformWidgets\fR is FALSE, the change only affects newly created widgets. If \fIclassName\fR is passed, the change applies only to classes that inherit \fIclassName\fR (as reported by TQObject::inherits()).
@ -237,7 +237,7 @@ The stretch factor applies only in the direction of the QBoxLayout, and is relat
.PP
.PP
If the stretch factor is 0 and nothing else in the QBoxLayout has a stretch factor greater than zero, the space is distributed according to the TQWidget:sizePolicy() of each widget that's involved.
If the stretch factor is 0 and nothing else in the QBoxLayout has a stretch factor greater than zero, the space is distributed according to the TQWidget:sizePolicy() of each widget that's involved.
.PP
.PP
Alignment is specified by \fIalignment\fR which is a bitwise OR of Qt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.
Alignment is specified by \fIalignment\fR which is a bitwise OR of TQt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.
.PP
.PP
From TQt 3.0, the \fIalignment\fR parameter is interpreted more aggressively than in previous versions of Qt. A non-default alignment now indicates that the widget should not grow to fill the available space, but should be sized according to sizeHint().
From TQt 3.0, the \fIalignment\fR parameter is interpreted more aggressively than in previous versions of Qt. A non-default alignment now indicates that the widget should not grow to fill the available space, but should be sized according to sizeHint().
.PP
.PP
@ -294,7 +294,7 @@ The stretch factor applies only in the direction of the QBoxLayout, and is relat
.PP
.PP
If the stretch factor is 0 and nothing else in the QBoxLayout has a stretch factor greater than zero, the space is distributed according to the TQWidget:sizePolicy() of each widget that's involved.
If the stretch factor is 0 and nothing else in the QBoxLayout has a stretch factor greater than zero, the space is distributed according to the TQWidget:sizePolicy() of each widget that's involved.
.PP
.PP
Alignment is specified by \fIalignment\fR, which is a bitwise OR of Qt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.
Alignment is specified by \fIalignment\fR, which is a bitwise OR of TQt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.
.PP
.PP
From TQt 3.0, the \fIalignment\fR parameter is interpreted more aggressively than in previous versions of Qt. A non-default alignment now indicates that the widget should not grow to fill the available space, but should be sized according to sizeHint().
From TQt 3.0, the \fIalignment\fR parameter is interpreted more aggressively than in previous versions of Qt. A non-default alignment now indicates that the widget should not grow to fill the available space, but should be sized according to sizeHint().
@ -161,7 +161,7 @@ Returns TRUE if the item is tristate; otherwise returns FALSE.
.PP
.PP
See also setTristate().
See also setTristate().
.SH "void QCheckListItem::paintCell ( QPainter * p, const QColorGroup & cg, int column, int width, int align )\fC [virtual]\fR"
.SH "void QCheckListItem::paintCell ( QPainter * p, const QColorGroup & cg, int column, int width, int align )\fC [virtual]\fR"
Paints the item using the painter \fIp\fR and the color group \fIcg\fR. The item is in column \fIcolumn\fR, has width \fIwidth\fR and has alignment \fIalign\fR. (See Qt::AlignmentFlags for valid alignments.)
Paints the item using the painter \fIp\fR and the color group \fIcg\fR. The item is in column \fIcolumn\fR, has width \fIwidth\fR and has alignment \fIalign\fR. (See TQt::AlignmentFlags for valid alignments.)
@ -111,11 +111,11 @@ To set or get the position of the mouse cursor use the static methods QCursor::p
.PP
.PP
See also TQWidget, GUI Design Handbook: Cursors, Widget Appearance and Style, and Implicitly and Explicitly Shared Classes.
See also TQWidget, GUI Design Handbook: Cursors, Widget Appearance and Style, and Implicitly and Explicitly Shared Classes.
.PP
.PP
On X11, TQt supports the Xcursor library, which allows for full color icon themes. The table below shows the cursor name used for each Qt::CursorShape value. If a cursor cannot be found using the name shown below, a standard X11 cursor will be used instead. Note: X11 does not provide appropriate cursors for all possible Qt::CursorShape values. It is possible that some cursors will be taken from the Xcursor theme, while others will use an internal bitmap cursor.
On X11, TQt supports the Xcursor library, which allows for full color icon themes. The table below shows the cursor name used for each TQt::CursorShape value. If a cursor cannot be found using the name shown below, a standard X11 cursor will be used instead. Note: X11 does not provide appropriate cursors for all possible TQt::CursorShape values. It is possible that some cursors will be taken from the Xcursor theme, while others will use an internal bitmap cursor.
Returns the QDate represented by the string \fIs\fR, using the format \fIf\fR, or an invalid date if the string cannot be parsed.
Returns the QDate represented by the string \fIs\fR, using the format \fIf\fR, or an invalid date if the string cannot be parsed.
.PP
.PP
Note for Qt::TextDate: It is recommended that you use the English short month names (e.g. "Jan"). Although localized month names can also be used, they depend on the user's locale settings.
Note for TQt::TextDate: It is recommended that you use the English short month names (e.g. "Jan"). Although localized month names can also be used, they depend on the user's locale settings.
.PP
.PP
\fBWarning:\fR Qt::LocalDate cannot be used here.
\fBWarning:\fR TQt::LocalDate cannot be used here.
.SH "bool QDate::isNull () const"
.SH "bool QDate::isNull () const"
Returns TRUE if the date is null; otherwise returns FALSE. A null date is invalid.
Returns TRUE if the date is null; otherwise returns FALSE. A null date is invalid.
.PP
.PP
@ -361,16 +361,16 @@ l - l. Format Result dd.MM.yyyy 20.07.1969 ddd MMMM d yy
If the date is an invalid date, then TQString::null will be returned.
If the date is an invalid date, then TQString::null will be returned.
.PP
.PP
See also QDateTime::toString() and QTime::toString().
See also QDateTime::toString() and QTime::toString().
.SH "TQString QDate::toString ( Qt::DateFormat f = Qt::TextDate ) const"
.SH "TQString QDate::toString ( TQt::DateFormat f = TQt::TextDate ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
.PP
Returns the date as a string. The \fIf\fR parameter determines the format of the string.
Returns the date as a string. The \fIf\fR parameter determines the format of the string.
.PP
.PP
If \fIf\fR is Qt::TextDate, the string format is "Sat May 20 1995" (using the shortDayName() and shortMonthName() functions to generate the string, so the day and month names are locale specific).
If \fIf\fR is TQt::TextDate, the string format is "Sat May 20 1995" (using the shortDayName() and shortMonthName() functions to generate the string, so the day and month names are locale specific).
.PP
.PP
If \fIf\fR is Qt::ISODate, the string format corresponds to the ISO 8601 specification for representations of dates, which is YYYY-MM-DD where YYYY is the year, MM is the month of the year (between 01 and 12), and DD is the day of the month between 01 and 31.
If \fIf\fR is TQt::ISODate, the string format corresponds to the ISO 8601 specification for representations of dates, which is YYYY-MM-DD where YYYY is the year, MM is the month of the year (between 01 and 12), and DD is the day of the month between 01 and 31.
.PP
.PP
If \fIf\fR is Qt::LocalDate, the string format depends on the locale settings of the system.
If \fIf\fR is TQt::LocalDate, the string format depends on the locale settings of the system.
.PP
.PP
If the date is an invalid date, then TQString::null will be returned.
If the date is an invalid date, then TQString::null will be returned.
Returns the QDateTime represented by the string \fIs\fR, using the format \fIf\fR, or an invalid datetime if this is not possible.
Returns the QDateTime represented by the string \fIs\fR, using the format \fIf\fR, or an invalid datetime if this is not possible.
.PP
.PP
Note for Qt::TextDate: It is recommended that you use the English short month names (e.g. "Jan"). Although localized month names can also be used, they depend on the user's locale settings.
Note for TQt::TextDate: It is recommended that you use the English short month names (e.g. "Jan"). Although localized month names can also be used, they depend on the user's locale settings.
.PP
.PP
\fBWarning:\fR Note that Qt::LocalDate cannot be used here.
\fBWarning:\fR Note that TQt::LocalDate cannot be used here.
.SH "bool QDateTime::isNull () const"
.SH "bool QDateTime::isNull () const"
Returns TRUE if both the date and the time are null; otherwise returns FALSE. A null datetime is invalid.
Returns TRUE if both the date and the time are null; otherwise returns FALSE. A null datetime is invalid.
.PP
.PP
@ -232,8 +232,8 @@ See also date() and setTime().
Sets the time part of this datetime to \fItime\fR.
Sets the time part of this datetime to \fItime\fR.
Sets the date and time to \fIts\fR time (Qt::LocalTime or Qt::UTC) given the number of seconds that have passed since 1970-01-01T00:00:00, Coordinated Universal Time (UTC). On systems that do not support timezones this function will behave as if local time were UTC.
Sets the date and time to \fIts\fR time (TQt::LocalTime or TQt::UTC) given the number of seconds that have passed since 1970-01-01T00:00:00, Coordinated Universal Time (UTC). On systems that do not support timezones this function will behave as if local time were UTC.
.PP
.PP
On Windows, only a subset of \fIsecsSince1Jan1970UTC\fR values are supported, as Windows starts counting from 1980.
On Windows, only a subset of \fIsecsSince1Jan1970UTC\fR values are supported, as Windows starts counting from 1980.
.PP
.PP
@ -281,16 +281,16 @@ l - l. Format Result dd.MM.yyyy 21.05.2001 ddd MMMM d yy Tue May 21 01 hh:mm:ss.
If the datetime is an invalid datetime, then TQString::null will be returned.
If the datetime is an invalid datetime, then TQString::null will be returned.
.PP
.PP
See also QDate::toString() and QTime::toString().
See also QDate::toString() and QTime::toString().
.SH "TQString QDateTime::toString ( Qt::DateFormat f = Qt::TextDate ) const"
.SH "TQString QDateTime::toString ( TQt::DateFormat f = TQt::TextDate ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
.PP
Returns the datetime as a string. The \fIf\fR parameter determines the format of the string.
Returns the datetime as a string. The \fIf\fR parameter determines the format of the string.
.PP
.PP
If \fIf\fR is Qt::TextDate, the string format is "Wed May 20 03:40:13 1998" (using QDate::shortDayName(), QDate::shortMonthName(), and QTime::toString() to generate the string, so the day and month names will have localized names).
If \fIf\fR is TQt::TextDate, the string format is "Wed May 20 03:40:13 1998" (using QDate::shortDayName(), QDate::shortMonthName(), and QTime::toString() to generate the string, so the day and month names will have localized names).
.PP
.PP
If \fIf\fR is Qt::ISODate, the string format corresponds to the ISO 8601 extended specification for representations of dates and times, which is YYYY-MM-DDTHH:MM:SS.
If \fIf\fR is TQt::ISODate, the string format corresponds to the ISO 8601 extended specification for representations of dates and times, which is YYYY-MM-DDTHH:MM:SS.
.PP
.PP
If \fIf\fR is Qt::LocalDate, the string format depends on the locale settings of the system.
If \fIf\fR is TQt::LocalDate, the string format depends on the locale settings of the system.
.PP
.PP
If the format \fIf\fR is invalid or the datetime is invalid, toString() returns a null string.
If the format \fIf\fR is invalid or the datetime is invalid, toString() returns a null string.
@ -198,7 +198,7 @@ The widget flags \fIf\fR are passed on to the TQWidget constructor. If, for exam
.PP
.PP
\fBWarning:\fR In TQt 3.2, the \fImodal\fR flag is obsolete. There is now a setModal() function that can be used for obtaining a modal behavior when calling show(). This is rarely needed, because modal dialogs are usually invoked using exec(), which ignores the \fImodal\fR flag.
\fBWarning:\fR In TQt 3.2, the \fImodal\fR flag is obsolete. There is now a setModal() function that can be used for obtaining a modal behavior when calling show(). This is rarely needed, because modal dialogs are usually invoked using exec(), which ignores the \fImodal\fR flag.
.PP
.PP
See also TQWidget::setWFlags() and Qt::WidgetFlags.
See also TQWidget::setWFlags() and TQt::WidgetFlags.
.SH "void QGridLayout::addMultiCell ( QLayoutItem * item, int fromRow, int toRow, int fromCol, int toCol, int alignment = 0 )"
.SH "void QGridLayout::addMultiCell ( QLayoutItem * item, int fromRow, int toRow, int fromCol, int toCol, int alignment = 0 )"
Adds the \fIitem\fR to the cell grid, spanning multiple rows/columns.
Adds the \fIitem\fR to the cell grid, spanning multiple rows/columns.
.PP
.PP
The cell will span from \fIfromRow\fR, \fIfromCol\fR to \fItoRow\fR, \fItoCol\fR. Alignment is specified by \fIalignment\fR, which is a bitwise OR of Qt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.
The cell will span from \fIfromRow\fR, \fIfromCol\fR to \fItoRow\fR, \fItoCol\fR. Alignment is specified by \fIalignment\fR, which is a bitwise OR of TQt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.
.SH "void QGridLayout::addMultiCellLayout ( QLayout * layout, int fromRow, int toRow, int fromCol, int toCol, int alignment = 0 )"
.SH "void QGridLayout::addMultiCellLayout ( QLayout * layout, int fromRow, int toRow, int fromCol, int toCol, int alignment = 0 )"
Adds the layout \fIlayout\fR to the cell grid, spanning multiple rows/columns. The cell will span from \fIfromRow\fR, \fIfromCol\fR to \fItoRow\fR, \fItoCol\fR.
Adds the layout \fIlayout\fR to the cell grid, spanning multiple rows/columns. The cell will span from \fIfromRow\fR, \fIfromCol\fR to \fItoRow\fR, \fItoCol\fR.
.PP
.PP
Alignment is specified by \fIalignment\fR, which is a bitwise OR of Qt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.
Alignment is specified by \fIalignment\fR, which is a bitwise OR of TQt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.
.PP
.PP
A non-zero alignment indicates that the layout should not grow to fill the available space but should be sized according to sizeHint().
A non-zero alignment indicates that the layout should not grow to fill the available space but should be sized according to sizeHint().
.PP
.PP
@ -239,7 +239,7 @@ See also addLayout().
.SH "void QGridLayout::addMultiCellWidget ( TQWidget * w, int fromRow, int toRow, int fromCol, int toCol, int alignment = 0 )"
.SH "void QGridLayout::addMultiCellWidget ( TQWidget * w, int fromRow, int toRow, int fromCol, int toCol, int alignment = 0 )"
Adds the widget \fIw\fR to the cell grid, spanning multiple rows/columns. The cell will span from \fIfromRow\fR, \fIfromCol\fR to \fItoRow\fR, \fItoCol\fR.
Adds the widget \fIw\fR to the cell grid, spanning multiple rows/columns. The cell will span from \fIfromRow\fR, \fIfromCol\fR to \fItoRow\fR, \fItoCol\fR.
.PP
.PP
Alignment is specified by \fIalignment\fR, which is a bitwise OR of Qt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.
Alignment is specified by \fIalignment\fR, which is a bitwise OR of TQt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.
.PP
.PP
A non-zero alignment indicates that the widget should not grow to fill the available space but should be sized according to sizeHint().
A non-zero alignment indicates that the widget should not grow to fill the available space but should be sized according to sizeHint().
.PP
.PP
@ -256,7 +256,7 @@ Use setRowSpacing() instead.
.SH "void QGridLayout::addWidget ( TQWidget * w, int row, int col, int alignment = 0 )"
.SH "void QGridLayout::addWidget ( TQWidget * w, int row, int col, int alignment = 0 )"
Adds the widget \fIw\fR to the cell grid at \fIrow\fR, \fIcol\fR. The top-left position is (0, 0) by default.
Adds the widget \fIw\fR to the cell grid at \fIrow\fR, \fIcol\fR. The top-left position is (0, 0) by default.
.PP
.PP
Alignment is specified by \fIalignment\fR, which is a bitwise OR of Qt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.
Alignment is specified by \fIalignment\fR, which is a bitwise OR of TQt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.
.TP
.TP
You should not call this if you have enabled the auto-add facility of the layout.
You should not call this if you have enabled the auto-add facility of the layout.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
.PP
Returns a pointer to the first item whose text begins with \fItext\fR, or 0 if no such item could be found. Use the \fIcompare\fR flag to control the comparison behaviour. (See Qt::StringComparisonMode.)
Returns a pointer to the first item whose text begins with \fItext\fR, or 0 if no such item could be found. Use the \fIcompare\fR flag to control the comparison behaviour. (See TQt::StringComparisonMode.)
Finds the last item whose bounding rectangle overlaps \fIr\fR and returns a pointer to that item. \fIr\fR is given in content coordinates. Returns 0 if no item overlaps \fIr\fR.
Finds the last item whose bounding rectangle overlaps \fIr\fR and returns a pointer to that item. \fIr\fR is given in content coordinates. Returns 0 if no item overlaps \fIr\fR.
@ -527,7 +527,7 @@ Returns \fC*this\fR if \fIdepth\fR is equal to the image depth, or a null image
.PP
.PP
If the image needs to be modified to fit in a lower-resolution result (e.g. converting from 32-bit to 8-bit), use the \fIconversion_flags\fR to specify how you'd prefer this to happen.
If the image needs to be modified to fit in a lower-resolution result (e.g. converting from 32-bit to 8-bit), use the \fIconversion_flags\fR to specify how you'd prefer this to happen.
.PP
.PP
See also Qt::ImageConversionFlags, depth(), and isNull().
See also TQt::ImageConversionFlags, depth(), and isNull().
.SH "TQImage TQImage::convertDepth ( int depth ) const"
.SH "TQImage TQImage::convertDepth ( int depth ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.SH "TQImage TQImage::convertDepthWithPalette ( int d, TQRgb * palette, int palette_count, int conversion_flags = 0 ) const"
.SH "TQImage TQImage::convertDepthWithPalette ( int d, TQRgb * palette, int palette_count, int conversion_flags = 0 ) const"
@ -539,7 +539,7 @@ Note: currently no closest-color search is made. If colors are found that are no
.PP
.PP
Currently inefficient for non-32-bit images.
Currently inefficient for non-32-bit images.
.PP
.PP
See also Qt::ImageConversionFlags.
See also TQt::ImageConversionFlags.
.SH "TQImage TQImage::copy () const"
.SH "TQImage TQImage::copy () const"
Returns a deep copy of the image.
Returns a deep copy of the image.
.PP
.PP
@ -553,7 +553,7 @@ The returned image is always \fIw\fR by \fIh\fR pixels in size, and is copied fr
.PP
.PP
If the image needs to be modified to fit in a lower-resolution result (e.g. converting from 32-bit to 8-bit), use the \fIconversion_flags\fR to specify how you'd prefer this to happen.
If the image needs to be modified to fit in a lower-resolution result (e.g. converting from 32-bit to 8-bit), use the \fIconversion_flags\fR to specify how you'd prefer this to happen.
.PP
.PP
See also bitBlt() and Qt::ImageConversionFlags.
See also bitBlt() and TQt::ImageConversionFlags.
.SH "TQImage TQImage::copy ( const QRect & r ) const"
.SH "TQImage TQImage::copy ( const QRect & r ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
@ -103,7 +103,7 @@ Note that if the event is a multiple-key compressed event that is partly due to
.SH "int QKeyEvent::key () const"
.SH "int QKeyEvent::key () const"
Returns the code of the key that was pressed or released.
Returns the code of the key that was pressed or released.
.PP
.PP
See Qt::Key for the list of keyboard codes. These codes are independent of the underlying window system.
See TQt::Key for the list of keyboard codes. These codes are independent of the underlying window system.
.PP
.PP
A value of either 0 or Key_unknown means that the event is not the result of a known key (e.g. it may be the result of a compose sequence or a keyboard macro, or due to key event compression).
A value of either 0 or Key_unknown means that the event is not the result of a known key (e.g. it may be the result of a compose sequence or a keyboard macro, or due to key event compression).
Matches the sequence with \fIseq\fR. Returns Qt::Identical if successful, Qt::PartialMatch for matching but incomplete \fIseq\fR, and Qt::NoMatch if the sequences have nothing in common. Returns Qt::NoMatch if \fIseq\fR is shorter.
Matches the sequence with \fIseq\fR. Returns TQt::Identical if successful, TQt::PartialMatch for matching but incomplete \fIseq\fR, and TQt::NoMatch if the sequences have nothing in common. Returns TQt::NoMatch if \fIseq\fR is shorter.
.SH "QKeySequence::operator TQString () const"
.SH "QKeySequence::operator TQString () const"
Creates an accelerator string for the key sequence. For instance CTRL+Key_O gives "Ctrl+O". If the key sequence has multiple key codes they are returned comma-separated, e.g." Alt+X, Ctrl+Y, Z". The strings, "Ctrl", "Shift", etc. are translated (using TQObject::tr()) in the "QAccel" scope. If the key sequence has no keys, TQString::null is returned.
Creates an accelerator string for the key sequence. For instance CTRL+Key_O gives "Ctrl+O". If the key sequence has multiple key codes they are returned comma-separated, e.g." Alt+X, Ctrl+Y, Z". The strings, "Ctrl", "Shift", etc. are translated (using TQObject::tr()) in the "QAccel" scope. If the key sequence has no keys, TQString::null is returned.
@ -339,13 +339,13 @@ Returns the label's text format. See the "textFormat" property for details.
.SH "Alignment alignment"
.SH "Alignment alignment"
This property holds the alignment of the label's contents.
This property holds the alignment of the label's contents.
.PP
.PP
The alignment is a bitwise OR of Qt::AlignmentFlags and Qt::TextFlags values. The ExpandTabs, SingleLine and ShowPrefix flags apply only if the label contains plain text; otherwise they are ignored. The DontClip flag is always ignored. WordBreak applies to both rich text and plain text labels. The BreakAnywhere flag is not supported in QLabel.
The alignment is a bitwise OR of TQt::AlignmentFlags and TQt::TextFlags values. The ExpandTabs, SingleLine and ShowPrefix flags apply only if the label contains plain text; otherwise they are ignored. The DontClip flag is always ignored. WordBreak applies to both rich text and plain text labels. The BreakAnywhere flag is not supported in QLabel.
.PP
.PP
If the label has a buddy, the ShowPrefix flag is forced to TRUE.
If the label has a buddy, the ShowPrefix flag is forced to TRUE.
.PP
.PP
The default alignment is \fCAlignAuto | AlignVCenter | ExpandTabs\fR if the label doesn't have a buddy and \fCAlignAuto | AlignVCenter | ExpandTabs | ShowPrefix\fR if the label has a buddy. If the label contains rich text, additionally WordBreak is turned on.
The default alignment is \fCAlignAuto | AlignVCenter | ExpandTabs\fR if the label doesn't have a buddy and \fCAlignAuto | AlignVCenter | ExpandTabs | ShowPrefix\fR if the label has a buddy. If the label contains rich text, additionally WordBreak is turned on.
.PP
.PP
See also Qt::AlignmentFlags, setBuddy(), and text.
See also TQt::AlignmentFlags, setBuddy(), and text.
.PP
.PP
Set this property's value with setAlignment() and get this property's value with alignment().
Set this property's value with setAlignment() and get this property's value with alignment().
.SH "BackgroundMode backgroundMode"
.SH "BackgroundMode backgroundMode"
@ -401,7 +401,7 @@ Set this property's value with setText() and get this property's value with text
.SH "TextFormat textFormat"
.SH "TextFormat textFormat"
This property holds the label's text format.
This property holds the label's text format.
.PP
.PP
See the Qt::TextFormat enum for an explanation of the possible options.
See the TQt::TextFormat enum for an explanation of the possible options.
@ -488,7 +488,7 @@ Constructs a new empty list box called \fIname\fR and with parent \fIparent\fR.
.PP
.PP
Performance is boosted by modifying the widget flags \fIf\fR so that only part of the QListBoxItem children is redrawn. This may be unsuitable for custom QListBoxItem classes, in which case WStaticContents and WNoAutoErase should be cleared immediately after construction.
Performance is boosted by modifying the widget flags \fIf\fR so that only part of the QListBoxItem children is redrawn. This may be unsuitable for custom QListBoxItem classes, in which case WStaticContents and WNoAutoErase should be cleared immediately after construction.
.PP
.PP
See also TQWidget::clearWFlags() and Qt::WidgetFlags.
See also TQWidget::clearWFlags() and TQt::WidgetFlags.
.SH "QListBox::~QListBox ()"
.SH "QListBox::~QListBox ()"
Destroys the list box. Deletes all list box items.
Destroys the list box. Deletes all list box items.
.SH "bool QListBox::autoBottomScrollBar () const"
.SH "bool QListBox::autoBottomScrollBar () const"
@ -606,7 +606,7 @@ Ensures that the current item is visible.
Finds the first list box item that has the text \fItext\fR and returns it, or returns 0 of no such item could be found. The search starts from the current item if the current item exists, otherwise it starts from the first list box item. If \fCComparisonFlags\fR are specified in \fIcompare\fR then these flags are used, otherwise the default is a case-insensitive, "begins with" search.
Finds the first list box item that has the text \fItext\fR and returns it, or returns 0 of no such item could be found. The search starts from the current item if the current item exists, otherwise it starts from the first list box item. If \fCComparisonFlags\fR are specified in \fIcompare\fR then these flags are used, otherwise the default is a case-insensitive, "begins with" search.
.PP
.PP
See also Qt::StringComparisonMode.
See also TQt::StringComparisonMode.
.SH "int QListBox::findItem ( int yPos ) const\fC [protected]\fR"
.SH "int QListBox::findItem ( int yPos ) const\fC [protected]\fR"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
@ -518,7 +518,7 @@ Constructs a new empty list view called \fIname\fR with parent \fIparent\fR.
.PP
.PP
Performance is boosted by modifying the widget flags \fIf\fR so that only part of the QListViewItem children is redrawn. This may be unsuitable for custom QListViewItem classes, in which case WStaticContents and WNoAutoErase should be cleared.
Performance is boosted by modifying the widget flags \fIf\fR so that only part of the QListViewItem children is redrawn. This may be unsuitable for custom QListViewItem classes, in which case WStaticContents and WNoAutoErase should be cleared.
.PP
.PP
See also TQWidget::clearWFlags() and Qt::WidgetFlags.
See also TQWidget::clearWFlags() and TQt::WidgetFlags.
.SH "QListView::~QListView ()"
.SH "QListView::~QListView ()"
Destroys the list view, deleting all its items, and frees up all allocated resources.
Destroys the list view, deleting all its items, and frees up all allocated resources.
Finds the first list view item in column \fIcolumn\fR, that matches \fItext\fR and returns the item, or returns 0 of no such item could be found. The search starts from the current item if the current item exists, otherwise it starts from the first list view item. After reaching the last item the search continues from the first item. Pass OR-ed together Qt::StringComparisonMode values in the \fIcompare\fR flag, to control how the matching is performed. The default comparison mode is case-sensitive, exact match.
Finds the first list view item in column \fIcolumn\fR, that matches \fItext\fR and returns the item, or returns 0 of no such item could be found. The search starts from the current item if the current item exists, otherwise it starts from the first list view item. After reaching the last item the search continues from the first item. Pass OR-ed together TQt::StringComparisonMode values in the \fIcompare\fR flag, to control how the matching is performed. The default comparison mode is case-sensitive, exact match.
Sets whether items should show keyboard focus using all columns. See the "allColumnsShowFocus" property for details.
Sets whether items should show keyboard focus using all columns. See the "allColumnsShowFocus" property for details.
.SH "void QListView::setColumnAlignment ( int column, int align )\fC [virtual]\fR"
.SH "void QListView::setColumnAlignment ( int column, int align )\fC [virtual]\fR"
Sets column \fIcolumn\fR's alignment to \fIalign\fR. The alignment is ultimately passed to QListViewItem::paintCell() for each item in the list view. For horizontally aligned text with Qt::AlignLeft or Qt::AlignHCenter the ellipsis (...) will be to the right, for Qt::AlignRight the ellipsis will be to the left.
Sets column \fIcolumn\fR's alignment to \fIalign\fR. The alignment is ultimately passed to QListViewItem::paintCell() for each item in the list view. For horizontally aligned text with TQt::AlignLeft or TQt::AlignHCenter the ellipsis (...) will be to the right, for TQt::AlignRight the ellipsis will be to the left.
@ -372,7 +372,7 @@ The main window will take care of the dock areas, and the geometry of the centra
.PP
.PP
QMainWindow provides a QToolTipGroup connected to the status bar. The function toolTipGroup() provides access to the default QToolTipGroup. It isn't possible to set a different tool tip group.
QMainWindow provides a QToolTipGroup connected to the status bar. The function toolTipGroup() provides access to the default QToolTipGroup. It isn't possible to set a different tool tip group.
.PP
.PP
New dock windows and toolbars can be added to a QMainWindow using addDockWindow(). Dock windows can be moved using moveDockWindow() and removed with removeDockWindow(). QMainWindow allows default dock window (toolbar) docking in all its dock areas (Top, Left, Right, Bottom). You can use setDockEnabled() to enable and disable docking areas for dock windows. When adding or moving dock windows you can specify their 'edge' (dock area). The currently available edges are: Top, Left, Right, Bottom, Minimized (effectively a 'hidden' dock area) and TornOff (floating). See Qt::Dock for an explanation of these areas. Note that the *ToolBar functions are included for backward compatibility; all new code should use the *DockWindow functions. QToolbar is a subclass of QDockWindow so all functions that work with dock windows work on toolbars in the same way.
New dock windows and toolbars can be added to a QMainWindow using addDockWindow(). Dock windows can be moved using moveDockWindow() and removed with removeDockWindow(). QMainWindow allows default dock window (toolbar) docking in all its dock areas (Top, Left, Right, Bottom). You can use setDockEnabled() to enable and disable docking areas for dock windows. When adding or moving dock windows you can specify their 'edge' (dock area). The currently available edges are: Top, Left, Right, Bottom, Minimized (effectively a 'hidden' dock area) and TornOff (floating). See TQt::Dock for an explanation of these areas. Note that the *ToolBar functions are included for backward compatibility; all new code should use the *DockWindow functions. QToolbar is a subclass of QDockWindow so all functions that work with dock windows work on toolbars in the same way.
.PP
.PP
If the user clicks the close button, then the dock window is hidden. A dock window can be hidden or unhidden by the user by right clicking a dock area and clicking the name of the relevant dock window on the pop up dock window menu. This menu lists the names of every dock window; visible dock windows have a tick beside their names. The dock window menu is created automatically as required by createDockWindowMenu(). Since it may not always be appropriate for a dock window to appear on this menu the setAppropriate() function is used to inform the main window whether or not the dock window menu should include a particular dock window. Double clicking a dock window handle (usually on the left-hand side of the dock window) undocks (floats) the dock window. Double clicking a floating dock window's titlebar will dock the floating dock window. (See also QMainWindow::DockWindows.)
If the user clicks the close button, then the dock window is hidden. A dock window can be hidden or unhidden by the user by right clicking a dock area and clicking the name of the relevant dock window on the pop up dock window menu. This menu lists the names of every dock window; visible dock windows have a tick beside their names. The dock window menu is created automatically as required by createDockWindowMenu(). Since it may not always be appropriate for a dock window to appear on this menu the setAppropriate() function is used to inform the main window whether or not the dock window menu should include a particular dock window. Double clicking a dock window handle (usually on the left-hand side of the dock window) undocks (floats) the dock window. Double clicking a floating dock window's titlebar will dock the floating dock window. (See also QMainWindow::DockWindows.)
The \fItype\fR parameter must be one of QEvent::MouseButtonPress, QEvent::MouseButtonRelease, QEvent::MouseButtonDblClick or QEvent::MouseMove.
The \fItype\fR parameter must be one of QEvent::MouseButtonPress, QEvent::MouseButtonRelease, QEvent::MouseButtonDblClick or QEvent::MouseMove.
.PP
.PP
The \fIpos\fR parameter specifies the position relative to the receiving widget. \fIbutton\fR specifies the button that caused the event, which should be Qt::NoButton (0), if \fItype\fR is MouseMove. \fIstate\fR is the ButtonState at the time of the event.
The \fIpos\fR parameter specifies the position relative to the receiving widget. \fIbutton\fR specifies the button that caused the event, which should be TQt::NoButton (0), if \fItype\fR is MouseMove. \fIstate\fR is the ButtonState at the time of the event.
.PP
.PP
The globalPos() is initialized to QCursor::pos(), which may not be appropriate. Use the other constructor to specify the global position explicitly.
The globalPos() is initialized to QCursor::pos(), which may not be appropriate. Use the other constructor to specify the global position explicitly.
.SH "QMouseEvent::QMouseEvent ( Type type, const QPoint & pos, const QPoint & globalPos, int button, int state )"
.SH "QMouseEvent::QMouseEvent ( Type type, const QPoint & pos, const QPoint & globalPos, int button, int state )"
@ -90,7 +90,7 @@ Constructs a mouse event object.
.PP
.PP
The \fItype\fR parameter must be QEvent::MouseButtonPress, QEvent::MouseButtonRelease, QEvent::MouseButtonDblClick or QEvent::MouseMove.
The \fItype\fR parameter must be QEvent::MouseButtonPress, QEvent::MouseButtonRelease, QEvent::MouseButtonDblClick or QEvent::MouseMove.
.PP
.PP
The \fIpos\fR parameter specifies the position relative to the receiving widget. \fIglobalPos\fR is the position in absolute coordinates. \fIbutton\fR specifies the button that caused the event, which should be Qt::NoButton (0), if \fItype\fR is MouseMove. \fIstate\fR is the ButtonState at the time of the event.
The \fIpos\fR parameter specifies the position relative to the receiving widget. \fIglobalPos\fR is the position in absolute coordinates. \fIbutton\fR specifies the button that caused the event, which should be TQt::NoButton (0), if \fItype\fR is MouseMove. \fIstate\fR is the ButtonState at the time of the event.
.SH "void QMouseEvent::accept ()"
.SH "void QMouseEvent::accept ()"
Sets the accept flag of the mouse event object.
Sets the accept flag of the mouse event object.
.PP
.PP
@ -106,7 +106,7 @@ Possible return values are LeftButton, RightButton, MidButton and NoButton.
.PP
.PP
Note that the returned value is always NoButton for mouse move events.
Note that the returned value is always NoButton for mouse move events.
.PP
.PP
See also state() and Qt::ButtonState.
See also state() and TQt::ButtonState.
.PP
.PP
Examples:
Examples:
.)l dclock/dclock.cpp, life/life.cpp, and t14/cannon.cpp.
.)l dclock/dclock.cpp, life/life.cpp, and t14/cannon.cpp.
@ -152,14 +152,14 @@ This value is mainly interesting for QEvent::MouseMove; for the other cases, but
.PP
.PP
The returned value is LeftButton, RightButton, MidButton, ShiftButton, ControlButton and AltButton OR'ed together.
The returned value is LeftButton, RightButton, MidButton, ShiftButton, ControlButton and AltButton OR'ed together.
.PP
.PP
See also button(), stateAfter(), and Qt::ButtonState.
See also button(), stateAfter(), and TQt::ButtonState.
@ -28,7 +28,7 @@ Inherited by TQWidget, QPixmap, QPicture, and QPrinter.
.BI "virtual HDC \fBhandle\fR () const"
.BI "virtual HDC \fBhandle\fR () const"
.br
.br
.ti -1c
.ti -1c
.BI "virtual Qt::HANDLE \fBhandle\fR () const"
.BI "virtual TQt::HANDLE \fBhandle\fR () const"
.br
.br
.ti -1c
.ti -1c
.BI "Display * \fBx11Display\fR () const"
.BI "Display * \fBx11Display\fR () const"
@ -43,7 +43,7 @@ Inherited by TQWidget, QPixmap, QPicture, and QPrinter.
.BI "int \fBx11Cells\fR () const"
.BI "int \fBx11Cells\fR () const"
.br
.br
.ti -1c
.ti -1c
.BI "Qt::HANDLE \fBx11Colormap\fR () const"
.BI "TQt::HANDLE \fBx11Colormap\fR () const"
.br
.br
.ti -1c
.ti -1c
.BI "bool \fBx11DefaultColormap\fR () const"
.BI "bool \fBx11DefaultColormap\fR () const"
@ -82,10 +82,10 @@ Inherited by TQWidget, QPixmap, QPicture, and QPrinter.
.BI "int \fBx11AppCells\fR ()"
.BI "int \fBx11AppCells\fR ()"
.br
.br
.ti -1c
.ti -1c
.BI "Qt::HANDLE \fBx11AppRootWindow\fR ()"
.BI "TQt::HANDLE \fBx11AppRootWindow\fR ()"
.br
.br
.ti -1c
.ti -1c
.BI "Qt::HANDLE \fBx11AppColormap\fR ()"
.BI "TQt::HANDLE \fBx11AppColormap\fR ()"
.br
.br
.ti -1c
.ti -1c
.BI "bool \fBx11AppDefaultColormap\fR ()"
.BI "bool \fBx11AppDefaultColormap\fR ()"
@ -103,10 +103,10 @@ Inherited by TQWidget, QPixmap, QPicture, and QPrinter.
.BI "int \fBx11AppCells\fR ( int screen )"
.BI "int \fBx11AppCells\fR ( int screen )"
.br
.br
.ti -1c
.ti -1c
.BI "Qt::HANDLE \fBx11AppRootWindow\fR ( int screen )"
.BI "TQt::HANDLE \fBx11AppRootWindow\fR ( int screen )"
.br
.br
.ti -1c
.ti -1c
.BI "Qt::HANDLE \fBx11AppColormap\fR ( int screen )"
.BI "TQt::HANDLE \fBx11AppColormap\fR ( int screen )"
.br
.br
.ti -1c
.ti -1c
.BI "void * \fBx11AppVisual\fR ( int screen )"
.BI "void * \fBx11AppVisual\fR ( int screen )"
@ -142,7 +142,7 @@ Inherited by TQWidget, QPixmap, QPicture, and QPrinter.
.SH RELATED FUNCTION DOCUMENTATION
.SH RELATED FUNCTION DOCUMENTATION
.in +1c
.in +1c
.ti -1c
.ti -1c
.BI "void \fBbitBlt\fR ( QPaintDevice * dst, int dx, int dy, const QPaintDevice * src, int sx, int sy, int sw, int sh, Qt::RasterOp rop, bool ignoreMask )"
.BI "void \fBbitBlt\fR ( QPaintDevice * dst, int dx, int dy, const QPaintDevice * src, int sx, int sy, int sw, int sh, TQt::RasterOp rop, bool ignoreMask )"
Returns the window system handle of the paint device, for low-level access. Using this function is not portable.
Returns the window system handle of the paint device, for low-level access. Using this function is not portable.
.PP
.PP
The HANDLE type varies with platform; see ntqpaintdevice.h and ntqwindowdefs.h for details.
The HANDLE type varies with platform; see ntqpaintdevice.h and ntqwindowdefs.h for details.
@ -225,11 +225,11 @@ This is an overloaded member function, provided for convenience. It behaves esse
Returns the number of entries in the colormap for screen \fIscreen\fR of the X display global to the application (X11 only). Using this function is not portable.
Returns the number of entries in the colormap for screen \fIscreen\fR of the X display global to the application (X11 only). Using this function is not portable.
Returns the colormap for the default screen of the X display global to the application (X11 only). Using this function is not portable.
Returns the colormap for the default screen of the X display global to the application (X11 only). Using this function is not portable.
.PP
.PP
See also x11Cells().
See also x11Cells().
.SH "Qt::HANDLE QPaintDevice::x11AppColormap ( int screen )\fC [static]\fR"
.SH "TQt::HANDLE QPaintDevice::x11AppColormap ( int screen )\fC [static]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
.PP
Returns the colormap for screen \fIscreen\fR of the X display global to the application (X11 only). Using this function is not portable.
Returns the colormap for screen \fIscreen\fR of the X display global to the application (X11 only). Using this function is not portable.
@ -283,9 +283,9 @@ This is an overloaded member function, provided for convenience. It behaves esse
Returns the vertical DPI of the X11 display (X11 only) for the default screen. Using this function is not portable. See QPaintDeviceMetrics for portable access to related information. Using this function is not portable.
Returns the vertical DPI of the X11 display (X11 only) for the default screen. Using this function is not portable. See QPaintDeviceMetrics for portable access to related information. Using this function is not portable.
.PP
.PP
See also x11AppDpiX(), x11SetAppDpiY(), and QPaintDeviceMetrics::logicalDpiY().
See also x11AppDpiX(), x11SetAppDpiY(), and QPaintDeviceMetrics::logicalDpiY().
Returns the colormap of the X display for the paint device (X11 only). Using this function is not portable.
Returns the colormap of the X display for the paint device (X11 only). Using this function is not portable.
.PP
.PP
See also x11Cells().
See also x11Cells().
@ -340,10 +340,10 @@ Sets the value returned by x11AppDpiY() to \fIdpi\fR for the default screen. The
.SH "void * QPaintDevice::x11Visual () const"
.SH "void * QPaintDevice::x11Visual () const"
Returns the Visual of the X display for the paint device (X11 only). Using this function is not portable.
Returns the Visual of the X display for the paint device (X11 only). Using this function is not portable.
.SH RELATED FUNCTION DOCUMENTATION
.SH RELATED FUNCTION DOCUMENTATION
.SH "void bitBlt ( QPaintDevice * dst, int dx, int dy, const QPaintDevice * src, int sx, int sy, int sw, int sh, Qt::RasterOp rop, bool ignoreMask )"
.SH "void bitBlt ( QPaintDevice * dst, int dx, int dy, const QPaintDevice * src, int sx, int sy, int sw, int sh, TQt::RasterOp rop, bool ignoreMask )"
Copies a block of pixels from \fIsrc\fR to \fIdst\fR, perhaps merging each pixel according to the raster operation \fIrop\fR. \fIsx\fR, \fIsy\fR is the top-left pixel in \fIsrc\fR (0, 0) by default, \fIdx\fR, \fIdy\fR is the top-left position in \fIdst\fR and \fIsw\fR, \fIsh\fR is the size of the copied block (all of \fIsrc\fR by default).
Copies a block of pixels from \fIsrc\fR to \fIdst\fR, perhaps merging each pixel according to the raster operation \fIrop\fR. \fIsx\fR, \fIsy\fR is the top-left pixel in \fIsrc\fR (0, 0) by default, \fIdx\fR, \fIdy\fR is the top-left position in \fIdst\fR and \fIsw\fR, \fIsh\fR is the size of the copied block (all of \fIsrc\fR by default).
.PP
.PP
The most common values for \fIrop\fR are CopyROP and XorROP; the Qt::RasterOp documentation defines all the possible values.
The most common values for \fIrop\fR are CopyROP and XorROP; the TQt::RasterOp documentation defines all the possible values.
.PP
.PP
If \fIignoreMask\fR is FALSE (the default) and \fIsrc\fR is a masked QPixmap, the entire blit is masked by \fIsrc\fR->mask().
If \fIignoreMask\fR is FALSE (the default) and \fIsrc\fR is a masked QPixmap, the entire blit is masked by \fIsrc\fR->mask().
@ -463,7 +463,7 @@ Mostly, all this is done inside a paint event. (In fact, 99% of all QPainter use
.br
.br
QPainter paint( this );
QPainter paint( this );
.br
.br
paint.setPen( Qt::blue );
paint.setPen( TQt::blue );
.br
.br
paint.drawText( rect(), AlignCenter, "The Text" );
paint.drawText( rect(), AlignCenter, "The Text" );
.br
.br
@ -710,7 +710,7 @@ If several of the horizontal or several of the vertical alignment flags are set,
.PP
.PP
The \fIintern\fR parameter should not be used.
The \fIintern\fR parameter should not be used.
.PP
.PP
See also Qt::TextFlags.
See also TQt::TextFlags.
.SH "QRect QPainter::boundingRect ( const QRect & r, int flags, const TQString & str, int len = -1, QTextParag ** internal = 0 )"
.SH "QRect QPainter::boundingRect ( const QRect & r, int flags, const TQString & str, int len = -1, QTextParag ** internal = 0 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
.PP
@ -718,7 +718,7 @@ Returns the bounding rectangle of the aligned text that would be printed with th
.PP
.PP
The \fIinternal\fR parameter should not be used.
The \fIinternal\fR parameter should not be used.
.PP
.PP
See also drawText(), fontMetrics(), QFontMetrics::boundingRect(), and Qt::TextFlags.
See also drawText(), fontMetrics(), QFontMetrics::boundingRect(), and TQt::TextFlags.
.SH "const QBrush & QPainter::brush () const"
.SH "const QBrush & QPainter::brush () const"
Returns the painter's current brush.
Returns the painter's current brush.
.PP
.PP
@ -821,7 +821,7 @@ Draws the image \fIi\fR at point \fIp\fR.
.PP
.PP
If the image needs to be modified to fit in a lower-resolution result (e.g. converting from 32-bit to 8-bit), use the \fIconversion_flags\fR to specify how you'd prefer this to happen.
If the image needs to be modified to fit in a lower-resolution result (e.g. converting from 32-bit to 8-bit), use the \fIconversion_flags\fR to specify how you'd prefer this to happen.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
.PP
@ -997,13 +997,13 @@ Draws the text from position \fIpos\fR, at point \fI(x, y)\fR. If \fIlen\fR is -
.SH "void QPainter::drawText ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, QRect * br = 0, QTextParag ** internal = 0 )"
.SH "void QPainter::drawText ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, QRect * br = 0, QTextParag ** internal = 0 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
.PP
Draws the given text within the rectangle starting at \fIx\fR, \fIy\fR, with width \fIw\fR and height \fIh\fR. If \fIlen\fR is -1 (the default) all the text is drawn, otherwise the first \fIlen\fR characters are drawn. The text's flags that are given in the \fIflags\fR parameter are Qt::AlignmentFlags and Qt::TextFlags OR'd together. \fIbr\fR (if not null) is set to the actual bounding rectangle of the output. The \fIinternal\fR parameter is for internal use only.
Draws the given text within the rectangle starting at \fIx\fR, \fIy\fR, with width \fIw\fR and height \fIh\fR. If \fIlen\fR is -1 (the default) all the text is drawn, otherwise the first \fIlen\fR characters are drawn. The text's flags that are given in the \fIflags\fR parameter are TQt::AlignmentFlags and TQt::TextFlags OR'd together. \fIbr\fR (if not null) is set to the actual bounding rectangle of the output. The \fIinternal\fR parameter is for internal use only.
.SH "void QPainter::drawText ( const QRect & r, int tf, const TQString & str, int len = -1, QRect * brect = 0, QTextParag ** internal = 0 )"
.SH "void QPainter::drawText ( const QRect & r, int tf, const TQString & str, int len = -1, QRect * brect = 0, QTextParag ** internal = 0 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
.PP
Draws at most \fIlen\fR characters from \fIstr\fR in the rectangle \fIr\fR.
Draws at most \fIlen\fR characters from \fIstr\fR in the rectangle \fIr\fR.
.PP
.PP
This function draws formatted text. The \fItf\fR text format is really of type Qt::AlignmentFlags and Qt::TextFlags OR'd together.
This function draws formatted text. The \fItf\fR text format is really of type TQt::AlignmentFlags and TQt::TextFlags OR'd together.
.PP
.PP
Horizontal alignment defaults to AlignAuto and vertical alignment defaults to AlignTop.
Horizontal alignment defaults to AlignAuto and vertical alignment defaults to AlignTop.
.PP
.PP
@ -1341,7 +1341,7 @@ See also pen() and QPen.
.SH "void QPainter::setRasterOp ( RasterOp r )"
.SH "void QPainter::setRasterOp ( RasterOp r )"
Sets the raster operation to \fIr\fR. The default is CopyROP.
Sets the raster operation to \fIr\fR. The default is CopyROP.
.PP
.PP
See also rasterOp() and Qt::RasterOp.
See also rasterOp() and TQt::RasterOp.
.SH "void QPainter::setTabArray ( int * ta )"
.SH "void QPainter::setTabArray ( int * ta )"
Sets the tab stop array to \fIta\fR. This puts tab stops at \fIta[0]\fR, \fIta[1]\fR and so on. The array is null-terminated.
Sets the tab stop array to \fIta\fR. This puts tab stops at \fIta[0]\fR, \fIta[1]\fR and so on. The array is null-terminated.
@ -87,7 +87,7 @@ The QPen class defines how a QPainter should draw lines and outlines of shapes.
.PP
.PP
A pen has a style, width, color, cap style and join style.
A pen has a style, width, color, cap style and join style.
.PP
.PP
The pen style defines the line type. The default pen style is Qt::SolidLine. Setting the style to NoPen tells the painter to not draw lines or outlines.
The pen style defines the line type. The default pen style is TQt::SolidLine. Setting the style to NoPen tells the painter to not draw lines or outlines.
.PP
.PP
When drawing 1 pixel wide diagonal lines you can either use a very fast algorithm (specified by a line width of 0, which is the default), or a slower but more accurate algorithm (specified by a line width of 1). For horizontal and vertical lines a line width of 0 is the same as a line width of 1. The cap and join style have no effect on 0-width lines.
When drawing 1 pixel wide diagonal lines you can either use a very fast algorithm (specified by a line width of 0, which is the default), or a slower but more accurate algorithm (specified by a line width of 1). For horizontal and vertical lines a line width of 0 is the same as a line width of 1. The cap and join style have no effect on 0-width lines.
.PP
.PP
@ -119,7 +119,7 @@ Example:
.br
.br
.fi
.fi
.PP
.PP
See the Qt::PenStyle enum type for a complete list of pen styles.
See the TQt::PenStyle enum type for a complete list of pen styles.
.PP
.PP
With reference to the end points of lines, for wide (non-0-width) pens it depends on the cap style whether the end point is drawn or not. QPainter will try to make sure that the end point is drawn for 0-width pens, but this cannot be absolutely guaranteed because the underlying drawing engine is free to use any (typically accelerated) algorithm for drawing 0-width lines. On all tested systems, however, the end point of at least all non-diagonal lines are drawn.
With reference to the end points of lines, for wide (non-0-width) pens it depends on the cap style whether the end point is drawn or not. QPainter will try to make sure that the end point is drawn for 0-width pens, but this cannot be absolutely guaranteed because the underlying drawing engine is free to use any (typically accelerated) algorithm for drawing 0-width lines. On all tested systems, however, the end point of at least all non-diagonal lines are drawn.
.PP
.PP
@ -223,7 +223,7 @@ Example: themes/wood.cpp.
.SH "void QPen::setStyle ( PenStyle s )"
.SH "void QPen::setStyle ( PenStyle s )"
Sets the pen style to \fIs\fR.
Sets the pen style to \fIs\fR.
.PP
.PP
See the Qt::PenStyle documentation for a list of all the styles.
See the TQt::PenStyle documentation for a list of all the styles.
.PP
.PP
\fBWarning:\fR On Mac OS X the style setting (other than NoPen and SolidLine) have no effect as they are not implemented by the underlying system.
\fBWarning:\fR On Mac OS X the style setting (other than NoPen and SolidLine) have no effect as they are not implemented by the underlying system.
.BI "void \fBfill\fR ( const TQWidget * widget, int xofs, int yofs )"
.BI "void \fBfill\fR ( const TQWidget * widget, int xofs, int yofs )"
@ -319,7 +319,7 @@ The \fIfileName\fR, \fIformat\fR and \fIconversion_flags\fR parameters are passe
.PP
.PP
If the image needs to be modified to fit in a lower-resolution result (e.g. converting from 32-bit to 8-bit), use the \fIconversion_flags\fR to specify how you'd prefer this to happen.
If the image needs to be modified to fit in a lower-resolution result (e.g. converting from 32-bit to 8-bit), use the \fIconversion_flags\fR to specify how you'd prefer this to happen.
.PP
.PP
See also Qt::ImageConversionFlags, isNull(), load(), loadFromData(), save(), and imageFormat().
See also TQt::ImageConversionFlags, isNull(), load(), loadFromData(), save(), and imageFormat().
.SH "QPixmap::QPixmap ( const char * xpm[] )"
.SH "QPixmap::QPixmap ( const char * xpm[] )"
Constructs a pixmap from \fIxpm\fR, which must be a valid XPM image.
Constructs a pixmap from \fIxpm\fR, which must be a valid XPM image.
Converts image \fIimg\fR and sets this pixmap. Returns TRUE if successful; otherwise returns FALSE.
Converts image \fIimg\fR and sets this pixmap. Returns TRUE if successful; otherwise returns FALSE.
.PP
.PP
The \fIconversion_flags\fR argument is a bitwise-OR of the Qt::ImageConversionFlags. Passing 0 for \fIconversion_flags\fR sets all the default options.
The \fIconversion_flags\fR argument is a bitwise-OR of the TQt::ImageConversionFlags. Passing 0 for \fIconversion_flags\fR sets all the default options.
.PP
.PP
Note that even though a QPixmap with depth 1 behaves much like a QBitmap, isQBitmap() returns FALSE.
Note that even though a QPixmap with depth 1 behaves much like a QBitmap, isQBitmap() returns FALSE.
.PP
.PP
@ -419,7 +419,7 @@ A pixmap is automatically detached by TQt whenever its contents is about to chan
It is possible to modify a pixmap without letting TQt know. You can first obtain the system-dependent handle() and then call system-specific functions (for instance, BitBlt under Windows) that modify the pixmap contents. In such cases, you can call detach() to cut the pixmap loose from other pixmaps that share data with this one.
It is possible to modify a pixmap without letting TQt know. You can first obtain the system-dependent handle() and then call system-specific functions (for instance, BitBlt under Windows) that modify the pixmap contents. In such cases, you can call detach() to cut the pixmap loose from other pixmaps that share data with this one.
.PP
.PP
detach() returns immediately if there is just a single reference or if the pixmap has not been initialized yet.
detach() returns immediately if there is just a single reference or if the pixmap has not been initialized yet.
@ -37,7 +37,7 @@ Creates an image packer that writes PNG data to IO device \fIiod\fR using a \fIs
.PP
.PP
If the image needs to be modified to fit in a lower-resolution result (e.g. converting from 32-bit to 8-bit), use the \fIconversionflags\fR to specify how you'd prefer this to happen.
If the image needs to be modified to fit in a lower-resolution result (e.g. converting from 32-bit to 8-bit), use the \fIconversionflags\fR to specify how you'd prefer this to happen.
@ -413,7 +413,7 @@ To enable drag-and-drop, you would setAcceptDrops(TRUE) on the QScrollView (beca
.PP
.PP
To handle mouse events on the scrolling area, subclass scrollview as you would subclass other widgets, but rather than reimplementing mousePressEvent(), reimplement contentsMousePressEvent() instead. The contents specific event handlers provide translated events in the coordinate system of the scrollview. If you reimplement mousePressEvent(), you'll get called only when part of the QScrollView is clicked: and the only such part is the "corner" (if you don't set a cornerWidget()) and the frame; everything else is covered up by the viewport, clipper or scroll bars.
To handle mouse events on the scrolling area, subclass scrollview as you would subclass other widgets, but rather than reimplementing mousePressEvent(), reimplement contentsMousePressEvent() instead. The contents specific event handlers provide translated events in the coordinate system of the scrollview. If you reimplement mousePressEvent(), you'll get called only when part of the QScrollView is clicked: and the only such part is the "corner" (if you don't set a cornerWidget()) and the frame; everything else is covered up by the viewport, clipper or scroll bars.
.PP
.PP
When you construct a QScrollView, some of the widget flags apply to the viewport() instead of being sent to the TQWidget constructor for the QScrollView. This applies to WNoAutoErase, WStaticContents, and WPaintClever. See Qt::WidgetFlags for documentation about these flags. Here are some examples:
When you construct a QScrollView, some of the widget flags apply to the viewport() instead of being sent to the TQWidget constructor for the QScrollView. This applies to WNoAutoErase, WStaticContents, and WPaintClever. See TQt::WidgetFlags for documentation about these flags. Here are some examples:
.IP
.IP
.TP
.TP
An image-manipulation widget would use \fCWNoAutoErase|WStaticContents\fR because the widget draws all pixels itself, and when its size increases, it only needs a paint event for the new part because the old part remains unchanged.
An image-manipulation widget would use \fCWNoAutoErase|WStaticContents\fR because the widget draws all pixels itself, and when its size increases, it only needs a paint event for the new part because the old part remains unchanged.
@ -88,7 +88,7 @@ The font is used as a basis for the text rendering. When using rich text renderi
\fIcontext\fR is the optional context of the rich text object. This becomes important if \fItext\fR contains relative references, for example within image tags. QSimpleRichText always uses the default mime source factory (see QMimeSourceFactory::defaultFactory()) to resolve those references. The context will then be used to calculate the absolute path. See QMimeSourceFactory::makeAbsolute() for details.
\fIcontext\fR is the optional context of the rich text object. This becomes important if \fItext\fR contains relative references, for example within image tags. QSimpleRichText always uses the default mime source factory (see QMimeSourceFactory::defaultFactory()) to resolve those references. The context will then be used to calculate the absolute path. See QMimeSourceFactory::makeAbsolute() for details.
.PP
.PP
The \fIsheet\fR is an optional style sheet. If it is 0, the default style sheet will be used (see QStyleSheet::defaultSheet()).
The \fIsheet\fR is an optional style sheet. If it is 0, the default style sheet will be used (see QStyleSheet::defaultSheet()).
Constructs a QSimpleRichText from the rich text string \fItext\fR and the font \fIfnt\fR.
Constructs a QSimpleRichText from the rich text string \fItext\fR and the font \fIfnt\fR.
.PP
.PP
This is a slightly more complex constructor for QSimpleRichText that takes an additional mime source factory \fIfactory\fR, a page break parameter \fIpageBreak\fR and a bool \fIlinkUnderline\fR. \fIlinkColor\fR is only provided for compatibility, but has no effect, as QColorGroup's QColorGroup::link() color is used now.
This is a slightly more complex constructor for QSimpleRichText that takes an additional mime source factory \fIfactory\fR, a page break parameter \fIpageBreak\fR and a bool \fIlinkUnderline\fR. \fIlinkColor\fR is only provided for compatibility, but has no effect, as QColorGroup's QColorGroup::link() color is used now.
The \fIorientation\fR must be Qt::Vertical or Qt::Horizontal.
The \fIorientation\fR must be TQt::Vertical or TQt::Horizontal.
.PP
.PP
The \fIparent\fR and \fIname\fR arguments are sent on to the TQWidget constructor.
The \fIparent\fR and \fIname\fR arguments are sent on to the TQWidget constructor.
.SH "QSlider::QSlider ( int minValue, int maxValue, int pageStep, int value, Orientation orientation, TQWidget * parent, const char * name = 0 )"
.SH "QSlider::QSlider ( int minValue, int maxValue, int pageStep, int value, Orientation orientation, TQWidget * parent, const char * name = 0 )"
Constructs a slider whose value can never be smaller than \fIminValue\fR or greater than \fImaxValue\fR, whose page step size is \fIpageStep\fR and whose value is initially \fIvalue\fR (which is guaranteed to be in range using bound()).
Constructs a slider whose value can never be smaller than \fIminValue\fR or greater than \fImaxValue\fR, whose page step size is \fIpageStep\fR and whose value is initially \fIvalue\fR (which is guaranteed to be in range using bound()).
.PP
.PP
If \fIorientation\fR is Qt::Vertical the slider is vertical and if it is Qt::Horizontal the slider is horizontal.
If \fIorientation\fR is TQt::Vertical the slider is vertical and if it is TQt::Horizontal the slider is horizontal.
.PP
.PP
The \fIparent\fR and \fIname\fR arguments are sent on to the TQWidget constructor.
The \fIparent\fR and \fIname\fR arguments are sent on to the TQWidget constructor.
.SH "QSlider::~QSlider ()"
.SH "QSlider::~QSlider ()"
@ -324,7 +324,7 @@ Set this property's value with setMinValue() and get this property's value with
.SH "Orientation orientation"
.SH "Orientation orientation"
This property holds the slider's orientation.
This property holds the slider's orientation.
.PP
.PP
The orientation must be Qt::Vertical (the default) or Qt::Horizontal.
The orientation must be TQt::Vertical (the default) or TQt::Horizontal.
.PP
.PP
Set this property's value with setOrientation() and get this property's value with orientation().
Set this property's value with setOrientation() and get this property's value with orientation().
This signal is emitted when the message on the splash screen changes. \fImessage\fR is the new message and is a null-string when the message has been removed.
This signal is emitted when the message on the splash screen changes. \fImessage\fR is the new message and is a null-string when the message has been removed.
@ -536,9 +536,9 @@ This enum represents a StyleHint. A StyleHint is a general look and/or feel hint
.TP
.TP
\fCQStyle::SH_ScrollBar_ScrollWhenPointerLeavesControl\fR - a boolean value. If TRUE, when clicking a scrollbar SubControl, holding the mouse button down and moving the pointer outside the SubControl, the scrollbar continues to scroll. If FALSE, the scollbar stops scrolling when the pointer leaves the SubControl.
\fCQStyle::SH_ScrollBar_ScrollWhenPointerLeavesControl\fR - a boolean value. If TRUE, when clicking a scrollbar SubControl, holding the mouse button down and moving the pointer outside the SubControl, the scrollbar continues to scroll. If FALSE, the scollbar stops scrolling when the pointer leaves the SubControl.
.TP
.TP
\fCQStyle::SH_TabBar_Alignment\fR - the alignment for tabs in a QTabWidget. Possible values are Qt::AlignLeft, Qt::AlignCenter and Qt::AlignRight.
\fCQStyle::SH_TabBar_Alignment\fR - the alignment for tabs in a QTabWidget. Possible values are TQt::AlignLeft, TQt::AlignCenter and TQt::AlignRight.
.TP
.TP
\fCQStyle::SH_Header_ArrowAlignment\fR - the placement of the sorting indicator may appear in list or table headers. Possible values are Qt::Left or Qt::Right.
\fCQStyle::SH_Header_ArrowAlignment\fR - the placement of the sorting indicator may appear in list or table headers. Possible values are TQt::Left or TQt::Right.
.TP
.TP
\fCQStyle::SH_Slider_SnapToValue\fR - sliders snap to values while moving, like Windows
\fCQStyle::SH_Slider_SnapToValue\fR - sliders snap to values while moving, like Windows
.TP
.TP
@ -546,7 +546,7 @@ This enum represents a StyleHint. A StyleHint is a general look and/or feel hint
.TP
.TP
\fCQStyle::SH_ProgressDialog_CenterCancelButton\fR - center button on progress dialogs, like Motif, otherwise right aligned.
\fCQStyle::SH_ProgressDialog_CenterCancelButton\fR - center button on progress dialogs, like Motif, otherwise right aligned.
.TP
.TP
\fCQStyle::SH_ProgressDialog_TextLabelAlignment\fR - Qt::AlignmentFlags -- text label alignment in progress dialogs; Center on windows, Auto|VCenter otherwise.
\fCQStyle::SH_ProgressDialog_TextLabelAlignment\fR - TQt::AlignmentFlags -- text label alignment in progress dialogs; Center on windows, Auto|VCenter otherwise.
.TP
.TP
\fCQStyle::SH_PrintDialog_RightAlignButtons\fR - right align buttons in the print dialog, like Windows.
\fCQStyle::SH_PrintDialog_RightAlignButtons\fR - right align buttons in the print dialog, like Windows.
.TP
.TP
@ -876,7 +876,7 @@ The rect \fIr\fR should be in screen coordinates.
Draws the \fItext\fR or \fIpixmap\fR in rectangle \fIr\fR using painter \fIp\fR and color group \fIg\fR. The pen color is specified with \fIpenColor\fR. The \fIenabled\fR bool indicates whether or not the item is enabled; when reimplementing this bool should influence how the item is drawn. If \fIlen\fR is -1 (the default) all the \fItext\fR is drawn; otherwise only the first \fIlen\fR characters of \fItext\fR are drawn. The text is aligned and wrapped according to the alignment \fIflags\fR (see Qt::AlignmentFlags).
Draws the \fItext\fR or \fIpixmap\fR in rectangle \fIr\fR using painter \fIp\fR and color group \fIg\fR. The pen color is specified with \fIpenColor\fR. The \fIenabled\fR bool indicates whether or not the item is enabled; when reimplementing this bool should influence how the item is drawn. If \fIlen\fR is -1 (the default) all the \fItext\fR is drawn; otherwise only the first \fIlen\fR characters of \fItext\fR are drawn. The text is aligned and wrapped according to the alignment \fIflags\fR (see TQt::AlignmentFlags).
.PP
.PP
By default, if both the text and the pixmap are not null, the pixmap is drawn and the text is ignored.
By default, if both the text and the pixmap are not null, the pixmap is drawn and the text is ignored.
.SH "QRect QStyle::itemRect ( QPainter * p, const QRect & r, int flags, bool enabled, const QPixmap * pixmap, const TQString & text, int len = -1 ) const\fC [virtual]\fR"
.SH "QRect QStyle::itemRect ( QPainter * p, const QRect & r, int flags, bool enabled, const QPixmap * pixmap, const TQString & text, int len = -1 ) const\fC [virtual]\fR"
Returns the appropriate area (see below) within rectangle \fIr\fR in which to draw the \fItext\fR or \fIpixmap\fR using painter \fIp\fR. If \fIlen\fR is -1 (the default) all the \fItext\fR is drawn; otherwise only the first \fIlen\fR characters of \fItext\fR are drawn. The text is aligned in accordance with the alignment \fIflags\fR (see Qt::AlignmentFlags). The \fIenabled\fR bool indicates whether or not the item is enabled.
Returns the appropriate area (see below) within rectangle \fIr\fR in which to draw the \fItext\fR or \fIpixmap\fR using painter \fIp\fR. If \fIlen\fR is -1 (the default) all the \fItext\fR is drawn; otherwise only the first \fIlen\fR characters of \fItext\fR are drawn. The text is aligned in accordance with the alignment \fIflags\fR (see TQt::AlignmentFlags). The \fIenabled\fR bool indicates whether or not the item is enabled.
.PP
.PP
If \fIr\fR is larger than the area needed to render the \fItext\fR the rectangle that is returned will be offset within \fIr\fR in accordance with the alignment \fIflags\fR. For example if \fIflags\fR is AlignCenter the returned rectangle will be centered within \fIr\fR. If \fIr\fR is smaller than the area needed the rectangle that is returned will be \fIlarger\fR than \fIr\fR (the smallest rectangle large enough to render the \fItext\fR or \fIpixmap\fR).
If \fIr\fR is larger than the area needed to render the \fItext\fR the rectangle that is returned will be offset within \fIr\fR in accordance with the alignment \fIflags\fR. For example if \fIflags\fR is AlignCenter the returned rectangle will be centered within \fIr\fR. If \fIr\fR is smaller than the area needed the rectangle that is returned will be \fIlarger\fR than \fIr\fR (the smallest rectangle large enough to render the \fItext\fR or \fIpixmap\fR).
@ -260,7 +260,7 @@ Destroys the style. Note that QStyleSheetItem objects become owned by QStyleShee
.SH "int QStyleSheetItem::alignment () const"
.SH "int QStyleSheetItem::alignment () const"
Returns the alignment of this style. Possible values are AlignAuto, AlignLeft, AlignRight, AlignCenter or AlignJustify.
Returns the alignment of this style. Possible values are AlignAuto, AlignLeft, AlignRight, AlignCenter or AlignJustify.
.PP
.PP
See also setAlignment() and Qt::AlignmentFlags.
See also setAlignment() and TQt::AlignmentFlags.
.SH "bool QStyleSheetItem::allowedInContext ( const QStyleSheetItem * s ) const"
.SH "bool QStyleSheetItem::allowedInContext ( const QStyleSheetItem * s ) const"
Returns TRUE if this style can be nested into an element of style \fIs\fR; otherwise returns FALSE.
Returns TRUE if this style can be nested into an element of style \fIs\fR; otherwise returns FALSE.
.PP
.PP
@ -358,7 +358,7 @@ See also setSelfNesting().
.SH "void QStyleSheetItem::setAlignment ( int f )"
.SH "void QStyleSheetItem::setAlignment ( int f )"
Sets the alignment to \fIf\fR. This only makes sense for styles with a display mode of DisplayBlock. Possible values are AlignAuto, AlignLeft, AlignRight, AlignCenter or AlignJustify.
Sets the alignment to \fIf\fR. This only makes sense for styles with a display mode of DisplayBlock. Possible values are AlignAuto, AlignLeft, AlignRight, AlignCenter or AlignJustify.
.PP
.PP
See also alignment(), displayMode(), and Qt::AlignmentFlags.
See also alignment(), displayMode(), and TQt::AlignmentFlags.
If \fIanc\fR is TRUE, sets this style to be an anchor (hypertext link); otherwise sets it to not be an anchor. Elements in this style link to other documents or anchors.
If \fIanc\fR is TRUE, sets this style to be an anchor (hypertext link); otherwise sets it to not be an anchor. Elements in this style link to other documents or anchors.
@ -127,7 +127,7 @@ However, you may occasionally need to say \fCQt::black\fR instead of just \fCbla
.PP
.PP
See also Miscellaneous Classes.
See also Miscellaneous Classes.
.SS "Member Type Documentation"
.SS "Member Type Documentation"
.SH "Qt::AlignmentFlags"
.SH "TQt::AlignmentFlags"
This enum type is used to describe alignment. It contains horizontal and vertical flags.
This enum type is used to describe alignment. It contains horizontal and vertical flags.
.PP
.PP
The horizontal flags are:
The horizontal flags are:
@ -163,13 +163,13 @@ Masks:
\fCQt::AlignVertical_Mask\fR
\fCQt::AlignVertical_Mask\fR
.PP
.PP
Conflicting combinations of flags have undefined meanings.
Conflicting combinations of flags have undefined meanings.
.SH "Qt::AnchorAttribute"
.SH "TQt::AnchorAttribute"
An anchor has one or more of the following attributes:
An anchor has one or more of the following attributes:
.TP
.TP
\fCQt::AnchorName\fR - the name attribute of the anchor. This attribute is used when scrolling to an anchor in the document.
\fCQt::AnchorName\fR - the name attribute of the anchor. This attribute is used when scrolling to an anchor in the document.
.TP
.TP
\fCQt::AnchorHref\fR - the href attribute of the anchor. This attribute is used when a link is clicked to determine what content to load.
\fCQt::AnchorHref\fR - the href attribute of the anchor. This attribute is used when a link is clicked to determine what content to load.
.SH "Qt::ArrowType"
.SH "TQt::ArrowType"
.TP
.TP
\fCQt::UpArrow\fR
\fCQt::UpArrow\fR
.TP
.TP
@ -178,13 +178,13 @@ An anchor has one or more of the following attributes:
\fCQt::LeftArrow\fR
\fCQt::LeftArrow\fR
.TP
.TP
\fCQt::RightArrow\fR
\fCQt::RightArrow\fR
.SH "Qt::BGMode"
.SH "TQt::BGMode"
Background mode
Background mode
.TP
.TP
\fCQt::TransparentMode\fR
\fCQt::TransparentMode\fR
.TP
.TP
\fCQt::OpaqueMode\fR
\fCQt::OpaqueMode\fR
.SH "Qt::BackgroundMode"
.SH "TQt::BackgroundMode"
This enum describes how the background of a widget changes, as the widget's palette changes.
This enum describes how the background of a widget changes, as the widget's palette changes.
.PP
.PP
The background is what the widget contains when paintEvent() is called. To minimize flicker, this should be the most common color or pixmap in the widget. For PaletteBackground, use colorGroup().brush( QColorGroup::Background ), and so on.
The background is what the widget contains when paintEvent() is called. To minimize flicker, this should be the most common color or pixmap in the widget. For PaletteBackground, use colorGroup().brush( QColorGroup::Background ), and so on.
@ -234,7 +234,7 @@ The final three values have special meaning:
Although FixedColor and FixedPixmap are sometimes just right, if you use them, make sure that you test your application when the desktop color scheme has been changed. (On X11, a quick way to test this is e.g. "./myapp -bg paleblue". On Windows, you must use the control panel.)
Although FixedColor and FixedPixmap are sometimes just right, if you use them, make sure that you test your application when the desktop color scheme has been changed. (On X11, a quick way to test this is e.g. "./myapp -bg paleblue". On Windows, you must use the control panel.)
.PP
.PP
See also TQWidget::backgroundMode, TQWidget::backgroundMode, TQWidget::setBackgroundPixmap(), and TQWidget::paletteBackgroundColor.
See also TQWidget::backgroundMode, TQWidget::backgroundMode, TQWidget::setBackgroundPixmap(), and TQWidget::paletteBackgroundColor.
.SH "Qt::BrushStyle"
.SH "TQt::BrushStyle"
.TP
.TP
\fCQt::NoBrush\fR
\fCQt::NoBrush\fR
.TP
.TP
@ -273,7 +273,7 @@ See also TQWidget::backgroundMode, TQWidget::backgroundMode, TQWidget::setBackgr
.B "[Image Omitted]"
.B "[Image Omitted]"
.PP
.PP
</center>
</center>
.SH "Qt::ButtonState"
.SH "TQt::ButtonState"
This enum type describes the state of the mouse and the modifier buttons.
This enum type describes the state of the mouse and the modifier buttons.
.TP
.TP
\fCQt::NoButton\fR - used when the button state does not refer to any button (see QMouseEvent::button()).
\fCQt::NoButton\fR - used when the button state does not refer to any button (see QMouseEvent::button()).
@ -297,7 +297,7 @@ This enum type describes the state of the mouse and the modifier buttons.
\fCQt::KeyButtonMask\fR - a mask for ShiftButton, ControlButton, AltButton and MetaButton.
\fCQt::KeyButtonMask\fR - a mask for ShiftButton, ControlButton, AltButton and MetaButton.
.TP
.TP
\fCQt::MouseButtonMask\fR - a mask for LeftButton, RightButton and MidButton.
\fCQt::MouseButtonMask\fR - a mask for LeftButton, RightButton and MidButton.
.SH "Qt::Corner"
.SH "TQt::Corner"
This enum type specifies a corner in a rectangle:
This enum type specifies a corner in a rectangle:
.TP
.TP
\fCQt::TopLeft\fR - top left corner
\fCQt::TopLeft\fR - top left corner
@ -307,7 +307,7 @@ This enum type specifies a corner in a rectangle:
\fCQt::BottomLeft\fR - bottom left corner
\fCQt::BottomLeft\fR - bottom left corner
.TP
.TP
\fCQt::BottomRight\fR - bottom right corner
\fCQt::BottomRight\fR - bottom right corner
.SH "Qt::CursorShape"
.SH "TQt::CursorShape"
This enum type defines the various cursors that can be used.
This enum type defines the various cursors that can be used.
.TP
.TP
\fCQt::ArrowCursor\fR - standard arrow cursor
\fCQt::ArrowCursor\fR - standard arrow cursor
@ -353,14 +353,14 @@ ArrowCursor is the default for widgets in a normal state.
.B "[Image Omitted]"
.B "[Image Omitted]"
.PP
.PP
</center>
</center>
.SH "Qt::DateFormat"
.SH "TQt::DateFormat"
.TP
.TP
\fCQt::TextDate\fR - (default) TQt format
\fCQt::TextDate\fR - (default) TQt format
.TP
.TP
\fCQt::ISODate\fR - ISO 8601 extended format (YYYY-MM-DD, or with time, YYYY-MM-DDTHH:MM:SS)
\fCQt::ISODate\fR - ISO 8601 extended format (YYYY-MM-DD, or with time, YYYY-MM-DDTHH:MM:SS)
.TP
.TP
\fCQt::LocalDate\fR - locale dependent format
\fCQt::LocalDate\fR - locale dependent format
.SH "Qt::Dock"
.SH "TQt::Dock"
Each dock window can be in one of the following positions:
Each dock window can be in one of the following positions:
.TP
.TP
\fCQt::DockTop\fR - above the central widget, below the menu bar.
\fCQt::DockTop\fR - above the central widget, below the menu bar.
@ -376,7 +376,7 @@ Each dock window can be in one of the following positions:
\fCQt::DockTornOff\fR - the dock window floats as its own top level window which always stays on top of the main window.
\fCQt::DockTornOff\fR - the dock window floats as its own top level window which always stays on top of the main window.
.TP
.TP
\fCQt::DockUnmanaged\fR - not managed by a QMainWindow.
\fCQt::DockUnmanaged\fR - not managed by a QMainWindow.
.SH "Qt::GUIStyle"
.SH "TQt::GUIStyle"
\fBThis type is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
\fBThis type is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.TP
.TP
\fCQt::WindowsStyle\fR
\fCQt::WindowsStyle\fR
@ -388,7 +388,7 @@ Each dock window can be in one of the following positions:
\fCQt::Win3Style\fR
\fCQt::Win3Style\fR
.TP
.TP
\fCQt::PMStyle\fR
\fCQt::PMStyle\fR
.SH "Qt::ImageConversionFlags"
.SH "TQt::ImageConversionFlags"
The conversion flag is a bitwise-OR of the following values. The options marked "(default)" are set if no other values from the list are included (since the defaults are zero):
The conversion flag is a bitwise-OR of the following values. The options marked "(default)" are set if no other values from the list are included (since the defaults are zero):
.PP
.PP
Color/Mono preference (ignored for QBitmap)
Color/Mono preference (ignored for QBitmap)
@ -436,7 +436,7 @@ The following are not values that are used directly, but masks for the above cla
\fCQt::DitherMode_Mask\fR - Mask for the mode that determines the preference of color matching versus dithering.
\fCQt::DitherMode_Mask\fR - Mask for the mode that determines the preference of color matching versus dithering.
.PP
.PP
Using 0 as the conversion flag sets all the default options.
Using 0 as the conversion flag sets all the default options.
.SH "Qt::Key"
.SH "TQt::Key"
The key names used by Qt.
The key names used by Qt.
.TP
.TP
\fCQt::Key_Escape\fR
\fCQt::Key_Escape\fR
@ -1006,7 +1006,7 @@ Multimedia keys
\fCQt::Key_Direction_L\fR - internal use only
\fCQt::Key_Direction_L\fR - internal use only
.TP
.TP
\fCQt::Key_Direction_R\fR - internal use only
\fCQt::Key_Direction_R\fR - internal use only
.SH "Qt::MacintoshVersion"
.SH "TQt::MacintoshVersion"
.TP
.TP
\fCQt::MV_Unknown\fR - Version cannot be detected
\fCQt::MV_Unknown\fR - Version cannot be detected
.TP
.TP
@ -1031,7 +1031,7 @@ Multimedia keys
\fCQt::MV_PANTHER\fR - 10.3 Codename
\fCQt::MV_PANTHER\fR - 10.3 Codename
.TP
.TP
\fCQt::MV_TIGER\fR - 10.4 Codename
\fCQt::MV_TIGER\fR - 10.4 Codename
.SH "Qt::Modifier"
.SH "TQt::Modifier"
This enum type describes the keyboard modifier keys supported by Qt.
This enum type describes the keyboard modifier keys supported by Qt.
.TP
.TP
\fCQt::SHIFT\fR - the Shift keys provided on all standard keyboards.
\fCQt::SHIFT\fR - the Shift keys provided on all standard keyboards.
@ -1045,7 +1045,7 @@ This enum type describes the keyboard modifier keys supported by Qt.
\fCQt::MODIFIER_MASK\fR - is a mask of Shift, Ctrl, Alt and Meta.
\fCQt::MODIFIER_MASK\fR - is a mask of Shift, Ctrl, Alt and Meta.
.TP
.TP
\fCQt::UNICODE_ACCEL\fR - the accelerator is specified as a Unicode code point, not as a TQt Key.
\fCQt::UNICODE_ACCEL\fR - the accelerator is specified as a Unicode code point, not as a TQt Key.
.SH "Qt::Orientation"
.SH "TQt::Orientation"
This type is used to signify an object's orientation.
This type is used to signify an object's orientation.
.TP
.TP
\fCQt::Horizontal\fR
\fCQt::Horizontal\fR
@ -1053,7 +1053,7 @@ This type is used to signify an object's orientation.
\fCQt::Vertical\fR
\fCQt::Vertical\fR
.PP
.PP
Orientation is used with QScrollBar for example.
Orientation is used with QScrollBar for example.
.SH "Qt::PaintUnit"
.SH "TQt::PaintUnit"
.TP
.TP
\fCQt::PixelUnit\fR
\fCQt::PixelUnit\fR
.TP
.TP
@ -1066,7 +1066,7 @@ Orientation is used with QScrollBar for example.
\fCQt::HiEnglishUnit\fR - \fIobsolete\fR
\fCQt::HiEnglishUnit\fR - \fIobsolete\fR
.TP
.TP
\fCQt::TwipsUnit\fR - \fIobsolete\fR
\fCQt::TwipsUnit\fR - \fIobsolete\fR
.SH "Qt::PenCapStyle"
.SH "TQt::PenCapStyle"
This enum type defines the pen cap styles supported by Qt, i.e. the line end caps that can be drawn using QPainter.
This enum type defines the pen cap styles supported by Qt, i.e. the line end caps that can be drawn using QPainter.
.TP
.TP
\fCQt::FlatCap\fR - a square line end that does not cover the end point of the line.
\fCQt::FlatCap\fR - a square line end that does not cover the end point of the line.
@ -1082,7 +1082,7 @@ This enum type defines the pen cap styles supported by Qt, i.e. the line end cap
.B "[Image Omitted]"
.B "[Image Omitted]"
.PP
.PP
</center>
</center>
.SH "Qt::PenJoinStyle"
.SH "TQt::PenJoinStyle"
This enum type defines the pen join styles supported by Qt, i.e. which joins between two connected lines can be drawn using QPainter.
This enum type defines the pen join styles supported by Qt, i.e. which joins between two connected lines can be drawn using QPainter.
.TP
.TP
\fCQt::MiterJoin\fR - The outer edges of the lines are extended to meet at an angle, and this area is filled.
\fCQt::MiterJoin\fR - The outer edges of the lines are extended to meet at an angle, and this area is filled.
@ -1098,7 +1098,7 @@ This enum type defines the pen join styles supported by Qt, i.e. which joins bet
.B "[Image Omitted]"
.B "[Image Omitted]"
.PP
.PP
</center>
</center>
.SH "Qt::PenStyle"
.SH "TQt::PenStyle"
This enum type defines the pen styles that can be drawn using QPainter. The styles are
This enum type defines the pen styles that can be drawn using QPainter. The styles are
.TP
.TP
\fCQt::NoPen\fR - no line at all. For example, QPainter::drawRect() fills but does not draw any boundary line.
\fCQt::NoPen\fR - no line at all. For example, QPainter::drawRect() fills but does not draw any boundary line.
@ -1120,7 +1120,7 @@ This enum type defines the pen styles that can be drawn using QPainter. The styl
.B "[Image Omitted]"
.B "[Image Omitted]"
.PP
.PP
</center>
</center>
.SH "Qt::RasterOp"
.SH "TQt::RasterOp"
This enum type is used to describe the way things are written to the paint device. Each bit of the \fIsrc\fR (what you write) interacts with the corresponding bit of the \fIdst\fR pixel.
This enum type is used to describe the way things are written to the paint device. Each bit of the \fIsrc\fR (what you write) interacts with the corresponding bit of the \fIdst\fR pixel.
.TP
.TP
\fCQt::CopyROP\fR - dst = src
\fCQt::CopyROP\fR - dst = src
@ -1162,20 +1162,20 @@ This enum type is used to describe the way things are written to the paint devic
By far the most useful ones are CopyROP and XorROP.
By far the most useful ones are CopyROP and XorROP.
.PP
.PP
On Qt/Embedded, only CopyROP, XorROP, and NotROP are supported.
On Qt/Embedded, only CopyROP, XorROP, and NotROP are supported.
.SH "Qt::SequenceMatch"
.SH "TQt::SequenceMatch"
.TP
.TP
\fCQt::NoMatch\fR - Sequences have nothing in common
\fCQt::NoMatch\fR - Sequences have nothing in common
.TP
.TP
\fCQt::PartialMatch\fR - Sequences match partially, but are not complete
\fCQt::PartialMatch\fR - Sequences match partially, but are not complete
.TP
.TP
\fCQt::Identical\fR - Sequences do not differ
\fCQt::Identical\fR - Sequences do not differ
.SH "Qt::SortOrder"
.SH "TQt::SortOrder"
This enum describes how the items in a widget are sorted.
This enum describes how the items in a widget are sorted.
.TP
.TP
\fCQt::Ascending\fR - The items are sorted ascending e.g. starts with 'AAA' ends with 'ZZZ' in Latin-1 locales
\fCQt::Ascending\fR - The items are sorted ascending e.g. starts with 'AAA' ends with 'ZZZ' in Latin-1 locales
.TP
.TP
\fCQt::Descending\fR - The items are sorted descending e.g. starts with 'ZZZ' ends with 'AAA' in Latin-1 locales
\fCQt::Descending\fR - The items are sorted descending e.g. starts with 'ZZZ' ends with 'AAA' in Latin-1 locales
.SH "Qt::StringComparisonMode"
.SH "TQt::StringComparisonMode"
This enum type is used to set the string comparison mode when searching for an item. It is used by QListBox, QListView and QIconView, for example. We'll refer to the string being searched as the 'target' string.
This enum type is used to set the string comparison mode when searching for an item. It is used by QListBox, QListView and QIconView, for example. We'll refer to the string being searched as the 'target' string.
.TP
.TP
\fCQt::CaseSensitive\fR - The strings must match case sensitively.
\fCQt::CaseSensitive\fR - The strings must match case sensitively.
@ -1191,7 +1191,7 @@ This enum type is used to set the string comparison mode when searching for an i
If you OR these flags together (excluding CaseSensitive), the search criteria be applied in the following order: ExactMatch, BeginsWith, EndsWith, Contains.
If you OR these flags together (excluding CaseSensitive), the search criteria be applied in the following order: ExactMatch, BeginsWith, EndsWith, Contains.
.PP
.PP
Matching is case-insensitive unless CaseSensitive is set. CaseSensitive can be OR-ed with any combination of the other flags.
Matching is case-insensitive unless CaseSensitive is set. CaseSensitive can be OR-ed with any combination of the other flags.
.SH "Qt::TextFlags"
.SH "TQt::TextFlags"
This enum type is used to define some modifier flags. Some of these flags only make sense in the context of printing:
This enum type is used to define some modifier flags. Some of these flags only make sense in the context of printing:
.TP
.TP
\fCQt::SingleLine\fR - Treats all whitespace as spaces and prints just one line.
\fCQt::SingleLine\fR - Treats all whitespace as spaces and prints just one line.
@ -1211,7 +1211,7 @@ This enum type is used to define some modifier flags. Some of these flags only m
You can use as many modifier flags as you want, except that SingleLine and WordBreak cannot be combined.
You can use as many modifier flags as you want, except that SingleLine and WordBreak cannot be combined.
.PP
.PP
Flags that are inappropriate for a given use (e.g. ShowPrefix to QGridLayout::addWidget()) are generally ignored.
Flags that are inappropriate for a given use (e.g. ShowPrefix to QGridLayout::addWidget()) are generally ignored.
.SH "Qt::TextFormat"
.SH "TQt::TextFormat"
This enum is used in widgets that can display both plain text and rich text, e.g. QLabel. It is used for deciding whether a text string should be interpreted as one or the other. This is normally done by passing one of the enum values to a setTextFormat() function.
This enum is used in widgets that can display both plain text and rich text, e.g. QLabel. It is used for deciding whether a text string should be interpreted as one or the other. This is normally done by passing one of the enum values to a setTextFormat() function.
.TP
.TP
\fCQt::PlainText\fR - The text string is interpreted as a plain text string.
\fCQt::PlainText\fR - The text string is interpreted as a plain text string.
@ -1221,12 +1221,12 @@ This enum is used in widgets that can display both plain text and rich text, e.g
\fCQt::AutoText\fR - The text string is interpreted as for RichText if QStyleSheet::mightBeRichText() returns TRUE, otherwise as PlainText.
\fCQt::AutoText\fR - The text string is interpreted as for RichText if QStyleSheet::mightBeRichText() returns TRUE, otherwise as PlainText.
.TP
.TP
\fCQt::LogText\fR - A special, limited text format which is only used by QTextEdit in an optimized mode.
\fCQt::LogText\fR - A special, limited text format which is only used by QTextEdit in an optimized mode.
.SH "Qt::TimeSpec"
.SH "TQt::TimeSpec"
.TP
.TP
\fCQt::LocalTime\fR - Locale dependent time (Timezones and Daylight Savings Time)
\fCQt::LocalTime\fR - Locale dependent time (Timezones and Daylight Savings Time)
.TP
.TP
\fCQt::UTC\fR - Coordinated Universal Time, replaces Greenwich Time
\fCQt::UTC\fR - Coordinated Universal Time, replaces Greenwich Time
.SH "Qt::UIEffect"
.SH "TQt::UIEffect"
.TP
.TP
\fCQt::UI_General\fR
\fCQt::UI_General\fR
.TP
.TP
@ -1241,7 +1241,7 @@ This enum is used in widgets that can display both plain text and rich text, e.g
\fCQt::UI_FadeTooltip\fR
\fCQt::UI_FadeTooltip\fR
.TP
.TP
\fCQt::UI_AnimateToolBox\fR - Reserved
\fCQt::UI_AnimateToolBox\fR - Reserved
.SH "Qt::WidgetFlags"
.SH "TQt::WidgetFlags"
.PP
.PP
This enum type is used to specify various window-system properties for the widget. They are fairly unusual but necessary in a few cases. Some of these flags depend on whether the underlying window manager supports them. (See the toplevel example for an explanation and example of their use.)
This enum type is used to specify various window-system properties for the widget. They are fairly unusual but necessary in a few cases. Some of these flags depend on whether the underlying window manager supports them. (See the toplevel example for an explanation and example of their use.)
@ -1337,7 +1337,7 @@ Internal flags.
\fCQt::WStyle_Mask\fR
\fCQt::WStyle_Mask\fR
.TP
.TP
\fCQt::WType_Mask\fR
\fCQt::WType_Mask\fR
.SH "Qt::WidgetState"
.SH "TQt::WidgetState"
Internal flags.
Internal flags.
.TP
.TP
\fCQt::WState_Created\fR
\fCQt::WState_Created\fR
@ -1389,7 +1389,7 @@ Internal flags.
\fCQt::WState_OwnSizePolicy\fR
\fCQt::WState_OwnSizePolicy\fR
.TP
.TP
\fCQt::WState_FullScreen\fR
\fCQt::WState_FullScreen\fR
.SH "Qt::WindowState"
.SH "TQt::WindowState"
.PP
.PP
This enum type is used to specify the current state of a top-level window.
This enum type is used to specify the current state of a top-level window.
@ -1405,7 +1405,7 @@ The states are
\fCQt::WindowFullScreen\fR - The window fills the entire screen without any frame around it.
\fCQt::WindowFullScreen\fR - The window fills the entire screen without any frame around it.
.TP
.TP
\fCQt::WindowActive\fR - The window is the active window, i.e. it has keyboard focus.
\fCQt::WindowActive\fR - The window is the active window, i.e. it has keyboard focus.
@ -596,13 +596,13 @@ Creates an empty table object called \fIname\fR as a child of \fIparent\fR.
.PP
.PP
Call setNumRows() and setNumCols() to set the table size before populating the table if you're using QTableItems.
Call setNumRows() and setNumCols() to set the table size before populating the table if you're using QTableItems.
.PP
.PP
See also TQWidget::clearWFlags() and Qt::WidgetFlags.
See also TQWidget::clearWFlags() and TQt::WidgetFlags.
.SH "QTable::QTable ( int numRows, int numCols, TQWidget * parent = 0, const char * name = 0 )"
.SH "QTable::QTable ( int numRows, int numCols, TQWidget * parent = 0, const char * name = 0 )"
Constructs an empty table called \fIname\fR with \fInumRows\fR rows and \fInumCols\fR columns. The table is a child of \fIparent\fR.
Constructs an empty table called \fIname\fR with \fInumRows\fR rows and \fInumCols\fR columns. The table is a child of \fIparent\fR.
.PP
.PP
If you're using QTableItems to populate the table's cells, you can create QTableItem, QComboTableItem and QCheckTableItem items and insert them into the table using setItem(). (See the notes on large tables for an alternative to using QTableItems.)
If you're using QTableItems to populate the table's cells, you can create QTableItem, QComboTableItem and QCheckTableItem items and insert them into the table using setItem(). (See the notes on large tables for an alternative to using QTableItems.)
.PP
.PP
See also TQWidget::clearWFlags() and Qt::WidgetFlags.
See also TQWidget::clearWFlags() and TQt::WidgetFlags.
.SH "QTable::~QTable ()"
.SH "QTable::~QTable ()"
Releases all the resources used by the QTable object, including all QTableItems and their widgets.
Releases all the resources used by the QTable object, including all QTableItems and their widgets.
.SH "void QTable::clicked ( int row, int col, int button, const QPoint & mousePos )\fC [signal]\fR"
.SH "void QTable::clicked ( int row, int col, int button, const QPoint & mousePos )\fC [signal]\fR"
This signal is emitted when mouse button \fIbutton\fR is clicked. The cell where the event took place is at \fIrow\fR, \fIcol\fR, and the mouse's position is in \fImousePos\fR.
This signal is emitted when mouse button \fIbutton\fR is clicked. The cell where the event took place is at \fIrow\fR, \fIcol\fR, and the mouse's position is in \fImousePos\fR.
.PP
.PP
See also Qt::ButtonState.
See also TQt::ButtonState.
.PP
.PP
Example: chart/setdataform.cpp.
Example: chart/setdataform.cpp.
.SH "int QTable::columnAt ( int x ) const\fC [virtual]\fR"
.SH "int QTable::columnAt ( int x ) const\fC [virtual]\fR"
@ -773,7 +773,7 @@ See also numSelections.
.SH "void QTable::doubleClicked ( int row, int col, int button, const QPoint & mousePos )\fC [signal]\fR"
.SH "void QTable::doubleClicked ( int row, int col, int button, const QPoint & mousePos )\fC [signal]\fR"
This signal is emitted when mouse button \fIbutton\fR is double-clicked. The cell where the event took place is at \fIrow\fR, \fIcol\fR, and the mouse's position is in \fImousePos\fR.
This signal is emitted when mouse button \fIbutton\fR is double-clicked. The cell where the event took place is at \fIrow\fR, \fIcol\fR, and the mouse's position is in \fImousePos\fR.
.SH "void QTable::pressed ( int row, int col, int button, const QPoint & mousePos )\fC [signal]\fR"
.SH "void QTable::pressed ( int row, int col, int button, const QPoint & mousePos )\fC [signal]\fR"
This signal is emitted when mouse button \fIbutton\fR is pressed. The cell where the event took place is at \fIrow\fR, \fIcol\fR, and the mouse's position is in \fImousePos\fR.
This signal is emitted when mouse button \fIbutton\fR is pressed. The cell where the event took place is at \fIrow\fR, \fIcol\fR, and the mouse's position is in \fImousePos\fR.
.PP
.PP
See also Qt::ButtonState.
See also TQt::ButtonState.
.SH "void QTable::removeColumn ( int col )\fC [virtual slot]\fR"
.SH "void QTable::removeColumn ( int col )\fC [virtual slot]\fR"
Removes column \fIcol\fR, and deletes all its cells including any table items and widgets the cells may contain. Also clears the selection(s).
Removes column \fIcol\fR, and deletes all its cells including any table items and widgets the cells may contain. Also clears the selection(s).
The alignment function returns how the text contents of the cell are aligned when drawn. The default implementation aligns numbers to the right and any other text to the left.
The alignment function returns how the text contents of the cell are aligned when drawn. The default implementation aligns numbers to the right and any other text to the left.
.PP
.PP
See also Qt::AlignmentFlags.
See also TQt::AlignmentFlags.
.SH "int QTableItem::col () const"
.SH "int QTableItem::col () const"
Returns the column where the table item is located. If the cell spans multiple columns, this function returns the left-most column.
Returns the column where the table item is located. If the cell spans multiple columns, this function returns the left-most column.
@ -555,7 +555,7 @@ QTextEdit can display images (using QMimeSourceFactory), lists and tables. If th
.PP
.PP
If you want a text browser with more navigation use QTextBrowser. If you just need to display a small piece of rich text use QLabel or QSimpleRichText.
If you want a text browser with more navigation use QTextBrowser. If you just need to display a small piece of rich text use QLabel or QSimpleRichText.
.PP
.PP
If you create a new QTextEdit, and want to allow the user to edit rich text, call setTextFormat(Qt::RichText) to ensure that the text is treated as rich text. (Rich text uses HTML tags to set text formatting attributes. See QStyleSheet for information on the HTML tags that are supported.). If you don't call setTextFormat() explicitly the text edit will guess from the text itself whether it is rich text or plain text. This means that if the text looks like HTML or XML it will probably be interpreted as rich text, so you should call setTextFormat(Qt::PlainText) to preserve such text.
If you create a new QTextEdit, and want to allow the user to edit rich text, call setTextFormat(TQt::RichText) to ensure that the text is treated as rich text. (Rich text uses HTML tags to set text formatting attributes. See QStyleSheet for information on the HTML tags that are supported.). If you don't call setTextFormat() explicitly the text edit will guess from the text itself whether it is rich text or plain text. This means that if the text looks like HTML or XML it will probably be interpreted as rich text, so you should call setTextFormat(TQt::PlainText) to preserve such text.
.PP
.PP
Note that we do not intend to add a full-featured web browser widget to TQt (because that would easily double Qt's size and only a few applications would benefit from it). The rich text support in TQt is designed to provide a fast, portable and efficient way to add reasonable online help facilities to applications, and to provide a basis for rich text editors.
Note that we do not intend to add a full-featured web browser widget to TQt (because that would easily double Qt's size and only a few applications would benefit from it). The rich text support in TQt is designed to provide a fast, portable and efficient way to add reasonable online help facilities to applications, and to provide a basis for rich text editors.
.SH "Using QTextEdit as a Display Widget"
.SH "Using QTextEdit as a Display Widget"
@ -639,7 +639,7 @@ Stylesheets can also be used in LogText mode. To create and use a custom tag, yo
.br
.br
QTextEdit * log = new QTextEdit( this );
QTextEdit * log = new QTextEdit( this );
.br
.br
log->setTextFormat( Qt::LogText );
log->setTextFormat( TQt::LogText );
.br
.br
QStyleSheetItem * item = new QStyleSheetItem( log->styleSheet(), "mytag" );
QStyleSheetItem * item = new QStyleSheetItem( log->styleSheet(), "mytag" );
.br
.br
@ -1089,7 +1089,7 @@ This signal is emitted whenever the selection changes.
.PP
.PP
See also setSelection() and copyAvailable().
See also setSelection() and copyAvailable().
.SH "void QTextEdit::setAlignment ( int a )\fC [virtual slot]\fR"
.SH "void QTextEdit::setAlignment ( int a )\fC [virtual slot]\fR"
Sets the alignment of the current paragraph to \fIa\fR. Valid alignments are Qt::AlignLeft, Qt::AlignRight, Qt::AlignJustify and Qt::AlignCenter (which centers horizontally).
Sets the alignment of the current paragraph to \fIa\fR. Valid alignments are TQt::AlignLeft, TQt::AlignRight, TQt::AlignJustify and TQt::AlignCenter (which centers horizontally).
.PP
.PP
Reimplemented in QMultiLineEdit.
Reimplemented in QMultiLineEdit.
.SH "void QTextEdit::setAutoFormatting ( uint features )"
.SH "void QTextEdit::setAutoFormatting ( uint features )"
@ -156,7 +156,7 @@ If \fIstackSize\fR is greater than zero, the maximum stack size is set to \fIsta
QThread destructor.
QThread destructor.
.PP
.PP
Note that deleting a QThread object will not stop the execution of the thread it represents. Deleting a running QThread (i.e. finished() returns FALSE) will probably result in a program crash. You can wait() on a thread to make sure that it has finished.
Note that deleting a QThread object will not stop the execution of the thread it represents. Deleting a running QThread (i.e. finished() returns FALSE) will probably result in a program crash. You can wait() on a thread to make sure that it has finished.
This returns the thread handle of the currently executing thread.
This returns the thread handle of the currently executing thread.
.PP
.PP
\fBWarning:\fR The handle returned by this function is used for internal purposes and should \fInot\fR be used in any application code. On Windows, the returned value is a pseudo handle for the current thread, and it cannot be used for numerical comparison.
\fBWarning:\fR The handle returned by this function is used for internal purposes and should \fInot\fR be used in any application code. On Windows, the returned value is a pseudo handle for the current thread, and it cannot be used for numerical comparison.
Returns the current time as reported by the system clock, for the TimeSpec \fIts\fR. The default TimeSpec is LocalTime.
Returns the current time as reported by the system clock, for the TimeSpec \fIts\fR. The default TimeSpec is LocalTime.
.PP
.PP
Note that the accuracy depends on the accuracy of the underlying operating system; not all systems provide 1-millisecond accuracy.
Note that the accuracy depends on the accuracy of the underlying operating system; not all systems provide 1-millisecond accuracy.
.PP
.PP
See also Qt::TimeSpec.
See also TQt::TimeSpec.
.PP
.PP
Examples:
Examples:
.)l aclock/aclock.cpp, dclock/dclock.cpp, t12/cannon.cpp, and tictac/tictac.cpp.
.)l aclock/aclock.cpp, dclock/dclock.cpp, t12/cannon.cpp, and tictac/tictac.cpp.
@ -196,10 +196,10 @@ Note that the accuracy depends on the accuracy of the underlying operating syste
\fBWarning:\fR If the system's clock setting has been changed since the last time start() or restart() was called, the result is undefined. This can happen when daylight savings time is turned on or off.
\fBWarning:\fR If the system's clock setting has been changed since the last time start() or restart() was called, the result is undefined. This can happen when daylight savings time is turned on or off.
Returns the variant as a QDateTime if the variant can be cast to DateTime; otherwise returns an invalid QDateTime.
Returns the variant as a QDateTime if the variant can be cast to DateTime; otherwise returns an invalid QDateTime.
.PP
.PP
Note that if the type() is String, CString or ByteArray an invalid QDateTime will be returned if the string cannot be parsed as a Qt::ISODate format date/time.
Note that if the type() is String, CString or ByteArray an invalid QDateTime will be returned if the string cannot be parsed as a TQt::ISODate format date/time.
@ -1139,7 +1139,7 @@ If \fIparent\fR is 0, the new widget becomes a top-level window. If \fIparent\fR
.PP
.PP
The \fIname\fR is sent to the TQObject constructor.
The \fIname\fR is sent to the TQObject constructor.
.PP
.PP
The widget flags argument, \fIf\fR, is normally 0, but it can be set to customize the window frame of a top-level widget (i.e. \fIparent\fR must be 0). To customize the frame, set the WStyle_Customize flag OR'ed with any of the Qt::WidgetFlags.
The widget flags argument, \fIf\fR, is normally 0, but it can be set to customize the window frame of a top-level widget (i.e. \fIparent\fR must be 0). To customize the frame, set the WStyle_Customize flag OR'ed with any of the TQt::WidgetFlags.
.PP
.PP
If you add a child widget to an already visible widget you must explicitly show the child to make it visible.
If you add a child widget to an already visible widget you must explicitly show the child to make it visible.
.PP
.PP
@ -1218,7 +1218,7 @@ See also setMask().
.SH "void TQWidget::clearWFlags ( WFlags f )\fC [protected]\fR"
.SH "void TQWidget::clearWFlags ( WFlags f )\fC [protected]\fR"
Clears the widget flags \fIf\fR.
Clears the widget flags \fIf\fR.
.PP
.PP
Widget flags are a combination of Qt::WidgetFlags.
Widget flags are a combination of TQt::WidgetFlags.
.PP
.PP
See also testWFlags(), getWFlags(), and setWFlags().
See also testWFlags(), getWFlags(), and setWFlags().
.SH "QRegion TQWidget::clipRegion () const"
.SH "QRegion TQWidget::clipRegion () const"
@ -1469,7 +1469,7 @@ Returns the geometry of the widget relative to its parent and excluding the wind
Causes only the pixels of the widget for which \fIbitmap\fR has a corresponding 1 bit to be visible. Use Qt::color0 to draw transparent regions and Qt::color1 to draw opaque regions of the bitmap.
Causes only the pixels of the widget for which \fIbitmap\fR has a corresponding 1 bit to be visible. Use TQt::color0 to draw transparent regions and TQt::color1 to draw opaque regions of the bitmap.
.PP
.PP
If the region includes pixels outside the rect() of the widget, window system controls in that area may or may not be visible, depending on the platform.
If the region includes pixels outside the rect() of the widget, window system controls in that area may or may not be visible, depending on the platform.
.PP
.PP
@ -2259,13 +2259,13 @@ Sets whether updates are enabled to \fIenable\fR. See the "updatesEnabled" prope
.SH "void TQWidget::setWFlags ( WFlags f )\fC [virtual protected]\fR"
.SH "void TQWidget::setWFlags ( WFlags f )\fC [virtual protected]\fR"
Sets the widget flags \fIf\fR.
Sets the widget flags \fIf\fR.
.PP
.PP
Widget flags are a combination of Qt::WidgetFlags.
Widget flags are a combination of TQt::WidgetFlags.
.PP
.PP
See also testWFlags(), getWFlags(), and clearWFlags().
See also testWFlags(), getWFlags(), and clearWFlags().
Sets the window state to \fIwindowState\fR. The window state is a OR'ed combination of Qt::WindowState: WindowMinimized, WindowMaximized, WindowFullScreen and WindowActive.
Sets the window state to \fIwindowState\fR. The window state is a OR'ed combination of TQt::WindowState: WindowMinimized, WindowMaximized, WindowFullScreen and WindowActive.
.PP
.PP
If the window is not visible (i.e. isVisible() returns FALSE), the window state will take effect when show() is called. For visible windows, the change is immediate. For example, to toggle between full-screen and mormal mode, use the following code:
If the window is not visible (i.e. isVisible() returns FALSE), the window state will take effect when show() is called. For visible windows, the change is immediate. For example, to toggle between full-screen and mormal mode, use the following code:
.PP
.PP
@ -2285,7 +2285,7 @@ In order to restore and activate a minimized window (while preserving its maximi
.PP
.PP
Note: On some window systems WindowActive is not immediate, and may be ignored in certain cases.
Note: On some window systems WindowActive is not immediate, and may be ignored in certain cases.
.PP
.PP
See also Qt::WindowState and windowState().
See also TQt::WindowState and windowState().
.SH "void TQWidget::show ()\fC [virtual slot]\fR"
.SH "void TQWidget::show ()\fC [virtual slot]\fR"
Shows the widget and its child widgets.
Shows the widget and its child widgets.
.PP
.PP
@ -2385,7 +2385,7 @@ See also QTabletEvent::ignore(), QTabletEvent::accept(), event(), and QTabletEve
.SH "WFlags TQWidget::testWFlags ( WFlags f ) const"
.SH "WFlags TQWidget::testWFlags ( WFlags f ) const"
Returns the bitwise AND of the widget flags and \fIf\fR.
Returns the bitwise AND of the widget flags and \fIf\fR.
.PP
.PP
Widget flags are a combination of Qt::WidgetFlags.
Widget flags are a combination of TQt::WidgetFlags.
.PP
.PP
If you want to test for the presence of multiple flags (or composite flags such as WStyle_Splash), test the return value for equality against the argument. For example:
If you want to test for the presence of multiple flags (or composite flags such as WStyle_Splash), test the return value for equality against the argument. For example:
.PP
.PP
@ -2506,9 +2506,9 @@ See also setActiveWindow(), isActiveWindow, update(), and palette.
.SH "double TQWidget::windowOpacity () const"
.SH "double TQWidget::windowOpacity () const"
Returns the level of opacity for the window. See the "windowOpacity" property for details.
Returns the level of opacity for the window. See the "windowOpacity" property for details.
.SH "uint TQWidget::windowState () const"
.SH "uint TQWidget::windowState () const"
Returns the current window state. The window state is a OR'ed combination of Qt::WindowState: WindowMinimized, WindowMaximized, WindowFullScreen and WindowActive.
Returns the current window state. The window state is a OR'ed combination of TQt::WindowState: WindowMinimized, WindowMaximized, WindowFullScreen and WindowActive.
.PP
.PP
See also Qt::WindowState and setWindowState().
See also TQt::WindowState and setWindowState().
.SH "int TQWidget::x () const"
.SH "int TQWidget::x () const"
Returns the x coordinate of the widget relative to its parent including any window frame. See the "x" property for details.
Returns the x coordinate of the widget relative to its parent including any window frame. See the "x" property for details.
@ -46,7 +46,7 @@ Subclasses call this function to send a key event. The server may additionally f
.PP
.PP
<center>.nf
<center>.nf
.TS
.TS
l - l. Parameter Meaning \fIunicode\fR The Unicode value for the key, or 0xFFFF is none is appropriate. \fIkeycode\fR The TQt keycode for the key (see Qt::Key for the list of codes). \fImodifiers\fR The set of modifier keys (see Qt::Modifier). \fIisPress\fR Whether this is a press or a release. \fIautoRepeat\fR
l - l. Parameter Meaning \fIunicode\fR The Unicode value for the key, or 0xFFFF is none is appropriate. \fIkeycode\fR The TQt keycode for the key (see TQt::Key for the list of codes). \fImodifiers\fR The set of modifier keys (see TQt::Modifier). \fIisPress\fR Whether this is a press or a release. \fIautoRepeat\fR