From 8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 2 Jun 2024 23:07:22 +0900 Subject: Rename ntqwidget* related files to equivalent tqwidget* Signed-off-by: Michele Calgaro --- doc/html/tutorial1-01.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/html/tutorial1-01.html') diff --git a/doc/html/tutorial1-01.html b/doc/html/tutorial1-01.html index fe3509061..5ea456595 100644 --- a/doc/html/tutorial1-01.html +++ b/doc/html/tutorial1-01.html @@ -51,10 +51,10 @@ int main( int argc, char **argv ) TQApplication a( argc, argv ); TQPushButton hello( "Hello world!", 0 ); - hello.resize( 100, 30 ); + hello.resize( 100, 30 ); a.setMainWidget( &hello ); - hello.show(); + hello.show(); return a.exec(); } @@ -75,7 +75,7 @@ default font and cursor. reference documentation for each class mentions at the top which file needs to be included to use that class.

TQPushButton is a classical GUI push button that the user can press -and release. It manages its own look and feel, like every other TQWidget. A widget is a user interface object that can process user +and release. It manages its own look and feel, like every other TQWidget. A widget is a user interface object that can process user input and draw graphics. The programmer can change both the overall look and feel and many minor properties of it (such as color), as well as the widget's content. A @@ -106,7 +106,7 @@ push button is created.

The button is set up to display the text "Hello world!" and be a window of its own (because the constructor specifies 0 for the parent window, inside which the button should be located). -

        hello.resize( 100, 30 );
+

        hello.resize( 100, 30 );
 

The button is set up to be 100 pixels wide and 30 pixels high (plus the window system frame). In this case we don't care about the button's @@ -116,7 +116,7 @@ position, and we accept the default value.

The push button is chosen as the main widget for the application. If the user closes a main widget, the application exits.

You don't have to have a main widget, but most programs do have one. -

        hello.show();
+

        hello.show();
 

A widget is never visible when you create it. You must call show() to make it visible. -- cgit v1.2.1