Widget controlling the parsing and display of files into tree structures. More...
#include <treewidget.h>
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) |
Signals | |
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 () |
TreeItem & | currentItem () const |
void | copy () const |
void | openStream () |
void | dumpStreamToFile () |
void | closeFile () |
void | dumpToFile () |
TreeModel * | getModel () |
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.
TreeWidget::TreeWidget | ( | const ProgramLoader & | programLoader, |
QWidget * | parent = 0 |
||
) | [explicit] |
QModelIndex TreeWidget::addFile | ( | File * | file, |
const Module & | module | ||
) | [slot] |
void TreeWidget::closeFile | ( | ) |
void TreeWidget::copy | ( | ) | const |
TreeItem& TreeWidget::currentItem | ( | ) | const |
void TreeWidget::displayMenu | ( | const QPoint & | pos | ) | [slot] |
void TreeWidget::dumpStreamToFile | ( | ) |
void TreeWidget::dumpToFile | ( | ) |
void TreeWidget::eventDropped | ( | QDropEvent * | ) | [signal] |
void TreeWidget::openFragmentedFile | ( | Object & | ) | [signal] |
void TreeWidget::openStream | ( | ) |
void TreeWidget::pathChanged | ( | QString | ) | [signal] |
void TreeWidget::positionChanged | ( | qint64 | , |
qint64 | |||
) | [signal] |
void TreeWidget::setColumnsWidths | ( | ) |
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] |