ui: added options for context menu when clicking file name in code view
* copy full path * open containing folder
This commit is contained in:
@@ -21,12 +21,19 @@ public:
|
||||
|
||||
void checkModification();
|
||||
|
||||
protected:
|
||||
void contextMenuEvent(QContextMenuEvent* event);
|
||||
|
||||
private slots:
|
||||
void clickedTitle();
|
||||
void copyFullPath();
|
||||
void openContainingFolder();
|
||||
|
||||
private:
|
||||
FilePath m_filePath;
|
||||
TimePoint m_modificationTime;
|
||||
QAction* m_copyFullPathAction;
|
||||
QAction* m_openContainingFolderAction;
|
||||
};
|
||||
|
||||
#endif // QT_CODE_FILE_TITLE_BUTTON_H
|
||||
|
||||
Reference in New Issue
Block a user