Mercurial > hg > octave-terminal
changeset 13433:785516f65f0a
Added global ans persistent space.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Thu, 14 Apr 2011 08:14:20 +0200 |
parents | 780bdefe9c6c |
children | 73af3d75ddcd |
files | gui//src/VariablesDockWidget.cpp |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gui//src/VariablesDockWidget.cpp +++ b/gui//src/VariablesDockWidget.cpp @@ -25,6 +25,15 @@ QTreeWidgetItem *treeWidgetItem = new QTreeWidgetItem(); treeWidgetItem->setData(0, 0, QString("Local")); m_variablesTreeWidget->insertTopLevelItem(0, treeWidgetItem); + + treeWidgetItem = new QTreeWidgetItem(); + treeWidgetItem->setData(0, 0, QString("Global")); + m_variablesTreeWidget->insertTopLevelItem(1, treeWidgetItem); + + treeWidgetItem = new QTreeWidgetItem(); + treeWidgetItem->setData(0, 0, QString("Persistent")); + m_variablesTreeWidget->insertTopLevelItem(2, treeWidgetItem); + m_variablesTreeWidget->expandAll(); }