OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio


Welcome Guest ( Log In | Register )

> QSplitter missing in PyQt on the Zaurus
post Jun 30 2004, 01:19 AM
Post #1

Group: Members
Posts: 366
Joined: 4-November 03
From: Slovakia
Member No.: 850

Hi all,

The following Python script runs fine on the big box but fails on the Z, saying name 'QSplitter' is not defined:
#!/usr/bin/env python
import sys
from qt import *
split=QSplitter(Qt.Vertical, None)
label1.setText("Test 1")
label2.setText("Test 2")

Further, grep QSplitter `ipkg files python-pyqt` returns nothing - so the class isn't even mentioned in the Zaurus implementation. The Python packages I'm using come from the 3.3.6-pre1 feed.

Given that QSplitter is such a basic piece of UI I'm quite puzzled as to why it is absent. I can work around this limitation for now, fortunately, but someday I may well need a split pane so it's quite discomforting to see it missing. Is it perhaps there and I'm just looking in the wrong place? Has it been deprecated & replaced by something else? Can anyone provide an explanation? Any advice appreciated.

Go to the top of the page
+Quote Post
Start new topic
post Jun 30 2004, 02:01 AM
Post #2

Group: Members
Posts: 1,495
Joined: 12-November 03
From: Germany
Member No.: 907

Qt/Embedded is based on features which you can enable or disable in a particular build. One of Sharps less bright decisions was to exclude the Splitter out of their version of libqte2 hence it isn't available from PyQt.

If it wasn't for compatibility, we would've reenabled the Splitter (which we consider an important UI element - especially for tiny displays) already. We will most certainly do it in Opie 2.
Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 20th June 2018 - 05:12 AM