23 #ifndef FILESYSTEMDOCKWIDGET_H
24 #define FILESYSTEMDOCKWIDGET_H
26 #include "../helper/IOHelper.h"
27 #include "abstractDockWidget.h"
29 #include "itomQWidgets.h"
30 #include "../models/itomFileSystemModel.h"
36 #include <qtextbrowser.h>
37 #include <qtreeview.h>
42 #include <qcombobox.h>
47 #include <qsignalmapper.h>
56 Q_PROPERTY(QColor linkColor READ linkColor WRITE setLinkColor DESIGNABLE
true);
62 QColor linkColor() {
return m_linkColor; }
63 void setLinkColor(
const QColor &color);
68 void createToolBars();
69 void createStatusBar(){}
71 void updatePythonActions(){ updateActions(); }
73 QString getHtmlTag(
const QString &tag);
75 bool eventFilter(QObject *obj, QEvent *event);
78 void fillFilterList();
79 void showInGraphicalShell(
const QString &filePath);
81 QMenu* m_pShowDirListMenu;
82 QMenu* m_pFileSystemSettingMenu;
83 QMenu* m_pContextMenu;
84 QTextBrowser* m_pPathEdit;
85 QToolBar* m_pMainToolbar;
88 QComboBox* m_pCmbFilter;
90 QSignalMapper *m_newDirSelectedMapper;
91 QString baseDirectory;
92 QHash<QString,QStringList> defaultFilterPatterns;
93 QMutex baseDirChangeMutex;
94 QList<QUrl> m_clipboardCutData;
115 QAction *m_lastMovedShowDirAction;
118 void currentDirChanged();
125 void mnuLocateOnDisk();
126 void mnuExecuteFile();
128 void mnuRenameItem();
129 void mnuDeleteItems();
132 void mnuPasteItems();
137 void mnuToggleView();
138 void newDirSelected(
const QString& text);
139 void cmbFilterEditTextChanged(
const QString &text);
140 void openFile(
const QModelIndex& index);
141 void treeViewContextMenuRequested(
const QPoint &pos);
142 void setTreeViewHideColumns(
const bool &hide);
143 void removeActionFromDirList(
const int &pos);
144 void itemDoubleClicked(
const QModelIndex &index);
146 void pathAnchorClicked(
const QUrl &link);
149 RetVal changeBaseDirectory(QString dir);
150 void processError(QProcess::ProcessError error);
Class for managing status values (like errors or warning)
Definition: retVal.h:54
Instead of the default QFileSystemModel, this model is able to provide a more flexible support for dr...
Definition: itomFileSystemModel.h:33
Definition: apiFunctionsGraph.cpp:39
Definition: itomQWidgets.h:62
Definition: shortcutAction.h:40