Isis Developer Reference
TreeView.h
Go to the documentation of this file.
1
#ifndef TreeView_H
2
#define TreeView_H
3
10
/* SPDX-License-Identifier: CC0-1.0 */
11
12
#include <QWidget>
13
14
15
template
<
typename
t >
class
QList
;
16
17
18
namespace
Isis
{
19
class
AbstractTreeItem;
20
class
AbstractTreeModel;
21
class
TreeViewContent;
22
class
TreeViewHeader;
23
31
class
TreeView
:
public
QWidget
{
32
Q_OBJECT
33
34
signals:
35
void
activated
();
36
void
selectionChanged
();
37
38
39
public
:
40
TreeView
(
QWidget
*parent = 0);
41
virtual
~TreeView
();
42
43
QSize
sizeHint
()
const
;
44
45
QFont
getContentFont
()
const
;
46
void
setModel
(
AbstractTreeModel
*someModel);
47
AbstractTreeModel
*
getModel
()
const
;
48
bool
isActive
()
const
;
49
QString
getTitle
()
const
;
50
void
setTitle
(QString someTitle);
51
52
53
public
slots:
54
void
deactivate
();
55
void
activate
();
56
void
handleModelSelectionChanged
();
57
58
59
private
:
// disable copying and assigning of this class
60
TreeView
(
const
TreeView
&);
61
TreeView
&operator=(
const
TreeView
&other);
62
63
64
private
:
// methods
65
void
nullify();
66
67
68
private
:
// data
69
TreeViewHeader
*m_header;
70
TreeViewContent
*m_content;
71
bool
m_active;
72
};
73
}
74
75
#endif
QWidget
Isis::TreeViewContent::refresh
void refresh()
Definition:
TreeViewContent.cpp:129
Isis::TreeView::handleModelSelectionChanged
void handleModelSelectionChanged()
Definition:
TreeView.cpp:122
TreeViewContent.h
QList
This is free and unencumbered software released into the public domain.
Definition:
BoxcarCachingAlgorithm.h:13
Isis::TreeView::TreeView
TreeView(QWidget *parent=0)
Definition:
TreeView.cpp:23
Isis::AbstractTreeModel
Base class for tree models.
Definition:
AbstractTreeModel.h:47
Isis::TreeViewContent::setModel
void setModel(AbstractTreeModel *someModel)
Definition:
TreeViewContent.cpp:98
Isis::TreeView::setModel
void setModel(AbstractTreeModel *someModel)
Definition:
TreeView.cpp:62
Isis::TreeViewHeader
Definition:
TreeViewHeader.h:30
Isis::TreeViewHeader::getText
QString getText()
Definition:
TreeViewHeader.cpp:71
Isis::TreeViewHeader::setText
void setText(QString text)
Definition:
TreeViewHeader.cpp:77
Isis::TreeView::~TreeView
virtual ~TreeView()
Definition:
TreeView.cpp:45
Isis::TreeView::getContentFont
QFont getContentFont() const
Definition:
TreeView.cpp:57
TreeViewHeader.h
Isis::TreeView::selectionChanged
void selectionChanged()
Isis::TreeView::isActive
bool isActive() const
Definition:
TreeView.cpp:87
Isis::TreeView::activate
void activate()
Definition:
TreeView.cpp:112
Isis::TreeView::deactivate
void deactivate()
Definition:
TreeView.cpp:102
Isis::TreeViewContent
Definition:
TreeViewContent.h:36
Isis::TreeViewHeader::setActive
void setActive(bool)
Definition:
TreeViewHeader.cpp:100
TreeView.h
ASSERT
#define ASSERT(x)
Definition:
IsisDebug.h:134
AbstractTreeModel.h
Isis::TreeView::sizeHint
QSize sizeHint() const
Definition:
TreeView.cpp:49
Isis::TreeView
Definition:
TreeView.h:31
Isis::TreeView::setTitle
void setTitle(QString someTitle)
Definition:
TreeView.cpp:97
Isis::TreeViewContent::getModel
AbstractTreeModel * getModel()
Definition:
TreeViewContent.cpp:93
Isis::TreeView::activated
void activated()
IsisDebug.h
Isis::TreeView::getTitle
QString getTitle() const
Definition:
TreeView.cpp:92
Isis::TreeView::getModel
AbstractTreeModel * getModel() const
Definition:
TreeView.cpp:82
Isis
This is free and unencumbered software released into the public domain.
Definition:
Apollo.h:16
home
isis3mgr
repos
ISIS3
isis
src
qisis
objs
CnetEditorWidget
TreeView.h