diff options
Diffstat (limited to 'examples/demo/textdrawing/example.html')
-rw-r--r-- | examples/demo/textdrawing/example.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/demo/textdrawing/example.html b/examples/demo/textdrawing/example.html index 12d21ff72..a4fe80929 100644 --- a/examples/demo/textdrawing/example.html +++ b/examples/demo/textdrawing/example.html @@ -11,10 +11,10 @@ a:visited { color: #672967; text-decoration: none }body { background: white; col The TQLabel widget provides a static information display <a href="#details">More...</a> <p> -<code>#include <<a href="qlabel-h.html">ntqlabel.h</a>></code> +<code>#include <<a href="tqlabel-h.html">tqlabel.h</a>></code> <p> Inherits <a href="ntqframe.html">TQFrame</a>. -<p><a href="qlabel-members.html">List of all member functions.</a> +<p><a href="tqlabel-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> <li><div class="fn"><a href="#39107d"><b>TQLabel</b></a> ( TQWidget * parent, const char * name=0, WFlags f=0 ) </div> @@ -87,7 +87,7 @@ positioning of the content within the TQLabel widget area can be tuned with <a href="#1f406e">setAlignment</a>() and <a href="#ed9b8b">setIndent</a>(). For example, this code sets up a sunken panel with a two-line text in the bottom right corner (both lines being flush with the right side of the label): -<p><pre> <a href="ntqlabel.html">TQLabel</a> *label = new <a href="ntqlabel.html">TQLabel</a>; +<p><pre> <a href="tqlabel.html">TQLabel</a> *label = new <a href="tqlabel.html">TQLabel</a>; label-><a href="ntqframe.html#c0d758">setFrameStyle</a>( TQFrame::Panel | TQFrame::Sunken ); label-><a href="#dffb43">setText</a>( "first line\nsecond line" ); label-><a href="#1f406e">setAlignment</a>( AlignBottom | AlignRight ); @@ -97,7 +97,7 @@ widget. For this use, TQLabel provides a handy mechanism for adding an accelerator key (see <a href="ntqaccel.html">TQAccel</a>) that will set the keyboard focus to the other widget (called the TQLabel's "buddy"). Example: <p><pre> <a href="ntqlineedit.html">TQLineEdit</a>* phoneEdit = new <a href="ntqlineedit.html">TQLineEdit</a>( this, "phoneEdit" ); - <a href="ntqlabel.html">TQLabel</a>* phoneLabel = new <a href="ntqlabel.html">TQLabel</a>( phoneEdit, "&Phone:", this, "phoneLabel" ); + <a href="tqlabel.html">TQLabel</a>* phoneLabel = new <a href="tqlabel.html">TQLabel</a>( phoneEdit, "&Phone:", this, "phoneLabel" ); </pre> <p>In this example, keyboard focus is transferred to the label's buddy (the <a href="ntqlineedit.html">TQLineEdit</a>) when the user presses <dfn>Alt-P.</dfn> You can also @@ -224,10 +224,10 @@ alignment flag is turned on; see <a href="#1f406e">setAlignment</a>()). each, and set up the geometry layout so each label is just to the left of its data entry widget (its "buddy"), somewhat like this: <p><pre> <a href="ntqlineedit.html">TQLineEdit</a> *nameEd = new <a href="ntqlineedit.html">TQLineEdit</a>( this ); - <a href="ntqlabel.html">TQLabel</a> *nameLb = new <a href="ntqlabel.html">TQLabel</a>( "&Name:", this ); + <a href="tqlabel.html">TQLabel</a> *nameLb = new <a href="tqlabel.html">TQLabel</a>( "&Name:", this ); nameLb-><a href="#191701">setBuddy</a>( nameEd ); <a href="ntqlineedit.html">TQLineEdit</a> *phoneEd = new <a href="ntqlineedit.html">TQLineEdit</a>( this ); - <a href="ntqlabel.html">TQLabel</a> *phoneLb = new <a href="ntqlabel.html">TQLabel</a>( "&Phone:", this ); + <a href="tqlabel.html">TQLabel</a> *phoneLb = new <a href="tqlabel.html">TQLabel</a>( "&Phone:", this ); phoneLb-><a href="#191701">setBuddy</a>( phoneEd ); // ( layout setup not shown ) </pre> @@ -293,7 +293,7 @@ the format of <em>text.</em> <p>If <em>text</em> is interpreted as a plain text, and a buddy has been set, the buddy accelerator key is updated from the new text. <p>The label resizes itself if auto-resizing is enabled. -<p>Note that Qlabel is well suited to display small rich text documents +<p>Note that TQLabel is well suited to display small rich text documents only. For large documents, use <a href="tqtextview.html">TQTextView</a> instead. It will flicker less on resize and can also provide a scrollbar if necessary. <p>See also <a href="#72cf09">text</a>(), <a href="#5de3f9">setTextFormat</a>(), <a href="#191701">setBuddy</a>() and <a href="#1f406e">setAlignment</a>(). |