Thread
:
how to hide the bar on top ?
View Single Post
aspidites
2010-05-19 , 09:07
Posts: 402 | Thanked: 229 times | Joined on Nov 2009 @ Missouri, USA
#
7
As per
http://doc.qt.nokia.com/qt-maemo-4.6...r.html#details
, QScrollArea inherits finger scrollable behavior.
If you have something like, say, a text edit widget inside a scroll area, you'll have to disable scrolling inside the text edit widget itself (perhaps by catching events and sending them to the scroll area for example) before it will allow the whole area to be finger scrollable.
There are examples of this here:
http://doc.qt.nokia.com/qt-maemo-4.6...cswebview.html
For PR 1.2 it will only take one line of code to make a UI auto-rotate (python):
Code:
self.setAttribute(Qt.WA_Maemo5AutoOrientation)
In the above case, self is a QMainWindow
__________________
aspidites
|
blog
|
aspidites@inbox.com
Quote & Reply
|
aspidites
View Public Profile
Send a private message to aspidites
Find all posts by aspidites