summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqscrollview.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-18 15:42:48 +0900
committerMichele Calgaro <[email protected]>2023-11-19 23:33:47 +0900
commit089d5266f0fbf9be6612e9c5f92a3f008f29241c (patch)
treee2c5625c37ba83b0848bbb212a45995ceec84139 /doc/man/man3/tqscrollview.3qt
parentd21227053cca7f565e2473a3fc0f8f8a07b298c2 (diff)
downloadtqt3-089d5266f0fbf9be6612e9c5f92a3f008f29241c.tar.gz
tqt3-089d5266f0fbf9be6612e9c5f92a3f008f29241c.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/man/man3/tqscrollview.3qt')
-rw-r--r--doc/man/man3/tqscrollview.3qt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/man/man3/tqscrollview.3qt b/doc/man/man3/tqscrollview.3qt
index 188d4b098..e271ad2b3 100644
--- a/doc/man/man3/tqscrollview.3qt
+++ b/doc/man/man3/tqscrollview.3qt
@@ -413,7 +413,7 @@ To enable drag-and-drop, you would setAcceptDrops(TRUE) on the QScrollView (beca
.PP
To handle mouse events on the scrolling area, subclass scrollview as you would subclass other widgets, but rather than reimplementing mousePressEvent(), reimplement contentsMousePressEvent() instead. The contents specific event handlers provide translated events in the coordinate system of the scrollview. If you reimplement mousePressEvent(), you'll get called only when part of the QScrollView is clicked: and the only such part is the "corner" (if you don't set a cornerWidget()) and the frame; everything else is covered up by the viewport, clipper or scroll bars.
.PP
-When you construct a QScrollView, some of the widget flags apply to the viewport() instead of being sent to the TQWidget constructor for the QScrollView. This applies to WNoAutoErase, WStaticContents, and WPaintClever. See Qt::WidgetFlags for documentation about these flags. Here are some examples:
+When you construct a QScrollView, some of the widget flags apply to the viewport() instead of being sent to the TQWidget constructor for the QScrollView. This applies to WNoAutoErase, WStaticContents, and WPaintClever. See TQt::WidgetFlags for documentation about these flags. Here are some examples:
.IP
.TP
An image-manipulation widget would use \fCWNoAutoErase|WStaticContents\fR because the widget draws all pixels itself, and when its size increases, it only needs a paint event for the new part because the old part remains unchanged.