Classes | Typedefs | Functions

treeview.h File Reference

#include <QWidget>
#include <QWidgetAction>
#include <QMenu>
#include <QStyledItemDelegate>
#include <QList>
#include "treeitem.h"
#include <QTreeView>
Include dependency graph for treeview.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TreeItemSelectionBox
 Is essentialy a selection box for the possible items to be put in the node of ProjectTreeView. More...
class  TreeItemSetupAction
 This is essentialy a QAction used by TreeViewMenu to represent TreeItemSelectionBox. More...
class  TreeViewMenu
 Menu used by ProjectTreeView. More...
class  TreeViewDelegate
 Delegate used by ProjectTreeView. More...
class  ProjectTreeView
 View for ProjectTreeModel representing the project tree. More...

Typedefs

typedef QList< TreePathTreePathList
 Definition of a list of TreePaths.

Functions

 Q_DECLARE_METATYPE (TreePathList)

Typedef Documentation

Definition of a list of TreePaths.

Best would be to implement it as a QSet, but QSet needs a qHash(TreePath), and computing a unique qHash from a TreePath is, as far as I see, near to impossible. Decent algorithms (i.e. not based on "magical numbers") simply do not exist.


Function Documentation

Q_DECLARE_METATYPE ( TreePathList   )