Menu

[c54480]: / treeeditor.h  Maximize  Restore  History

Download this file

30 lines (20 with data), 439 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef TREEEDITOR_H
#define TREEEDITOR_H
#include <QTreeView>
class VymModel;
/*! \brief TreeView widget in vym to display and edit a map, based on
* QTreeView */
class TreeEditor : public QTreeView {
Q_OBJECT
public:
TreeEditor(VymModel *m=NULL);
~TreeEditor();
void init();
QModelIndex getSelectedIndex();
private slots:
void cursorUp();
void cursorDown();
private:
VymModel *model;
};
#endif
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.