I found a good tutorial for what I wanted to do.
http://www.creativecrash.com/maya/tu...he-qt-designer
so I was able to update the list inside maya by using a mel proc.
the important thing is that the listView widget name has to be the same as the widget you call whn using textScrollList
here's my procs
proc listStuff()
{
string $list[]=`ls `;
textScrollList -e -ra listWidget;
for($item in $list)
{
textScrollList -e -a $item listWidget;
}
}
proc listStuff()
{
string $list[]=`ls `;
textScrollList -e -ra listWidget;
for($item in $list)
{
textScrollList -e -a $item listWidget;
}
}
To copy to clipboard, switch view to plain text mode
proc printThis()
{
print "This\n";
}
proc printThis()
{
print "This\n";
}
To copy to clipboard, switch view to plain text mode
They're in mel, not qt.. 
now i've linked these 2 procs to my 2 buttons of my ui.
They work fine using the -command dynamic attributes.
I tried using the -command on the listView widget but nothing happened.
I know with Pyqt you can link signal to slot or python def. Is that possible with the qt designer? I'd like to be able to run a mel proc or python def whn I select an item from the listview? actually i'd like to know all event I could run a mel command or python command.
I included the ui file in case its needed.
more later... 
P.S. I'm just testing how qt and mel/pyMel works together at the moment, so my solution are not very elegant at the moment. The link I post is very well done and has lots of explanation.
Bookmarks