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 void SlotDeleteSelectedItem();
162 void SlotMkdirBelowAtSelectedItem();
174 void SlotTouchBelowAtSelectedItem();
180 void SlotRenameSelectedItem();
186 void SlotOpenSelectedItemBySystemApplication();
201 void slot_calculate_hash();
226 void slot_adjust_column_widths();
229 QFileSystemModel* dir_model_;
230 QString current_path_;
231 QString selected_path_;
234 QMenu* new_item_action_menu_;
235 QAction* action_open_file_;
236 QAction* action_rename_file_;
237 QAction* action_delete_file_;
238 QAction* action_calculate_hash_;
239 QAction* action_create_empty_file_;
240 QAction* action_make_directory_;
241 QAction* action_compress_files_;
243 bool initial_resize_done_ =
false;
Definition: FileTreeView.h:33
void mousePressEvent(QMouseEvent *event) override
Definition: FileTreeView.cpp:425
void slot_file_tree_view_item_double_clicked(const QModelIndex &index)
Definition: FileTreeView.cpp:98
void SignalPathChanged(const QString &)
void slot_compress_files()
compress directory into gpg-zip
Definition: FileTreeView.cpp:414
void slot_show_custom_context_menu(const QPoint &point)
Definition: FileTreeView.cpp:354
auto GetSelectedPath() -> QString
Get the Selected Path object.
Definition: FileTreeView.cpp:153
void selectionChanged(const QItemSelection &selected, const QItemSelection &deselected) override
Definition: FileTreeView.cpp:63
auto GetMousePointGlobal(const QPoint &point) -> QPoint
Get the Mouse Point Global object.
Definition: FileTreeView.cpp:287
auto GetCurrentPath() -> QString
Get the Current Path object.
Definition: FileTreeView.cpp:125
void keyPressEvent(QKeyEvent *event) override
Definition: FileTreeView.cpp:243
void slot_create_popup_menu()
Create a popup menu object.
Definition: FileTreeView.cpp:291
auto GetPathByClickPoint(const QPoint &point) -> QString
Get the Path By Click Point object.
Definition: FileTreeView.cpp:141
void SlotShowHiddenFile(bool)
Definition: FileTreeView.cpp:134
Definition: FileReadTask.cpp:31