Public Slots | Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes
swri_profiler_tools::ProfileTreeWidget Class Reference

#include <profile_tree_widget.h>

List of all members.

Public Slots

void setActiveNode (int profile_key, int node_key)

Signals

void activeNodeChanged (int profile_key, int node_key)

Public Member Functions

 ProfileTreeWidget (QWidget *parent=0)
void setDatabase (ProfileDatabase *db)
 ~ProfileTreeWidget ()

Private Slots

void handleItemActivated (QTreeWidgetItem *item, int column)
void handleNodesAdded (int profile_key)
void handleProfileAdded (int profile_key)
void handleTreeContextMenuRequest (const QPoint &pos)

Private Member Functions

void addNode (QTreeWidgetItem *parent, const Profile &profile, const int node_key)
void addProfile (int profile_key)
void markItemActive (const DatabaseKey &key)
void markItemInactive (const DatabaseKey &key)
QString nameForKey (const DatabaseKey &key) const
void synchronizeWidget ()

Private Attributes

DatabaseKey active_key_
ProfileDatabasedb_
std::unordered_map
< DatabaseKey, QTreeWidgetItem * > 
items_
QTreeWidget * tree_widget_

Detailed Description

Definition at line 49 of file profile_tree_widget.h.


Constructor & Destructor Documentation

Definition at line 50 of file profile_tree_widget.cpp.

Definition at line 72 of file profile_tree_widget.cpp.


Member Function Documentation

void swri_profiler_tools::ProfileTreeWidget::activeNodeChanged ( int  profile_key,
int  node_key 
) [signal]
void swri_profiler_tools::ProfileTreeWidget::addNode ( QTreeWidgetItem *  parent,
const Profile profile,
const int  node_key 
) [private]

Definition at line 156 of file profile_tree_widget.cpp.

void swri_profiler_tools::ProfileTreeWidget::addProfile ( int  profile_key) [private]

Definition at line 124 of file profile_tree_widget.cpp.

void swri_profiler_tools::ProfileTreeWidget::handleItemActivated ( QTreeWidgetItem *  item,
int  column 
) [private, slot]

Definition at line 205 of file profile_tree_widget.cpp.

void swri_profiler_tools::ProfileTreeWidget::handleNodesAdded ( int  profile_key) [private, slot]

Definition at line 103 of file profile_tree_widget.cpp.

void swri_profiler_tools::ProfileTreeWidget::handleProfileAdded ( int  profile_key) [private, slot]

Definition at line 97 of file profile_tree_widget.cpp.

void swri_profiler_tools::ProfileTreeWidget::handleTreeContextMenuRequest ( const QPoint &  pos) [private, slot]

Definition at line 178 of file profile_tree_widget.cpp.

Definition at line 228 of file profile_tree_widget.cpp.

Definition at line 237 of file profile_tree_widget.cpp.

QString swri_profiler_tools::ProfileTreeWidget::nameForKey ( const DatabaseKey key) const [private]

Definition at line 214 of file profile_tree_widget.cpp.

void swri_profiler_tools::ProfileTreeWidget::setActiveNode ( int  profile_key,
int  node_key 
) [slot]

Definition at line 246 of file profile_tree_widget.cpp.

Definition at line 76 of file profile_tree_widget.cpp.

Definition at line 109 of file profile_tree_widget.cpp.


Member Data Documentation

Definition at line 56 of file profile_tree_widget.h.

Definition at line 51 of file profile_tree_widget.h.

std::unordered_map<DatabaseKey, QTreeWidgetItem*> swri_profiler_tools::ProfileTreeWidget::items_ [private]

Definition at line 57 of file profile_tree_widget.h.

Definition at line 54 of file profile_tree_widget.h.


The documentation for this class was generated from the following files:


swri_profiler_tools
Author(s):
autogenerated on Sat Apr 27 2019 03:08:49