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

List of all members.

Classes

class  FileSystemTreeView

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 changeDir ()
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
FileSystemTreeViewm_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
ShortcutAction * m_pActMoveCDUp
ShortcutAction * m_pActSelectCD
ShortcutAction * m_pActCopyDir
ShortcutAction * m_pActPasteDir
ShortcutAction * m_pActOpenFile
ShortcutAction * m_pActExecuteFile
ShortcutAction * m_pActLocateOnDisk
ShortcutAction * m_pActRenameItem
ShortcutAction * m_pActDeleteItems
ShortcutAction * m_pActCutItems
ShortcutAction * m_pActCopyItems
ShortcutAction * m_pActPasteItems
ShortcutAction * m_pActNewDir
ShortcutAction * m_pActNewPyFile
ShortcutAction * m_pViewList
ShortcutAction * m_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