Changeset View
Changeset View
Standalone View
Standalone View
addons/symbolviewer/fortran_parser.cpp
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Line(s) | 47 | if(m_treeOn->isChecked()) | |||
---|---|---|---|---|---|
48 | { | 48 | { | ||
49 | funcNode = new QTreeWidgetItem(m_symbols, QStringList(i18n("Functions") ) ); | 49 | funcNode = new QTreeWidgetItem(m_symbols, QStringList(i18n("Functions") ) ); | ||
50 | subrNode = new QTreeWidgetItem(m_symbols, QStringList( i18n("Subroutines") ) ); | 50 | subrNode = new QTreeWidgetItem(m_symbols, QStringList( i18n("Subroutines") ) ); | ||
51 | modNode = new QTreeWidgetItem(m_symbols, QStringList( i18n("Modules") ) ); | 51 | modNode = new QTreeWidgetItem(m_symbols, QStringList( i18n("Modules") ) ); | ||
52 | funcNode->setIcon(0, QIcon(func)); | 52 | funcNode->setIcon(0, QIcon(func)); | ||
53 | modNode->setIcon(0, QIcon(mod)); | 53 | modNode->setIcon(0, QIcon(mod)); | ||
54 | subrNode->setIcon(0, QIcon(subr)); | 54 | subrNode->setIcon(0, QIcon(subr)); | ||
55 | 55 | | |||
56 | if (m_plugin->expandedOn) | 56 | if (m_expandOn->isChecked()) | ||
57 | { | 57 | { | ||
58 | m_symbols->expandItem(funcNode); | 58 | m_symbols->expandItem(funcNode); | ||
59 | m_symbols->expandItem(subrNode); | 59 | m_symbols->expandItem(subrNode); | ||
60 | m_symbols->expandItem(modNode); | 60 | m_symbols->expandItem(modNode); | ||
61 | } | 61 | } | ||
62 | 62 | | |||
63 | lastSubrNode = subrNode; | 63 | lastSubrNode = subrNode; | ||
64 | lastFuncNode = funcNode; | 64 | lastFuncNode = funcNode; | ||
▲ Show 20 Lines • Show All 191 Lines • Show Last 20 Lines |