diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-09-09 14:57:42 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-09-12 18:58:18 +0900 |
commit | 6f57abfc9cd3acf1d648aee696947ac9216adb71 (patch) | |
tree | 4ae374b1ce01d388bca2249c5d903d79a6cb814f /doc/html/propertydocs | |
parent | 0582c90a9ed4b965629267713f51c0da7c38b39d (diff) | |
download | tqt3-6f57abfc9cd3acf1d648aee696947ac9216adb71.tar.gz tqt3-6f57abfc9cd3acf1d648aee696947ac9216adb71.zip |
Rename remaining ntq[s-z]* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/propertydocs')
-rw-r--r-- | doc/html/propertydocs | 126 |
1 files changed, 63 insertions, 63 deletions
diff --git a/doc/html/propertydocs b/doc/html/propertydocs index 0dc2c594c..a48622099 100644 --- a/doc/html/propertydocs +++ b/doc/html/propertydocs @@ -3,7 +3,7 @@ <name>TQAction::accel</name> <doc href="tqaction.html#accel-prop"> <p>This property holds the action's accelerator key. -<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 +<p>The keycodes can be found in <a href="tqt.html#Key-enum">TQt::Key</a> and <a href="tqt.html#Modifier-enum">TQt::Modifier</a>. There is no default accelerator key. <p>Set this property's value with <a href="tqaction.html#setAccel">setAccel</a>() and get this property's value with <a href="tqaction.html#accel">accel</a>(). @@ -680,7 +680,7 @@ update operations occur immediately. <doc href="tqdatatable.html#dateFormat-prop"> <p>This property holds the format used for displaying date/time values. <p>The dateFormat property is used for displaying date/time values in -the table. The default value is <a href="ntqt.html#DateFormat-enum">TQt::LocalDate</a>. +the table. The default value is <a href="tqt.html#DateFormat-enum">TQt::LocalDate</a>. <p>Set this property's value with <a href="tqdatatable.html#setDateFormat">setDateFormat</a>() and get this property's value with <a href="tqdatatable.html#dateFormat">dateFormat</a>(). </doc> @@ -1406,14 +1406,14 @@ frame and the outermost pixel of <a href="tqframe.html#contentsRect">conte alignment can be specified by the alignment parameter. <p> The alignment is one of the following flags: <ul> -<li> <a href="ntqt.html#AlignmentFlags-enum">AlignAuto</a> aligns the title according to the language, +<li> <a href="tqt.html#AlignmentFlags-enum">AlignAuto</a> aligns the title according to the language, usually to the left. -<li> <a href="ntqt.html#AlignmentFlags-enum">AlignLeft</a> aligns the title text to the left. -<li> <a href="ntqt.html#AlignmentFlags-enum">AlignRight</a> aligns the title text to the right. -<li> <a href="ntqt.html#AlignmentFlags-enum">AlignHCenter</a> aligns the title text centered. +<li> <a href="tqt.html#AlignmentFlags-enum">AlignLeft</a> aligns the title text to the left. +<li> <a href="tqt.html#AlignmentFlags-enum">AlignRight</a> aligns the title text to the right. +<li> <a href="tqt.html#AlignmentFlags-enum">AlignHCenter</a> aligns the title text centered. </ul> -<p> The default alignment is <a href="ntqt.html#AlignmentFlags-enum">AlignAuto</a>. -<p> <p>See also <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>. +<p> The default alignment is <a href="tqt.html#AlignmentFlags-enum">AlignAuto</a>. +<p> <p>See also <a href="tqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>. <p>Set this property's value with <a href="tqgroupbox.html#setAlignment">setAlignment</a>() and get this property's value with <a href="tqgroupbox.html#alignment">alignment</a>(). </doc> @@ -1531,7 +1531,7 @@ pixel. <name>TQHeader::orientation</name> <doc href="tqheader.html#orientation-prop"> <p>This property holds the header's orientation. -<p>The orientation is either <a href="ntqt.html#Orientation-enum">Vertical</a> or <a href="ntqt.html#Orientation-enum">Horizontal</a> (the +<p>The orientation is either <a href="tqt.html#Orientation-enum">Vertical</a> or <a href="tqt.html#Orientation-enum">Horizontal</a> (the default). <p> Call <a href="tqheader.html#setOrientation">setOrientation</a>() before adding labels if you don't provide a size parameter otherwise the sizes will be incorrect. @@ -1837,16 +1837,16 @@ of 0. <name>TQLabel::alignment</name> <doc href="tqlabel.html#alignment-prop"> <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">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 -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 TQLabel. -<p> If the label has a buddy, the <a href="ntqt.html#TextFlags-enum">ShowPrefix</a> flag is forced to +<p>The alignment is a bitwise OR of <a href="tqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a> and <a href="tqt.html#TextFlags-enum">TQt::TextFlags</a> values. The <a href="tqt.html#TextFlags-enum">ExpandTabs</a>, <a href="tqt.html#TextFlags-enum">SingleLine</a> and <a href="tqt.html#TextFlags-enum">ShowPrefix</a> flags apply only if the label contains plain text; +otherwise they are ignored. The <a href="tqt.html#TextFlags-enum">DontClip</a> flag is always +ignored. <a href="tqt.html#TextFlags-enum">WordBreak</a> applies to both rich text and plain text +labels. The <a href="tqt.html#TextFlags-enum">BreakAnywhere</a> flag is not supported in TQLabel. +<p> If the label has a buddy, the <a href="tqt.html#TextFlags-enum">ShowPrefix</a> flag is forced to TRUE. <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 -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">TQt::AlignmentFlags</a>, <a href="tqlabel.html#setBuddy">setBuddy</a>(), and <a href="tqlabel.html#text-prop">text</a>. +contains rich text, additionally <a href="tqt.html#TextFlags-enum">WordBreak</a> is turned on. +<p> <p>See also <a href="tqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>, <a href="tqlabel.html#setBuddy">setBuddy</a>(), and <a href="tqlabel.html#text-prop">text</a>. <p>Set this property's value with <a href="tqlabel.html#setAlignment">setAlignment</a>() and get this property's value with <a href="tqlabel.html#alignment">alignment</a>(). </doc> @@ -1856,9 +1856,9 @@ contains rich text, additionally <a href="ntqt.html#TextFlags-enum">WordBr <doc href="tqlabel.html#indent-prop"> <p>This property holds the label's text indent in pixels. <p>If a label displays text, the indent applies to the left edge if -<a href="tqlabel.html#alignment">alignment</a>() is <a href="ntqt.html#AlignmentFlags-enum">AlignLeft</a>, to the right edge if alignment() is -<a href="ntqt.html#AlignmentFlags-enum">AlignRight</a>, to the top edge if alignment() is <a href="ntqt.html#AlignmentFlags-enum">AlignTop</a>, and -to to the bottom edge if alignment() is <a href="ntqt.html#AlignmentFlags-enum">AlignBottom</a>. +<a href="tqlabel.html#alignment">alignment</a>() is <a href="tqt.html#AlignmentFlags-enum">AlignLeft</a>, to the right edge if alignment() is +<a href="tqt.html#AlignmentFlags-enum">AlignRight</a>, to the top edge if alignment() is <a href="tqt.html#AlignmentFlags-enum">AlignTop</a>, and +to to the bottom edge if alignment() is <a href="tqt.html#AlignmentFlags-enum">AlignBottom</a>. <p> If indent is negative, or if no indent has been set, the label computes the effective indent as follows: If <a href="tqframe.html#frameWidth">frameWidth</a>() is 0, the effective indent becomes 0. If frameWidth() is greater than 0, @@ -1901,7 +1901,7 @@ pixmap to fill the available space. the text clears any previous content, unless they are the same. <p> The text will be interpreted either as a plain text or as a rich text, depending on the text format setting; see <a href="tqlabel.html#setTextFormat">setTextFormat</a>(). -The default setting is <a href="ntqt.html#TextFormat-enum">AutoText</a>, i.e. TQLabel will try to +The default setting is <a href="tqt.html#TextFormat-enum">AutoText</a>, i.e. TQLabel will try to auto-detect the format of the text set. <p> If the text is interpreted as a plain text and a buddy has been set, the buddy accelerator key is updated from the new text. @@ -1921,9 +1921,9 @@ and can also provide a scrollbar when necessary. <name>TQLabel::textFormat</name> <doc href="tqlabel.html#textFormat-prop"> <p>This property holds the label's text format. -<p>See the <a href="ntqt.html#TextFormat-enum">TQt::TextFormat</a> enum for an explanation of the possible +<p>See the <a href="tqt.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="tqt.html#TextFormat-enum">AutoText</a>. <p> <p>See also <a href="tqlabel.html#text-prop">text</a>. <p>Set this property's value with <a href="tqlabel.html#setTextFormat">setTextFormat</a>() and get this property's value with <a href="tqlabel.html#textFormat">textFormat</a>(). @@ -1975,10 +1975,10 @@ should not override the widget's spacing. <name>TQLineEdit::alignment</name> <doc href="tqlineedit.html#alignment-prop"> <p>This property holds the alignment of the line edit. -<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>Possible Values are <a href="tqt.html#AlignmentFlags-enum">TQt::AlignAuto</a>, <a href="tqt.html#AlignmentFlags-enum">TQt::AlignLeft</a>, <a href="tqt.html#AlignmentFlags-enum">TQt::AlignRight</a> and <a href="tqt.html#AlignmentFlags-enum">TQt::AlignHCenter</a>. <p> Attempting to set the alignment to an illegal flag combination does nothing. -<p> <p>See also <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>. +<p> <p>See also <a href="tqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>. <p>Set this property's value with <a href="tqlineedit.html#setAlignment">setAlignment</a>() and get this property's value with <a href="tqlineedit.html#alignment">alignment</a>(). </doc> @@ -2492,7 +2492,7 @@ views. <p>If TRUE (the default), the user will be able to move movable dock windows from one TQMainWindow dock area to another, including the <tt>TearOff</tt> area (i.e. where the dock window floats freely as a -window in its own right), and the <a href="ntqt.html#Dock-enum">Minimized</a> area (where only +window in its own right), and the <a href="tqt.html#Dock-enum">Minimized</a> area (where only the dock window's handle is shown below the menu bar). Moveable dock windows can also be moved within TQMainWindow dock areas, i.e. to rearrange them within a dock area. @@ -2628,7 +2628,7 @@ Windows GUI styles; you may want to draw two pixmaps. <doc href="tqmessagebox.html#text-prop"> <p>This property holds the message box text to be displayed. <p>The text will be interpreted either as a plain text or as rich -text, depending on the text format setting (<a href="tqmessagebox.html#textFormat-prop">TQMessageBox::textFormat</a>). The default setting is <a href="ntqt.html#TextFormat-enum">AutoText</a>, i.e. +text, depending on the text format setting (<a href="tqmessagebox.html#textFormat-prop">TQMessageBox::textFormat</a>). The default setting is <a href="tqt.html#TextFormat-enum">AutoText</a>, i.e. the message box will try to auto-detect the format of the text. <p> The default value of this property is <a href="tqstring.html#TQString-null">TQString::null</a>. <p> <p>See also <a href="tqmessagebox.html#textFormat-prop">textFormat</a>. @@ -2640,8 +2640,8 @@ the message box will try to auto-detect the format of the text. <name>TQMessageBox::textFormat</name> <doc href="tqmessagebox.html#textFormat-prop"> <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">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 current text format used by the message box. See the <a href="tqt.html#TextFormat-enum">TQt::TextFormat</a> enum for an explanation of the possible options. +<p> The default format is <a href="tqt.html#TextFormat-enum">AutoText</a>. <p> <p>See also <a href="tqmessagebox.html#text-prop">text</a>. <p>Set this property's value with <a href="tqmessagebox.html#setTextFormat">setTextFormat</a>() and get this property's value with <a href="tqmessagebox.html#textFormat">textFormat</a>(). @@ -2650,9 +2650,9 @@ the message box will try to auto-detect the format of the text. <property> <name>TQMultiLineEdit::alignment</name> <doc href="tqmultilineedit.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="tqt.html#AlignmentFlags-enum">AlignLeft</a>, <a href="tqt.html#AlignmentFlags-enum">AlignHCenter</a> or <a href="tqt.html#AlignmentFlags-enum">AlignRight</a>. <p> If flag is an illegal flag nothing happens. -<p> <p>See also <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>. +<p> <p>See also <a href="tqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>. <p>Set this property's value with <a href="tqmultilineedit.html#setAlignment">setAlignment</a>() and get this property's value with <a href="tqmultilineedit.html#alignment">alignment</a>(). </doc> @@ -3003,7 +3003,7 @@ adjusted if necessary to ensure that the range remains valid. <name>TQScrollBar::orientation</name> <doc href="tqscrollbar.html#orientation-prop"> <p>This property holds the orientation of the scroll bar. -<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>The orientation must be <a href="tqt.html#Orientation-enum">TQt::Vertical</a> (the default) or <a href="tqt.html#Orientation-enum">TQt::Horizontal</a>. <p>Set this property's value with <a href="tqscrollbar.html#setOrientation">setOrientation</a>() and get this property's value with <a href="tqscrollbar.html#orientation">orientation</a>(). </doc> @@ -3176,7 +3176,7 @@ if necessary, to ensure that the range remains valid. <name>TQSlider::orientation</name> <doc href="tqslider.html#orientation-prop"> <p>This property holds the slider's orientation. -<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>The orientation must be <a href="tqt.html#Orientation-enum">TQt::Vertical</a> (the default) or <a href="tqt.html#Orientation-enum">TQt::Horizontal</a>. <p>Set this property's value with <a href="tqslider.html#setOrientation">setOrientation</a>() and get this property's value with <a href="tqslider.html#orientation">orientation</a>(). </doc> @@ -3402,42 +3402,42 @@ you to the lowest and vice versa. </doc> </property> <property> - <name>QSplitter::childrenCollapsible</name> - <doc href="ntqsplitter.html#childrenCollapsible-prop"> + <name>TQSplitter::childrenCollapsible</name> + <doc href="tqsplitter.html#childrenCollapsible-prop"> <p>This property holds whether child widgets can be resized down to size 0 by the user. <p>By default, children are collapsible. It is possible to enable and disable the collapsing of individual children; see -<a href="ntqsplitter.html#setCollapsible">setCollapsible</a>(). +<a href="tqsplitter.html#setCollapsible">setCollapsible</a>(). -<p>Set this property's value with <a href="ntqsplitter.html#setChildrenCollapsible">setChildrenCollapsible</a>() and get this property's value with <a href="ntqsplitter.html#childrenCollapsible">childrenCollapsible</a>(). +<p>Set this property's value with <a href="tqsplitter.html#setChildrenCollapsible">setChildrenCollapsible</a>() and get this property's value with <a href="tqsplitter.html#childrenCollapsible">childrenCollapsible</a>(). </doc> </property> <property> - <name>QSplitter::handleWidth</name> - <doc href="ntqsplitter.html#handleWidth-prop"> + <name>TQSplitter::handleWidth</name> + <doc href="tqsplitter.html#handleWidth-prop"> <p>This property holds the width of the splitter handle. <p> -<p>Set this property's value with <a href="ntqsplitter.html#setHandleWidth">setHandleWidth</a>() and get this property's value with <a href="ntqsplitter.html#handleWidth">handleWidth</a>(). +<p>Set this property's value with <a href="tqsplitter.html#setHandleWidth">setHandleWidth</a>() and get this property's value with <a href="tqsplitter.html#handleWidth">handleWidth</a>(). </doc> </property> <property> - <name>QSplitter::opaqueResize</name> - <doc href="ntqsplitter.html#opaqueResize-prop"> + <name>TQSplitter::opaqueResize</name> + <doc href="tqsplitter.html#opaqueResize-prop"> <p>This property holds whether resizing is opaque. <p>Opaque resizing is off by default. -<p>Set this property's value with <a href="ntqsplitter.html#setOpaqueResize">setOpaqueResize</a>() and get this property's value with <a href="ntqsplitter.html#opaqueResize">opaqueResize</a>(). +<p>Set this property's value with <a href="tqsplitter.html#setOpaqueResize">setOpaqueResize</a>() and get this property's value with <a href="tqsplitter.html#opaqueResize">opaqueResize</a>(). </doc> </property> <property> - <name>QSplitter::orientation</name> - <doc href="ntqsplitter.html#orientation-prop"> + <name>TQSplitter::orientation</name> + <doc href="tqsplitter.html#orientation-prop"> <p>This property holds the orientation of the splitter. <p>By default the orientation is horizontal (the widgets are side by -side). The possible orientations are <a href="ntqt.html#Orientation-enum">Horizontal</a> and -<a href="ntqt.html#Orientation-enum">Vertical</a>. +side). The possible orientations are <a href="tqt.html#Orientation-enum">Horizontal</a> and +<a href="tqt.html#Orientation-enum">Vertical</a>. -<p>Set this property's value with <a href="ntqsplitter.html#setOrientation">setOrientation</a>() and get this property's value with <a href="ntqsplitter.html#orientation">orientation</a>(). +<p>Set this property's value with <a href="tqsplitter.html#setOrientation">setOrientation</a>() and get this property's value with <a href="tqsplitter.html#orientation">orientation</a>(). </doc> </property> <property> @@ -3843,7 +3843,7 @@ to disable all automatic formatting. <name>TQTextEdit::documentTitle</name> <doc href="tqtextedit.html#documentTitle-prop"> <p>This property holds the title of the document parsed from the text. -<p>For <a href="ntqt.html#TextFormat-enum">PlainText</a> the title will be an empty string. For <a href="ntqt.html#TextFormat-enum">RichText</a> the title will be the text between the <tt>&lt;title&gt;</tt> tags, +<p>For <a href="tqt.html#TextFormat-enum">PlainText</a> the title will be an empty string. For <a href="tqt.html#TextFormat-enum">RichText</a> the title will be the text between the <tt>&lt;title&gt;</tt> tags, if present, otherwise an empty string. <p>Get this property's value with <a href="tqtextedit.html#documentTitle">documentTitle</a>(). @@ -3921,8 +3921,8 @@ text and select text; modifying the text is not possible. <name>TQTextEdit::selectedText</name> <doc href="tqtextedit.html#selectedText-prop"> <p>This property holds the selected text (from selection 0) or an empty string if there is no currently selected text (in selection 0). -<p>The text is always returned as <a href="ntqt.html#TextFormat-enum">PlainText</a> if the <a href="tqtextedit.html#textFormat">textFormat</a>() is -<a href="ntqt.html#TextFormat-enum">PlainText</a> or <a href="ntqt.html#TextFormat-enum">AutoText</a>, otherwise it is returned as HTML. +<p>The text is always returned as <a href="tqt.html#TextFormat-enum">PlainText</a> if the <a href="tqtextedit.html#textFormat">textFormat</a>() is +<a href="tqt.html#TextFormat-enum">PlainText</a> or <a href="tqt.html#TextFormat-enum">AutoText</a>, otherwise it is returned as HTML. <p> <p>See also <a href="tqtextedit.html#hasSelectedText-prop">hasSelectedText</a>. <p>Get this property's value with <a href="tqtextedit.html#selectedText">selectedText</a>(). @@ -3953,7 +3953,7 @@ the focus chain. The default is FALSE. <p>There is no default text. <p> On setting, any previous text is deleted. <p> The text may be interpreted either as plain text or as rich text, -depending on the <a href="tqtextedit.html#textFormat">textFormat</a>(). The default setting is <a href="ntqt.html#TextFormat-enum">AutoText</a>, +depending on the <a href="tqtextedit.html#textFormat">textFormat</a>(). The default setting is <a href="tqt.html#TextFormat-enum">AutoText</a>, i.e. the text edit auto-detects the format of the text. <p> For richtext, calling <a href="tqtextedit.html#text">text</a>() on an editable TQTextEdit will cause the text to be regenerated from the textedit. This may mean that @@ -3980,7 +3980,7 @@ defined in the default stylesheet <a href="tqstylesheet.html#defaultSheet"> limited set of formatting tags (color, bold, underline and italic settings). <li> AutoText - this is the default. The text edit autodetects which -rendering style is best, <a href="ntqt.html#TextFormat-enum">PlainText</a> or <a href="ntqt.html#TextFormat-enum">RichText</a>. This is done +rendering style is best, <a href="tqt.html#TextFormat-enum">PlainText</a> or <a href="tqt.html#TextFormat-enum">RichText</a>. This is done by using the <a href="tqstylesheet.html#mightBeRichText">TQStyleSheet::mightBeRichText</a>() function. </ul> @@ -4293,21 +4293,21 @@ background mode. <p>This property holds the color role used for painting the background of the widget. <p>setPaletteBackgroundColor() reads this property to determine which entry of the <a href="tqwidget.html#palette-prop">palette</a> to set. -<p> For most widgets the default suffices (<a href="ntqt.html#BackgroundMode-enum">PaletteBackground</a>, -typically gray), but some need to use <a href="ntqt.html#BackgroundMode-enum">PaletteBase</a> (the +<p> For most widgets the default suffices (<a href="tqt.html#BackgroundMode-enum">PaletteBackground</a>, +typically gray), but some need to use <a href="tqt.html#BackgroundMode-enum">PaletteBase</a> (the background color for text output, typically white) or another role. <p> <a href="tqlistbox.html">TQListBox</a>, which is "sunken" and uses the base color to contrast with its environment, does this in its constructor: <p> <pre> - <a href="tqwidget.html#setBackgroundMode">setBackgroundMode</a>( <a href="ntqt.html#BackgroundMode-enum">PaletteBase</a> ); + <a href="tqwidget.html#setBackgroundMode">setBackgroundMode</a>( <a href="tqt.html#BackgroundMode-enum">PaletteBase</a> ); </pre> <p> You will never need to set the background mode of a built-in widget in Qt, but you might consider setting it in your custom widgets, so that <a href="tqwidget.html#setPaletteBackgroundColor">setPaletteBackgroundColor</a>() works as expected. <p> Note that two of the BackgroundMode values make no sense for -<a href="tqwidget.html#setBackgroundMode">setBackgroundMode</a>(), namely <a href="ntqt.html#BackgroundMode-enum">FixedPixmap</a> and <a href="ntqt.html#BackgroundMode-enum">FixedColor</a>. You +<a href="tqwidget.html#setBackgroundMode">setBackgroundMode</a>(), namely <a href="tqt.html#BackgroundMode-enum">FixedPixmap</a> and <a href="tqt.html#BackgroundMode-enum">FixedColor</a>. You must call <a href="tqwidget.html#setBackgroundPixmap">setBackgroundPixmap</a>() and setPaletteBackgroundColor() instead. @@ -4391,11 +4391,11 @@ inactive widget has the <a href="tqpalette.html#inactive">TQPalette::inact <doc href="tqwidget.html#cursor-prop"> <p>This property holds the cursor shape for this widget. <p>The mouse cursor will assume this shape when it's over this -widget. See the <a href="ntqt.html#CursorShape-enum">list of predefined cursor +widget. See the <a href="tqt.html#CursorShape-enum">list of predefined cursor objects</a> for a range of useful shapes. <p> An editor widget might use an I-beam cursor: <pre> - <a href="tqwidget.html#setCursor">setCursor</a>( <a href="ntqt.html#CursorShape-enum">IbeamCursor</a> ); + <a href="tqwidget.html#setCursor">setCursor</a>( <a href="tqt.html#CursorShape-enum">IbeamCursor</a> ); </pre> <p> If no cursor has been set, or after a call to <a href="tqwidget.html#unsetCursor">unsetCursor</a>(), the @@ -4663,7 +4663,7 @@ getting any input. <name>TQWidget::isPopup</name> <doc href="tqwidget.html#isPopup-prop"> <p>This property holds whether the widget is a popup widget. -<p>A popup widget is created by specifying the <a href="ntqt.html#WidgetFlags">widget flag</a> <a href="ntqt.html#WidgetFlags-enum">WType_Popup</a> to the widget constructor. A popup widget is also a +<p>A popup widget is created by specifying the <a href="tqt.html#WidgetFlags">widget flag</a> <a href="tqt.html#WidgetFlags-enum">WType_Popup</a> to the widget constructor. A popup widget is also a top-level widget. <p> <p>See also <a href="tqwidget.html#isTopLevel-prop">isTopLevel</a>. @@ -4683,7 +4683,7 @@ etc. If supported by the window manager, it will also have a common taskbar entry with its parent. <p> <a href="tqdialog.html">TQDialog</a> and <a href="tqmainwindow.html">TQMainWindow</a> widgets are by default top-level, even if a parent widget is specified in the constructor. This behavior is -specified by the <a href="ntqt.html#WidgetFlags-enum">WType_TopLevel</a> widget flag. +specified by the <a href="tqt.html#WidgetFlags-enum">WType_TopLevel</a> widget flag. <p> <p>See also <a href="tqwidget.html#topLevelWidget">topLevelWidget</a>(), <a href="tqwidget.html#isDialog-prop">isDialog</a>, <a href="tqwidget.html#isModal-prop">isModal</a>, <a href="tqwidget.html#isPopup-prop">isPopup</a>, <a href="tqwidget.html#isDesktop-prop">isDesktop</a>, and <a href="tqwidget.html#parentWidget">parentWidget</a>(). <p>Get this property's value with <a href="tqwidget.html#isTopLevel">isTopLevel</a>(). @@ -4879,7 +4879,7 @@ background and foreground appearance only. convenience function that creates and sets a modified <a href="tqpalette.html">TQPalette</a> with <a href="tqwidget.html#setPalette">setPalette</a>(). The palette is modified according to the widget's background mode. For example, if the background mode is -<a href="ntqt.html#BackgroundMode-enum">PaletteButton</a> the color used for the palette's <a href="tqcolorgroup.html#ColorRole-enum">TQColorGroup::Button</a> color entry is set. +<a href="tqt.html#BackgroundMode-enum">PaletteButton</a> the color used for the palette's <a href="tqcolorgroup.html#ColorRole-enum">TQColorGroup::Button</a> color entry is set. <p> If there is a background pixmap (set using <a href="tqwidget.html#setPaletteBackgroundPixmap">setPaletteBackgroundPixmap</a>()), then the return value of this function is indeterminate. @@ -4898,7 +4898,7 @@ function is indeterminate. convenience function that creates and sets a modified <a href="tqpalette.html">TQPalette</a> with <a href="tqwidget.html#setPalette">setPalette</a>(). The palette is modified according to the widget's background mode. For example, if the background mode is -<a href="ntqt.html#BackgroundMode-enum">PaletteButton</a> the pixmap used for the palette's +<a href="tqt.html#BackgroundMode-enum">PaletteButton</a> the pixmap used for the palette's <a href="tqcolorgroup.html#ColorRole-enum">TQColorGroup::Button</a> color entry is set. <p> If there is a plain background color (set using <a href="tqwidget.html#setPaletteBackgroundColor">setPaletteBackgroundColor</a>()), then this function returns 0. @@ -4914,7 +4914,7 @@ widget's background mode. For example, if the background mode is <p>setPaletteForegroundColor() is a convenience function that creates and sets a modified <a href="tqpalette.html">TQPalette</a> with <a href="tqwidget.html#setPalette">setPalette</a>(). The palette is modified according to the widget's <em>background mode</em>. For -example, if the background mode is <a href="ntqt.html#BackgroundMode-enum">PaletteButton</a> the palette entry +example, if the background mode is <a href="tqt.html#BackgroundMode-enum">PaletteButton</a> the palette entry <a href="tqcolorgroup.html#ColorRole-enum">TQColorGroup::ButtonText</a> is set to color. <p> <p>See also <a href="tqwidget.html#palette-prop">palette</a>, <a href="ntqapplication.html#setPalette">QApplication::setPalette</a>(), <a href="tqwidget.html#backgroundMode-prop">backgroundMode</a>, <a href="tqwidget.html#foregroundColor">foregroundColor</a>(), <a href="tqwidget.html#backgroundMode-prop">backgroundMode</a>, and <a href="tqwidget.html#setEraseColor">setEraseColor</a>(). |