ODIN
odin
odindialog_tree.h
1
/***************************************************************************
2
odindialog_tree.h - description
3
-------------------
4
begin : Mon Oct 10 21:30:11 CEST 2005
5
copyright : (C) 2000-2021 by Thies H. Jochimsen
6
email : thies@jochimsen.de
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#ifndef ODINDIALOG_TREE_H
19
#define ODINDIALOG_TREE_H
20
21
22
#include <odinqt/odinqt.h>
23
24
#include <odinseq/seqtree.h>
25
26
27
28
class
TreeDialog :
public
GuiDialog
,
public
SeqTreeCallbackAbstract
{
29
30
public
:
31
TreeDialog(QWidget *parent,
const
char
* caption,
const
svector
& column_labels);
32
~TreeDialog();
33
34
private
:
35
// virtual functions from SeqTreeCallbackAbstract
36
void
display_node(
const
SeqClass
* thisnode,
const
SeqClass
* parentnode,
int
treelevel,
const
svector
& columntext);
37
38
GuiGridLayout
* grid;
39
40
GuiListView
* root;
41
42
STD_map<const SeqClass*, GuiListItem*> nodemap;
43
STD_map<GuiListItem*, GuiListItem*> lastitemmap;
44
45
};
46
47
#endif
GuiDialog
Definition:
odinqt.h:426
GuiGridLayout
Definition:
odinqt.h:150
GuiListView
Definition:
odinqt.h:512
SeqClass
Definition:
seqclass.h:62
SeqTreeCallbackAbstract
Definition:
seqtree.h:40
svector
Definition:
tjvector.h:468
Generated on Fri Oct 15 2021 11:37:00 for ODIN by
1.9.1