| The Following User Says Thank You to attila77 For This Useful Post: | ||
|
|
2010-05-19
, 08:38
|
|
Posts: 402 |
Thanked: 229 times |
Joined on Nov 2009
@ Missouri, USA
|
#12
|
|
|
2010-05-19
, 09:41
|
|
|
Posts: 1,012 |
Thanked: 817 times |
Joined on Jul 2007
@ France
|
#13
|
Well, the docs say:
QTextEdit and QPlainTextEdit are fully Maemo 5 style guide compliant. This means that these widgets will not show scrollbars, will not allow the user to select text and will not have kinetic scrolling enabled by default.
QAbstractKineticScroller *scroller = scrollArea->property("kineticScroller") .value<QAbstractKineticScroller *>();
if (scroller)
scroller->setEnabled(false);
Khertan, does this solve the issue ?
| The Following User Says Thank You to Khertan For This Useful Post: | ||
|
|
2010-05-19
, 09:52
|
|
Posts: 402 |
Thanked: 229 times |
Joined on Nov 2009
@ Missouri, USA
|
#14
|
| The Following User Says Thank You to aspidites For This Useful Post: | ||
|
|
2010-05-19
, 11:05
|
|
|
Posts: 1,012 |
Thanked: 817 times |
Joined on Jul 2007
@ France
|
#15
|
|
|
2010-05-19
, 11:12
|
|
Posts: 3,319 |
Thanked: 5,610 times |
Joined on Aug 2008
@ Finland
|
#16
|
|
|
2010-05-19
, 11:13
|
|
|
Posts: 1,012 |
Thanked: 817 times |
Joined on Jul 2007
@ France
|
#17
|
|
|
2010-05-19
, 11:14
|
|
|
Posts: 1,012 |
Thanked: 817 times |
Joined on Jul 2007
@ France
|
#18
|
Oops. If it's not there, I might have overwritten it when migrating to git... I'll report back with details later.
|
|
2010-05-19
, 19:17
|
|
Posts: 402 |
Thanked: 229 times |
Joined on Nov 2009
@ Missouri, USA
|
#19
|
|
|
2010-05-20
, 17:42
|
|
|
Posts: 1,012 |
Thanked: 817 times |
Joined on Jul 2007
@ France
|
#20
|
PySide doesn't like super() (from what I've experimented with), so you'll have to do SuperClass.__init__(). For example, QMainWindow.__init__(parent)
| The Following User Says Thank You to Khertan For This Useful Post: | ||
QTextEdit and QPlainTextEdit are fully Maemo 5 style guide compliant. This means that these widgets will not show scrollbars, will not allow the user to select text and will not have kinetic scrolling enabled by default.
QAbstractKineticScroller *scroller = scrollArea->property("kineticScroller") .value<QAbstractKineticScroller *>();
if (scroller)
scroller->setEnabled(false);
Khertan, does this solve the issue ?
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc