Hi all,

I am trying to write a small program to list a series of hard drives (Unix) and 
when that is working progressively increase the information show for each of 
the drives...

The problem is that I'm having a real hard time implementing the 
model/view/item classes to do so. Currently, when I add an item to the tree, 
the small "plus" sign appears eventhough there's no childs and when I click on 
it, the same item is repeated over and over again...

A second problem will be when I'll want to add information to each of the 
drives, how to, for example, show a small bar with a percentage for each  one...

In attchment I send all of the files I'm currently using.

Thank you in advance if someone can either give me a hadn or give me some code 
to start with...

Rui

The code I'm using is a python conversion of the C++ example on the Qt4 doc ...

The information in this e-mail is confidential. The contents may not be 
disclosed or used by anyone other then the addressee. Access to this e-mail by 
anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and 
delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of 
this e-mail as it has been sent over public networks. If you have any concerns 
over the content of this message or its Accuracy or Integrity, please contact 
Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus 
scanning software but you should take whatever measures you deem to be 
appropriate to ensure that this message and any attachments are virus free.


_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

This mail has originated outside your organization, either from an external 
partner or the Global Internet.
Keep this in mind if you answer this message.



The information in this e-mail is confidential. The contents may not be 
disclosed or used by anyone other then the addressee. Access to this e-mail by 
anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and 
delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of 
this e-mail as it has been sent over public networks. If you have any concerns 
over the content of this message or its Accuracy or Integrity, please contact 
Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus 
scanning software but you should take whatever measures you deem to be 
appropriate to ensure that this message and any attachments are virus free.

Attachment: TreeItem.py
Description: TreeItem.py

Attachment: MainWindow.py
Description: MainWindow.py

Attachment: TableModel.py
Description: TableModel.py

Attachment: diskinfo.py
Description: diskinfo.py

Attachment: TreeModel.py
Description: TreeModel.py

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to