Bug 62937 - Please expose QScrollBar objects in QWebView
Summary: Please expose QScrollBar objects in QWebView
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows 7
: P2 Enhancement
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-18 13:20 PDT by szyk
Modified: 2022-07-29 10:47 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description szyk 2011-06-18 13:20:14 PDT
Access to QScrollBar objects is neccessary when we do chat program based on QWebView. Then new messages appear on the bottom. Then it is important to scroll QWebView to the bottom always when user want to (most of the time he want). But some times user want to look at the messages above, so it scroll up. In that case we shouldn't automaticaly scroll to the bottom when new message arrives, instead we must wait when user scrolls again to the bottom. Other case is resizing QWebView, then I must known whether vertical scroll bar was scrolled to the end or not. To handle this two cases I must have acces to QAbstractSlider::sliderMoved signal (from QWebFrame object). Then I will set my variable mScrolledToEnd = sliderPosition() == maximum(). This allow me to proper handle QWebFrame::contentsSizeChanged, and my overloaded QWebView::resizeEvent. Please let me known other solution for this problem if you know.
Comment 1 Alexey Proskuryakov 2022-07-29 10:47:46 PDT
The Qt port has been removed from WebKit, resolving.