From 82ecd83484c9fa1ede059986ab771e74e33e68ef Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 16 Aug 2024 19:11:00 +0900 Subject: Rename layout nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/tutorial1-14.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/html/tutorial1-14.html') diff --git a/doc/html/tutorial1-14.html b/doc/html/tutorial1-14.html index 985dc9b78..6ad3faebf 100644 --- a/doc/html/tutorial1-14.html +++ b/doc/html/tutorial1-14.html @@ -200,13 +200,13 @@ matrix and return TRUE if it is inside the original barrel rectangle.

    #include <ntqaccel.h>
 

We include the class definition of TQAccel. -

        TQVBox *box = new TQVBox( this, "cannonFrame" );
+

        TQVBox *box = new TQVBox( this, "cannonFrame" );
         box->setFrameStyle( TQFrame::WinPanel | TQFrame::Sunken );
         cannonField = new CannonField( box, "cannonField" );
 
-

We create and set up a TQVBox, set its frame style, and then create +

We create and set up a TQVBox, set its frame style, and then create CannonField as a child of that box. Because nothing else is in the -box, the effect is that the TQVBox will put a frame around the +box, the effect is that the TQVBox will put a frame around the CannonField.

        TQAccel *accel = new TQAccel( this );
         accel->connectItem( accel->insertItem( Key_Enter ),
@@ -238,7 +238,7 @@ inherit the TQt namespace class.
         grid->addWidget( box, 1, 1 );
         grid->setColStretch( 1, 10 );
 
-

We put box (the TQVBox), not the CannonField, in the lower-right +

We put box (the TQVBox), not the CannonField, in the lower-right cell.

Behavior

-- cgit v1.2.3