36 explicit FileTreeView(QWidget* parent,
const QString& target_path);
76 const QItemSelection& deselected)
override;
89 void paintEvent(QPaintEvent* event)
override;
104 void SignalSelectedChanged(
const QString&);
110 void SignalOpenFile(
const QString&);
118 void SlotGoPath(
const QString&);
130 void SlotShowSystemFile(
bool);
143 auto SlotDeleteSelectedItem() -> void;
155 void SlotMkdirBelowAtSelectedItem();
167 void SlotTouchBelowAtSelectedItem();
173 void SlotRenameSelectedItem();
179 void SlotOpenSelectedItemBySystemApplication();
194 void slot_calculate_hash();
216 QFileSystemModel* dir_model_;
217 QString current_path_;
218 QString selected_path_;
221 QAction* action_open_file_;
222 QAction* action_rename_file_;
223 QAction* action_delete_file_;
224 QAction* action_calculate_hash_;
225 QAction* action_create_empty_file_;
226 QAction* action_make_directory_;
227 QAction* action_compress_files_;
Definition: FileTreeView.h:33
void slot_file_tree_view_item_double_clicked(const QModelIndex &index)
Definition: FileTreeView.cpp:95
void SignalPathChanged(const QString &)
void slot_compress_files()
compress directory into gpg-zip
Definition: FileTreeView.cpp:397
void slot_show_custom_context_menu(const QPoint &point)
Definition: FileTreeView.cpp:355
auto GetSelectedPath() -> QString
Get the Selected Path object.
Definition: FileTreeView.cpp:150
void selectionChanged(const QItemSelection &selected, const QItemSelection &deselected) override
Definition: FileTreeView.cpp:58
auto GetMousePointGlobal(const QPoint &point) -> QPoint
Get the Mouse Point Global object.
Definition: FileTreeView.cpp:288
auto GetCurrentPath() -> QString
Get the Current Path object.
Definition: FileTreeView.cpp:122
void keyPressEvent(QKeyEvent *event) override
Definition: FileTreeView.cpp:244
void slot_create_popup_menu()
Create a popup menu object.
Definition: FileTreeView.cpp:292
auto GetPathByClickPoint(const QPoint &point) -> QString
Get the Path By Click Point object.
Definition: FileTreeView.cpp:138
void SlotShowHiddenFile(bool)
Definition: FileTreeView.cpp:131
Definition: FileReadTask.cpp:31