From fef846914f8db6dc117e206ef913d519bf6bb33e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 29 Jul 2024 12:43:23 +0900 Subject: Rename basic widget nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/tutorial1-03.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/html/tutorial1-03.html') diff --git a/doc/html/tutorial1-03.html b/doc/html/tutorial1-03.html index bdd050a75..cbd73786c 100644 --- a/doc/html/tutorial1-03.html +++ b/doc/html/tutorial1-03.html @@ -42,7 +42,7 @@ body { background: #ffffff; color: black; } ****************************************************************/ #include <ntqapplication.h> -#include <ntqpushbutton.h> +#include <tqpushbutton.h> #include <tqfont.h> #include <ntqvbox.h> @@ -53,7 +53,7 @@ int main( int argc, char **argv ) TQVBox box; box.resize( 200, 120 ); - TQPushButton quit( "Quit", &box ); + TQPushButton quit( "Quit", &box ); quit.setFont( TQFont( "Times", 18, TQFont::Bold ) ); TQObject::connect( &quit, TQ_SIGNAL(clicked()), &a, TQ_SLOT(quit()) ); @@ -80,10 +80,10 @@ space according to each child's TQWidget::siz

        box.resize( 200, 120 );
 

We set its width to 200 pixels and the height to 120 pixels. -

        TQPushButton quit( "Quit", &box );
+

        TQPushButton quit( "Quit", &box );
 

A child is born. -

This TQPushButton is created with both a text ("Quit") and a parent +

This TQPushButton is created with both a text ("Quit") and a parent (box). A child widget is always on top of its parent. When displayed, it is clipped by its parent's bounds.

The parent widget, the TQVBox, automatically adds the child centered in -- cgit v1.2.3