'nuther wh!...I got a button!, lol...
A button in the first column of a TreeView on startup..
Unfortunately, it's not a PushButton, so it's not pushing, lol...
but surely that's something I'm overlookingbut apparently
QStyleOption has no PushButton,but maybe I need to
pass an
On Thursday 25 November 2010, 03:33:28 James Polk wrote:
WhoI got a custom delegate installedat least
partially, lol... Using the basic QItemDelegate
I've first tried a comboBox, which seems a little more
straightforward,..
Congrats, James. The world isn't as bad as it feels
Just remember, that small self contained examples of such issues are the
ultimate weapon to engage them...
Pete
lol, totally,...I went back to Mark Summerfield's book again (and other
examples)...
I'm soo close...but still a step or two go...
Finally figured out how to use my delegate's
On Wednesday 24 November 2010, 04:00:15 James Polk wrote:
Hans, I'm sure you're right, but I'm still a little dense about this,
lol...
All the examples of spinDelegates that I've seen are using integers,
and are present in every cell...usually in QTableView...
I'm using QTreeView, and I
I've transcoded the stardelegate example a few weeks ago, which uses a
custom widget in a QTableView, but due to the model/view/delegate
pattern, that should be easy to map onto your problem.
Pete
Thanks for your reply, Pete...
I reread chap's 14,15, and 16 from Mark Summerfield's book
On Wednesday 24 November 2010, 19:10:05 James Polk wrote:
I've transcoded the stardelegate example a few weeks ago, which uses
a custom widget in a QTableView, but due to the model/view/delegate
pattern, that should be easy to map onto your problem.
Pete
Thanks for your reply, Pete...
WhoI got a custom delegate installedat least partially, lol...
Using the basic QItemDelegate
I've first tried a comboBox, which seems a little more straightforward,..
When using QTableView,...the index.column() calls want text matching
the column headings,...but in QTreeView, the
Hans, I'm sure you're right, but I'm still a little dense about this, lol...
All the examples of spinDelegates that I've seen are using integers,
and are present in every cell...usually in QTableView...
I'm using QTreeView, and I only want a pushButton/Icon in the first
column,...I've spent
Hello,
I'm trying to figure out how embed a pushButton (with iconic image
preferrably) in the first column of a TableView (or TreeView in
QSortFilterProxyModel). This is something that is pretty easy to do
in MEL (Maya's command language) but apparently seems pretty
tricky to do in PyQt. I've
Op den Dingsdag 16 November 2010 Klock 19:21:08 hett James Polk schreven:
I'm trying to figure out how embed a pushButton (with iconic image
preferrably) in the first column of a TableView (or TreeView in
QSortFilterProxyModel).
AFAIK, this is exactly what widget delegates are for.
10 matches
Mail list logo