Back to index

salome-gui  6.5.0
Signals | Public Member Functions | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes
OB_EXPORT Protocol Reference

#include <OB_Browser.h>

Collaboration diagram for OB_EXPORT:
Collaboration graph
[legend]

List of all members.

Signals

void selectionChanged ()

Public Member Functions

 OB_Browser (QWidget *=0, QAbstractItemModel *=0)
virtual ~OB_Browser ()
QAbstractItemModel * model () const
void setModel (QAbstractItemModel *)
QAbstractItemDelegate * itemDelegate () const
void setItemDelegate (QAbstractItemDelegate *)
bool rootIsDecorated () const
void setRootIsDecorated (const bool)
bool sortMenuEnabled () const
void setSortMenuEnabled (const bool)
QtxSearchToolsearchTool () const
bool isSearchToolEnabled () const
void setSearchToolEnabled (const bool)
int autoOpenLevel () const
void setAutoOpenLevel (const int)
void openLevels (const int=-1)
int numberOfSelected () const
QModelIndexList selectedIndexes () const
const QItemSelection selection () const
virtual void select (const QModelIndex &, const bool, const bool=true)
virtual void select (const QModelIndexList &, const bool, const bool=true)
bool isOpen (const QModelIndex &) const
virtual void setOpen (const QModelIndex &theObject, const bool theOpen=true)
void adjustWidth ()
void adjustFirstColumnWidth ()
void adjustColumnsWidth ()
unsigned long getModifiedTime () const
void setModified ()
QtxTreeViewtreeView () const

Protected Member Functions

virtual void contextMenuEvent (QContextMenuEvent *)
virtual void createPopupMenu (QMenu *)

Private Slots

void onExpandAll ()
void onCollapseAll ()

Private Member Functions

bool hasCollased (const QModelIndex &) const
bool hasExpanded (const QModelIndex &) const

Private Attributes

QtxTreeViewmyView
QtxSearchToolmySearchTool
int myAutoOpenLevel
unsigned long myModifiedTime

Detailed Description

Definition at line 47 of file OB_Browser.h.


Constructor & Destructor Documentation

virtual OB_EXPORT::~OB_Browser ( ) [virtual]

Member Function Documentation

int OB_EXPORT::autoOpenLevel ( ) const
virtual void OB_EXPORT::contextMenuEvent ( QContextMenuEvent *  ) [protected, virtual]
virtual void OB_EXPORT::createPopupMenu ( QMenu *  ) [protected, virtual]
unsigned long OB_EXPORT::getModifiedTime ( ) const
bool OB_EXPORT::hasCollased ( const QModelIndex &  ) const [private]
bool OB_EXPORT::hasExpanded ( const QModelIndex &  ) const [private]
bool OB_EXPORT::isOpen ( const QModelIndex &  ) const
QAbstractItemDelegate* OB_EXPORT::itemDelegate ( ) const
QAbstractItemModel* OB_EXPORT::model ( ) const
OB_EXPORT::OB_Browser ( QWidget *  = 0,
QAbstractItemModel *  = 0 
)
void OB_EXPORT::onCollapseAll ( ) [private, slot]
void OB_EXPORT::onExpandAll ( ) [private, slot]
void OB_EXPORT::openLevels ( const int  = -1)
virtual void OB_EXPORT::select ( const QModelIndex &  ,
const bool  ,
const bool  = true 
) [virtual]
virtual void OB_EXPORT::select ( const QModelIndexList &  ,
const bool  ,
const bool  = true 
) [virtual]
QModelIndexList OB_EXPORT::selectedIndexes ( ) const
const QItemSelection OB_EXPORT::selection ( ) const
void OB_EXPORT::setItemDelegate ( QAbstractItemDelegate *  )
void OB_EXPORT::setModel ( QAbstractItemModel *  )
virtual void OB_EXPORT::setOpen ( const QModelIndex &  theObject,
const bool  theOpen = true 
) [virtual]

Member Data Documentation

Definition at line 174 of file OB_Browser.h.

unsigned long OB_EXPORT::myModifiedTime [private]

Definition at line 175 of file OB_Browser.h.

Definition at line 168 of file OB_Browser.h.

Definition at line 167 of file OB_Browser.h.


The documentation for this protocol was generated from the following file: