36 explicit FileTreeView(QWidget* parent,
const QString& target_path);
76 const QItemSelection& deselected)
override;
89 void paintEvent(QPaintEvent* event)
override;
111 void SignalSelectedChanged(
const QString&);
117 void SignalOpenFile(
const QString&);
125 void SlotGoPath(
const QString&);
137 void SlotShowSystemFile(
bool);
150 auto SlotDeleteSelectedItem() -> void;
162 void SlotMkdirBelowAtSelectedItem();
174 void SlotTouchBelowAtSelectedItem();
180 void SlotRenameSelectedItem();
186 void SlotOpenSelectedItemBySystemApplication();
201 void slot_calculate_hash();
223 QFileSystemModel* dir_model_;
224 QString current_path_;
225 QString selected_path_;
228 QMenu* new_item_action_menu_;
229 QAction* action_open_file_;
230 QAction* action_rename_file_;
231 QAction* action_delete_file_;
232 QAction* action_calculate_hash_;
233 QAction* action_create_empty_file_;
234 QAction* action_make_directory_;
235 QAction* action_compress_files_;
Definition: FileTreeView.h:33
void mousePressEvent(QMouseEvent *event) override
Definition: FileTreeView.cpp:421
void slot_file_tree_view_item_double_clicked(const QModelIndex &index)
Definition: FileTreeView.cpp:96
void SignalPathChanged(const QString &)
void slot_compress_files()
compress directory into gpg-zip
Definition: FileTreeView.cpp:412
void slot_show_custom_context_menu(const QPoint &point)
Definition: FileTreeView.cpp:352
auto GetSelectedPath() -> QString
Get the Selected Path object.
Definition: FileTreeView.cpp:151
void selectionChanged(const QItemSelection &selected, const QItemSelection &deselected) override
Definition: FileTreeView.cpp:59
auto GetMousePointGlobal(const QPoint &point) -> QPoint
Get the Mouse Point Global object.
Definition: FileTreeView.cpp:285
auto GetCurrentPath() -> QString
Get the Current Path object.
Definition: FileTreeView.cpp:123
void keyPressEvent(QKeyEvent *event) override
Definition: FileTreeView.cpp:241
void slot_create_popup_menu()
Create a popup menu object.
Definition: FileTreeView.cpp:289
auto GetPathByClickPoint(const QPoint &point) -> QString
Get the Path By Click Point object.
Definition: FileTreeView.cpp:139
void SlotShowHiddenFile(bool)
Definition: FileTreeView.cpp:132
Definition: FileReadTask.cpp:31