33 #include <QModelIndex> 
   34 #include <QItemSelection> 
   37 #pragma warning( disable:4251 ) 
   41 class QAbstractItemDelegate;
 
   61   QAbstractItemDelegate* itemDelegate() 
const;
 
   62   void                   setItemDelegate( QAbstractItemDelegate* );
 
   64   bool                   rootIsDecorated() 
const;
 
   65   void                   setRootIsDecorated( 
const bool );
 
   67   bool                   sortMenuEnabled() 
const;
 
   68   void                   setSortMenuEnabled( 
const bool );
 
   71   bool                   isSearchToolEnabled() 
const;
 
   72   void                   setSearchToolEnabled( 
const bool );
 
   74   int                    autoOpenLevel() 
const;
 
   75   void                   setAutoOpenLevel( 
const int );
 
   76   void                   openLevels( 
const int = -1 );
 
   81   int                    numberOfSelected() 
const;
 
   82   QModelIndexList        selectedIndexes() 
const;
 
   83   const QItemSelection   selection() 
const;
 
   85   virtual void           select( 
const QModelIndex&, 
const bool, 
const bool = 
true );
 
   86   virtual void           select( 
const QModelIndexList&, 
const bool, 
const bool = 
true );
 
   88   bool                   isOpen( 
const QModelIndex& ) 
const;
 
   89   virtual void           setOpen( 
const QModelIndex& theObject, 
const bool theOpen = 
true );
 
   92   void                   adjustFirstColumnWidth();
 
   93   void                   adjustColumnsWidth();
 
  106   unsigned long          getModifiedTime() 
const;
 
  115   QByteArray             getOpenStates( 
int theColumn ) 
const;
 
  116   void                   setOpenStates( 
const QByteArray&, 
int theColumn );
 
  119   void                   openStates( 
bool isGet, 
MapOfOpenStates&, 
const QModelIndex& theIndex, 
int theColumn );
 
  122   void                   selectionChanged();
 
  128   void                   onCollapseAll();
 
  138   virtual void           contextMenuEvent( QContextMenuEvent* );
 
  139   virtual void           createPopupMenu( 
QMenu* );
 
  148   bool                   hasCollased( 
const QModelIndex& ) 
const;
 
  149   bool                   hasExpanded( 
const QModelIndex& ) 
const;
 
  188 #endif  // OB_BROWSER_H