<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
<br>I think i must have some fundamental miss-understanding.<br><br>i have a treeview full of stuff, any i want users to be able to select nodes and do stuff with them.<br><br>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 been given some good hints as to how i could implement this in QT4 but decided there is no real need for the checkboxes, users can simply select the items then press a button. but-- I cant find a method to see if a QstandardItem is sellected or not!<br>there is a method for seeing if it is selectable: <br><br> bool<span style="text-decoration: underline;"><span style="font-weight: bold;"></span></span> isSelectable () const<br><br>but i cant find a:<br><br> bool<span style="text-decoration: underline;"><span style="font-weight: bold;"></span></span> isSelected () const<br><br>???????<br> <br>thanks again for any help<br><br><br /><hr />She said what? About who? <a href='http://www.msnsearchstar.com' target='_new'>Shameful celebrity quotes on Search Star!</a></body>
</html>