FolderTableView Class Reference

#include <foldertableview.h>

Collaboration diagram for FolderTableView:

Collaboration graph
[legend]

List of all members.

Signals

void checkButtons (bool force=true)
void updateFilterTarget (FolderTableModel *, QString)

Public Member Functions

 FolderTableView (QWidget *parent, FolderTableModel *theModel)
 ~FolderTableView ()
void enableSorting (bool enabled=true)
void setRowsHidden (QList< int > rows, bool hide)
void showAllRows ()
FolderTableModelgetFolderTableModel () const

Protected Member Functions

void contextMenuEvent (QContextMenuEvent *event)

Private Types

enum  SelectionCategories { oldRows, newRows, duplicateOldRows, duplicateNewRows }

Private Slots

void slotNewRow ()
void slotCommit ()
void slotRemove ()
void slotFillCells ()
void slotDisplayAsHex ()
void slotDisplayAsDec ()
void slotDisplayAsOct ()
void slotDisplayAs_Remove ()
void slotDisplayAsDateTime ()
void slotSetFocus ()
void slotApplyFilter (FolderTableModel *tableModel, QList< int > hiddenRows)

Private Member Functions

void createActions ()
int selectionRowCount (QModelIndexList &currentSelectionList)
void testSelection (QModelIndexList &currentSelectionList)
QModelIndexList excludeHiddenItems (QModelIndexList fullSelection)
void focusInEvent (QFocusEvent *event)
void focusOutEvent (QFocusEvent *event)

Private Attributes

FolderTableModelfolderTableModel
FillCellsDialogfillCellsDialog
QAction * actionClone
QAction * actionCommit
QAction * actionRemove
QAction * actionFillCells
QAction * actionDisplayAsDec
QAction * actionDisplayAsHex
QAction * actionDisplayAsOct
QAction * actionDisplayAsDateTime
QAction * actionDisplayAs_Remove
QItemSelectionModel * currentSelectionModel
FolderTableDelegatefolderTableDelegate
QHash< SelectionCategories,
QModelIndexList > 
selectionInspectionResults


Detailed Description

Definition at line 16 of file foldertableview.h.


Member Enumeration Documentation

Enumerator:
oldRows 
newRows 
duplicateOldRows 
duplicateNewRows 

Definition at line 33 of file foldertableview.h.


Constructor & Destructor Documentation

FolderTableView::FolderTableView ( QWidget *  parent,
FolderTableModel theModel 
)

Definition at line 20 of file foldertableview.cpp.

References createActions(), fillCellsDialog, folderTableDelegate, and folderTableModel.

Here is the call graph for this function:

FolderTableView::~FolderTableView (  ) 


Member Function Documentation

void FolderTableView::enableSorting ( bool  enabled = true  ) 

Definition at line 51 of file foldertableview.cpp.

References folderTableModel, and FolderTableModel::isFiltered().

Here is the call graph for this function:

void FolderTableView::setRowsHidden ( QList< int >  rows,
bool  hide 
)

Definition at line 278 of file foldertableview.cpp.

References RootFolderTableItem::child(), folderTableModel, FolderTableModel::getRootTableItem(), and FolderTableItem::setHidden().

Referenced by slotApplyFilter().

Here is the call graph for this function:

void FolderTableView::showAllRows (  ) 

FolderTableModel * FolderTableView::getFolderTableModel (  )  const

Definition at line 308 of file foldertableview.cpp.

References folderTableModel.

Referenced by slotFillCells().

void FolderTableView::contextMenuEvent ( QContextMenuEvent *  event  )  [protected]

void FolderTableView::createActions (  )  [private]

int FolderTableView::selectionRowCount ( QModelIndexList &  currentSelectionList  )  [private]

Definition at line 267 of file foldertableview.cpp.

void FolderTableView::testSelection ( QModelIndexList &  currentSelectionList  )  [private]

QModelIndexList FolderTableView::excludeHiddenItems ( QModelIndexList  fullSelection  )  [private]

Definition at line 68 of file foldertableview.cpp.

Referenced by contextMenuEvent().

void FolderTableView::focusInEvent ( QFocusEvent *  event  )  [private]

Definition at line 81 of file foldertableview.cpp.

References checkButtons(), folderTableModel, and updateFilterTarget().

void FolderTableView::focusOutEvent ( QFocusEvent *  event  )  [private]

Definition at line 89 of file foldertableview.cpp.

References checkButtons().

void FolderTableView::checkButtons ( bool  force = true  )  [signal]

void FolderTableView::updateFilterTarget ( FolderTableModel ,
QString   
) [signal]

Referenced by focusInEvent().

void FolderTableView::slotNewRow (  )  [private, slot]

void FolderTableView::slotCommit (  )  [private, slot]

Definition at line 381 of file foldertableview.cpp.

References checkButtons(), FolderTableModel::commit(), and folderTableModel.

Referenced by createActions().

void FolderTableView::slotRemove (  )  [private, slot]

void FolderTableView::slotFillCells (  )  [private, slot]

void FolderTableView::slotDisplayAsHex (  )  [private, slot]

void FolderTableView::slotDisplayAsDec (  )  [private, slot]

void FolderTableView::slotDisplayAsOct (  )  [private, slot]

void FolderTableView::slotDisplayAs_Remove (  )  [private, slot]

void FolderTableView::slotDisplayAsDateTime (  )  [private, slot]

void FolderTableView::slotSetFocus (  )  [private, slot]

Definition at line 578 of file foldertableview.cpp.

void FolderTableView::slotApplyFilter ( FolderTableModel tableModel,
QList< int >  hiddenRows 
) [private, slot]


Member Data Documentation

Definition at line 35 of file foldertableview.h.

Referenced by FolderTableView(), slotFillCells(), and ~FolderTableView().

QAction* FolderTableView::actionClone [private]

Definition at line 36 of file foldertableview.h.

Referenced by contextMenuEvent(), and createActions().

QAction* FolderTableView::actionCommit [private]

Definition at line 37 of file foldertableview.h.

Referenced by contextMenuEvent(), and createActions().

QAction* FolderTableView::actionRemove [private]

Definition at line 38 of file foldertableview.h.

Referenced by contextMenuEvent(), and createActions().

Definition at line 39 of file foldertableview.h.

Referenced by contextMenuEvent(), and createActions().

Definition at line 40 of file foldertableview.h.

Referenced by contextMenuEvent(), and createActions().

Definition at line 41 of file foldertableview.h.

Referenced by contextMenuEvent(), and createActions().

Definition at line 42 of file foldertableview.h.

Referenced by contextMenuEvent(), and createActions().

Definition at line 43 of file foldertableview.h.

Referenced by createActions().

Definition at line 44 of file foldertableview.h.

Referenced by contextMenuEvent(), and createActions().

QItemSelectionModel* FolderTableView::currentSelectionModel [private]

Definition at line 45 of file foldertableview.h.

Referenced by contextMenuEvent().

Definition at line 46 of file foldertableview.h.

Referenced by FolderTableView(), and ~FolderTableView().


Generated on Wed Oct 8 14:59:47 2008 for ACE - A COOL Editor by  doxygen 1.5.6