Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Isis 3 Programmer Reference
TreeView.h
1#ifndef TreeView_H
2#define TreeView_H
3
9
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;
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
Base class for an item in the tree.
Base class for tree models.
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16