diff options
author | Michele Calgaro <[email protected]> | 2024-07-02 21:37:22 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-07-06 11:24:55 +0900 |
commit | 7552c6d73043b1040139033f6864db48ae5446cf (patch) | |
tree | f90d24d072dd3ee6a3f909bf7778abc7669f03ef /doc/html/layout.html | |
parent | c113da2069b66130f67a0f27c699e1cec83588a5 (diff) | |
download | tqt3-7552c6d73043b1040139033f6864db48ae5446cf.tar.gz tqt3-7552c6d73043b1040139033f6864db48ae5446cf.zip |
Rename main window nt* related files to equivalent tq*. The file
"ntqsession.h" was totally unnecessary and has been removed.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/html/layout.html')
-rw-r--r-- | doc/html/layout.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/layout.html b/doc/html/layout.html index 89f656558..0358ed903 100644 --- a/doc/html/layout.html +++ b/doc/html/layout.html @@ -200,14 +200,14 @@ layout, you should reimplement the following <a href="tqwidget.html">TQWidget</a <p> <ul> <li> <a href="tqwidget.html#sizeHint">TQWidget::sizeHint</a>() returns the preferred size of the widget. <li> <a href="tqwidget.html#minimumSizeHint">TQWidget::minimumSizeHint</a>() returns the smallest size the widget can have. -<li> <a href="tqwidget.html#sizePolicy">TQWidget::sizePolicy</a>() returns a <a href="ntqsizepolicy.html">TQSizePolicy</a>; a value describing +<li> <a href="tqwidget.html#sizePolicy">TQWidget::sizePolicy</a>() returns a <a href="tqsizepolicy.html">TQSizePolicy</a>; a value describing the space requirements of the widget. </ul> <p> Call <a href="tqwidget.html#updateGeometry">TQWidget::updateGeometry</a>() whenever the size hint, minimum size hint or size policy changes. This will cause a layout recalculation. Multiple calls to updateGeometry() will only cause one recalculation. <p> If the preferred height of your widget depends on its actual width -(e.g. a label with automatic word-breaking), set the <a href="ntqsizepolicy.html#hasHeightForWidth">hasHeightForWidth</a>() flag in +(e.g. a label with automatic word-breaking), set the <a href="tqsizepolicy.html#hasHeightForWidth">hasHeightForWidth</a>() flag in <a href="tqwidget.html#sizePolicy">sizePolicy</a>(), and reimplement <a href="tqwidget.html#heightForWidth">TQWidget::heightForWidth</a>(). <p> Even if you implement heightForWidth(), it is still necessary to provide a good sizeHint(). The sizeHint() provides the preferred width |