Doh!please ignore that last emailI found the problem...and it is me!
For those who are using Maya and PyQt, may I offer this
hard-earned pearl of wisdom?(who knows maybe somebody
else will have the answer, lol)
Unlike MEL,...where you can re-source the code and re-run the
code to ge
Having a real problem figuring this one out, am hoping you guys
can shed some light on this...
In my treeview, I have decoration turned off, so it looks like a
table or spreadsheet,...I have a delegate (that's been working fine)
that handles the display of items in the treeview, right...
Across
Hi,
Some time ago I wrote a simple extension to the QStandardItemModel class
that permits exclusive checkboxes in a treeview, ie. radio button
behavior. This no longer works.
If you check the first item, and then check one of the other, the first
item it not unchecked. If you then navigate
A Divendres, 29 de maig de 2009, Ben De Luca va escriure:
> Hi List,
>
> I am implimenting a treeview and I wanted the editor that I use to
> change tree names to show the name, rather than being blank. When I
> look at the tree view it is using a QtGui.QStyledItemDelegate so I
> subclass that wit
Hi List,
I am implimenting a treeview and I wanted the editor that I use to
change tree names to show the name, rather than being blank. When I
look at the tree view it is using a QtGui.QStyledItemDelegate so I
subclass that with a completely empty function and then set it as my
trees item delega
That looks like a good idea and should be easy to implement.
Regards,
Ulrich
Doug Bell wrote:
You don't actually have to create all items at once with the tree-widget
item-based approach. You can just create the visible items (that have
open parents). Then create a method that loads children o
Ulrich wrote:
> The tree has 3 to 4 levels. Let's say the first level contains 30 items,
> the second level 2000 and the third contains 7000 "folders". The last
> level contains 50,000 items.
>
> I thought it would be a good idea (?) to store the data in a database
> like SQLite, because this
Hi,
I have tree-structured data, something like a filesystem where you have
folders and files.
FolderA
+-FolderA1
+-FolderA2
--+--FileA2.1
+-FolderA3
FolderB
FolderC
I think you know what I mean ;-)
The tree has 3 to 4 levels. Let's say the first level contains 30 items,
the
ok, i need to use a QItemSelectionModel apparently...
From: [EMAIL PROTECTED]
To: pyqt@riverbankcomputing.com
Date: Thu, 10 Jan 2008 11:58:54 +
Subject: [PyQt] treeView doing my head in
I think i must have some fundamental miss-understanding.
i have a treeview full of stuff, any i
I think i must have some fundamental miss-understanding.
i have a treeview full of stuff, any i want users to be able to select nodes
and do stuff with them.
ok, originally i was going to make the items checkable since that how i have
done this befor with QT3 and it was really easy. I have be
On Tue Oct 16 16:41:26 BST 2007, lucaberto wrote:
> Hello can you explain me why if i do this :
>
> import sys
> from PyQt4 import QtCore, QtGui
>
> if __name__ == "__main__":
> app = QtGui.QApplication(sys.argv)
>
> model = QtGui.QDirModel()
> tree = QtGui.QTreeView()
> tre
Hello can you explain me why if i do this :
import sys
from PyQt4 import QtCore, QtGui
if __name__ == "__main__":
app = QtGui.QApplication(sys.argv)
model = QtGui.QDirModel()
tree = QtGui.QTreeView()
tree.setModel(model)
tree.setWindowTitle(tree.tr("Dir View"))
12 matches
Mail list logo