itom 2.0.0
ito::FileSystemDockWidget Class Reference
Inheritance diagram for ito::FileSystemDockWidget:
ito::AbstractDockWidget

List of all members.

Public Slots

RetVal changeBaseDirectory (QString dir)
void processError (QProcess::ProcessError error)

Signals

void currentDirChanged ()

Public Member Functions

 FileSystemDockWidget (const QString &title, const QString &objName, QWidget *parent=NULL, bool docked=true, bool isDockAvailable=true, tFloatingStyle floatingStyle=floatingNone, tMovingStyle movingStyle=movingEnabled, const QString &baseDirectory=QDir::currentPath())

Protected Member Functions

void createActions ()
void createMenus ()
void createToolBars ()
void createStatusBar ()
void updateActions ()
void updatePythonActions ()
QString getHtmlTag (const QString &tag)
bool eventFilter (QObject *obj, QEvent *event)
 eventFilter for m_pWindow

Private Slots

void mnuMoveCDUp ()
void mnuSelectCD ()
void mnuCopyDir ()
void mnuPasteDir ()
void mnuLocateOnDisk ()
void mnuExecuteFile ()
void mnuOpenFile ()
void mnuRenameItem ()
void mnuDeleteItems ()
void mnuCutItems ()
void mnuCopyItems ()
void mnuPasteItems ()
void mnuNewDir ()
void mnuNewPyFile ()
void showList ()
void showDetails ()
void mnuToggleView ()
void newDirSelected (const QString &text)
void cmbFilterEditTextChanged (const QString &text)
void openFile (const QModelIndex &index)
void treeViewContextMenuRequested (const QPoint &pos)
void setTreeViewHideColumns (const bool &hide)
void removeActionFromDirList (const int &pos)
void itemDoubleClicked (const QModelIndex &index)
void pathAnchorClicked (const QUrl &link)

Private Member Functions

void fillFilterList ()
void showInGraphicalShell (const QString &filePath)

Private Attributes

QMenu * m_pShowDirListMenu
QMenu * m_pFileSystemSettingMenu
QMenu * m_pContextMenu
QTextBrowser * m_pPathEdit
QToolBar * m_pMainToolbar
QTreeViewItomm_pTreeView
QLabel * m_pLblFilter
QComboBox * m_pCmbFilter
QFileSystemModel * m_pFileSystemModel
QSignalMapper * m_newDirSelectedMapper
QString baseDirectory
QHash< QString, QStringList > defaultFilterPatterns
QMutex baseDirChangeMutex
QList< QUrl > m_clipboardCutData
int * m_pColumnWidth
ShortcutActionm_pActMoveCDUp
ShortcutActionm_pActSelectCD
ShortcutActionm_pActCopyDir
ShortcutActionm_pActPasteDir
ShortcutActionm_pActOpenFile
ShortcutActionm_pActExecuteFile
ShortcutActionm_pActLocateOnDisk
ShortcutActionm_pActRenameItem
ShortcutActionm_pActDeleteItems
ShortcutActionm_pActCutItems
ShortcutActionm_pActCopyItems
ShortcutActionm_pActPasteItems
ShortcutActionm_pActNewDir
ShortcutActionm_pActNewPyFile
ShortcutActionm_pViewList
ShortcutActionm_pViewDetails
QAction * m_lastMovedShowDirAction

Member Function Documentation

bool ito::FileSystemDockWidget::eventFilter ( QObject *  obj,
QEvent *  event 
) [protected]

eventFilter for m_pWindow

depending on m_floatingStyle and the docked property, close-events will be catched by the closeEvent-method of this docking-widget or by the closeEvent of m_pWindow, which is not overloaded directly. Therefore this event-filter is installed and in case of a QCloseEvent, the closeEvent-method of this docking widget will be invoked in order to handle the close request. Else, the event will be passed and handled by somebody else.

Reimplemented from ito::AbstractDockWidget.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends