...and just to cleanup and clarify,
in "ms.py", I had to go back and edit it to be:
global MyTreeView
instead of just simply "MyTreeView" which I wrote before...
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com
Well I found a solution and thought I would share it...
Probably not the most elegant, but it does work..
Works by using an import global variable (told you it wasn't elegant ;-)
I created a file named "ms.py" and inside is a single line:
MyTreeView
and that's all.
In my main.py,...I "im
hi,
not sure its a good idea but i solved this kind of problem by sending a
signal from the delegate which the view can catch and perform the edit
on all the selected items. it works just fine here.
bests
Zoli
On 2011.04.06. 2:43, James Polk wrote:
I have a curious dilemma I can't seem to
On Wednesday 06 April 2011, 02:43:38 James Polk wrote:
> I have a curious dilemma I can't seem to find any information about
> in the docs...
>
> I have a QTreeView and a delegate...
> The items in the QTreeView have columns of similar data. When I set
> the selection behaviour to multiSelect (act
I have a curious dilemma I can't seem to find any information about in the
docs...
I have a QTreeView and a delegate...
The items in the QTreeView have columns of similar data. When I set the
selection behaviour to multiSelect (actually called ExtendedSelect) I can pick
a single column of numbe