Re: [PySide] ImportError when importing from the PySide Egg

2013-01-31 Thread Roman Lacko
Hi, you need to install the PySIde egg with easy_install: $ easy_install PySide-1.1.3dev-py2.7.egg If you don't want to install PySide into system python, you can use virtualenv. Regards Roman 2013/2/1 Purple Tentacle > Hello everyone, > > I followed the instructions

[PySide] ImportError when importing from the PySide Egg

2013-01-31 Thread Purple Tentacle
Hello everyone, I followed the instructions for building a standalone PySide egg in Linux. Then I moved the egg to a test directory along with a Python script to test it. I want to be able to access the egg from the current directory, not from the Python

Re: [PySide] Moving up a tree

2013-01-31 Thread Aaron Richiger
Hello! As John already mentioned: Some code would have been great and often says more than many words... One central unclear point is whether you are using QTreeWidget or QTreeView. I took the 50/50 joker, guessed a QTreeWidget :-) and wrote a simple example that does what you are looking for

Re: [PySide] Moving up a tree

2013-01-31 Thread John Ehresman
On 1/31/13 4:54 PM, litltb...@gmail.com wrote: > C > 5 > 6 > d > e > > So let's say I click on 'e' in the GUI, I can get it to identify that I > selected 'e', but when I try to get the parents, 6 and C, I get 'd', > '6', '5', 'C', 'B', 'A' What code are you using to get th

[PySide] Moving up a tree

2013-01-31 Thread litltbear
Ok since last email I don't even understand my question, so I don't know how I expect you to. Let's try this again. I am using python, pyside, QT. I have an GUI that displays some data in a Tree structure, with drop down arrows. The structure resembles a file structure with 'files' and 'subfile

Re: [PySide] Moving up a tree

2013-01-31 Thread John Ehresman
On 1/31/13 1:46 PM, litltb...@gmail.com wrote: > I'm using QTreeWidget, QTreeView, and QTreeWidgetItems. > > I'm trying to add an item to the tree. So if I select an item, I need > to know where in the tree I am and also the root of that sub tree. You can get the list of items selected via the s

[PySide] Moving up a tree

2013-01-31 Thread litltbear
I have a tree that resembles the tree structure of computer files: A folder with sub folders, another file with subfolders: A 1 a b 2 c d B 3 e f 4 g h I'

[PySide] Moving up a Tree

2013-01-31 Thread litltbear
I have a tree that resembles the tree structure of computer files: A folder with sub folders, another file with subfolders: A 1 a b 2 c d B 3 e f 4 g h I'