LVRMeshItem::LVRMeshItem(MeshBufferBridgePtr& ptr, QTreeWidgetItem* parent) : QTreeWidgetItem(parent, LVRMeshItemType), m_meshBridge(ptr) { // set initial values m_opacity = 1; m_color = QColor(255,255,255); m_visible = true; m_shader = 0; m_parent = parent; addSubItems(); }
void JucerTreeViewBase::refreshSubItems() { WholeTreeOpennessRestorer wtor (*this); clearSubItems(); addSubItems(); }
void TreeItemBase::refreshSubItems() { WholeTreeOpennessRestorer wtor (*this); clearSubItems(); addSubItems(); }