Version: 9.12.0
TreeObserver Class Reference

#include <TreeObserver.hxx>

Inheritance diagram for TreeObserver:
Inheritance graph

Public Slots

virtual void processItemList (QStringList itemNameIdList, int actionId)
 

Public Member Functions

 TreeObserver ()
 
void observe (TreeView *treeView)
 

Constructor & Destructor Documentation

◆ TreeObserver()

TreeObserver::TreeObserver ( )

Member Function Documentation

◆ observe()

void TreeObserver::observe ( TreeView treeView)

This declares the TreeView to be observed by this tree events listener.

References processItemList().

◆ processItemList

void TreeObserver::processItemList ( QStringList  itemNameIdList,
int  actionId 
)
virtualslot

This slot should be implemented in a specialized version of TreeObserver to process the signal emitted from the TreeView. The parameters are:

  • itemNameIdList: the list of name identifiers of model objects associated to the selected qt items in the TreeView (ids for requesting directly the data model).
  • actionId: the identifier of the action selected in the popup menu that triggered this signal.

References LOG.


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