dockWidget.setWidget(treeWidget);
dockWidget.setFeatures(DockWidgetFeature.DockWidgetMovable);
addDockWidget(DockWidgetArea.LeftDockWidgetArea, dockWidget);
// Create the primitive site list window
primitiveList = new QTreeWidget();
primitiveList.setColumnCount(2);
ArrayList<String> headerList = new ArrayList<String>();
headerList.add("Site");
headerList.add("Type");
primitiveList.setHeaderLabels(headerList);
primitiveList.setSortingEnabled(true);
QDockWidget dockWidget2 = new QDockWidget(tr("Primitive List"), this);
dockWidget2.setWidget(primitiveList);
dockWidget2.setFeatures(DockWidgetFeature.DockWidgetMovable);
addDockWidget(DockWidgetArea.LeftDockWidgetArea, dockWidget2);
// Create the wire list window
wireList = new QTreeWidget();
wireList.setColumnCount(2);
ArrayList<String> headerList2 = new ArrayList<String>();
headerList2.add("Wire");
headerList2.add("Sink Connections");
wireList.setHeaderLabels(headerList2);