TreeWidget Class Reference

Widget controlling the parsing and display of files into tree structures. More...

#include <treewidget.h>

List of all members.

Public Slots

QModelIndex addFile (File *file, const Module &module)
void updatePath (QModelIndex currentIndex)
void updatePosition (QModelIndex currentIndex)
void setCurrentIndex (QModelIndex index)
void displayMenu (const QPoint &pos)
void updateByFilePosition (qint64 position)


void pathChanged (QString)
void positionChanged (qint64, qint64)
void eventDropped (QDropEvent *)
void openFragmentedFile (Object &)

Public Member Functions

 TreeWidget (const ProgramLoader &programLoader, QWidget *parent=0)
QSize sizeHint () const
void setColumnsWidths ()
TreeItemcurrentItem () const
void copy () const
void openStream ()
void dumpStreamToFile ()
void closeFile ()
void dumpToFile ()
TreeModelgetModel ()

Detailed Description

Widget controlling the parsing and display of files into tree structures.

The tree is managed by two main classes : the TreeModel responsible for managing the data model of the tree and the TreeView responsible for displaying and controlling the tree.

The widget also contain a FilterWidget that allows to filter nodes based on the evaluation of an HMDL expression on the corresponding objects.

Constructor & Destructor Documentation

TreeWidget::TreeWidget ( const ProgramLoader programLoader,
QWidget *  parent = 0 
) [explicit]

Member Function Documentation

QModelIndex TreeWidget::addFile ( File file,
const Module module 
) [slot]
void TreeWidget::copy ( ) const
void TreeWidget::displayMenu ( const QPoint &  pos) [slot]
void TreeWidget::eventDropped ( QDropEvent *  ) [signal]
void TreeWidget::openFragmentedFile ( Object ) [signal]
void TreeWidget::pathChanged ( QString  ) [signal]
void TreeWidget::positionChanged ( qint64  ,
) [signal]
void TreeWidget::setCurrentIndex ( QModelIndex  index) [slot]
QSize TreeWidget::sizeHint ( ) const
void TreeWidget::updateByFilePosition ( qint64  position) [slot]
void TreeWidget::updatePath ( QModelIndex  currentIndex) [slot]
void TreeWidget::updatePosition ( QModelIndex  currentIndex) [slot]

The documentation for this class was generated from the following file: