What if I load up the treeview widget, then load the data when someone expands the '+' sign? This way, I can at least show a progress dialog while the children of the root are being populated, but the trouble I am having now is connecting to the expanded signal. This is the code I was using for the signal, but the compiler complains about no matching function call for connect.

Qt Code:
  1. connect(&rm06Root, SIGNAL(itemExpanded(QTreeWidgetItem&)), this, SLOT(loadTree()));
To copy to clipboard, switch view to plain text mode 

rm06Root is declared as such, as well as the code checking for expansion and then calling the function loadTree()

Qt Code:
  1. rm06Root = new QTreeWidgetItem(treeWidget); // RMUX Errors - parent
  2. rm06Root->setText(0, tr("Ringmux 6 Errors - Tied to DSP 2A"));
  3. treeWidget->addTopLevelItem(rm06Root);
  4. if(rmx06Err.size() != 0)
  5. rm06Root->setChildIndicatorPolicy(QTreeWidgetItem::ShowIndicator);
  6.  
  7. if(rm06Root->isExpanded() == true)
  8. loadTree();
To copy to clipboard, switch view to plain text mode 

and i have loadTree() declared in privateSlots.....

This is the actual error message:

/errordialog.cpp:80: error: no matching function for call to `ErrorDialog::connect(QTreeWidgetItem**, const char*, ErrorDialog* const, const char*)'

Thanks!