File failed to load: https://isis.astrogeology.usgs.gov/7.1.0/Object/assets/jax/output/NativeMML/config.js
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
15template< typename t > class QList;
16
17
18namespace 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();
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);
48 bool isActive() const;
49 QString getTitle() const;
50 void setTitle(QString someTitle);
51
52
53 public slots:
54 void deactivate();
55 void activate();
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
Base class for tree models.
Definition: AbstractTreeModel.h:47
Definition: TreeViewContent.h:36
Definition: TreeViewHeader.h:30
Definition: TreeView.h:31
TreeView(QWidget *parent=0)
Definition: TreeView.cpp:23
void handleModelSelectionChanged()
Definition: TreeView.cpp:122
QFont getContentFont() const
Definition: TreeView.cpp:57
QString getTitle() const
Definition: TreeView.cpp:92
void deactivate()
Definition: TreeView.cpp:102
void setModel(AbstractTreeModel *someModel)
Definition: TreeView.cpp:62
bool isActive() const
Definition: TreeView.cpp:87
void setTitle(QString someTitle)
Definition: TreeView.cpp:97
virtual ~TreeView()
Definition: TreeView.cpp:45
QSize sizeHint() const
Definition: TreeView.cpp:49
AbstractTreeModel * getModel() const
Definition: TreeView.cpp:82
void selectionChanged()
void activate()
Definition: TreeView.cpp:112
This is free and unencumbered software released into the public domain.
Definition: BoxcarCachingAlgorithm.h:13
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the USGS Astrogeology Discussion Board
To report a bug, or suggest a feature go to: ISIS Github
File Modified: 02/21/2025 21:56:57