projectpanel/projectexplorer: added select all/deselect all functionality

This commit is contained in:
itsmattkc
2020-02-23 11:33:49 +11:00
parent f1f80c0a39
commit 6facdc1f1b
4 changed files with 28 additions and 1 deletions
@@ -349,3 +349,13 @@ ProjectViewModel *ProjectExplorer::model()
{
return &model_;
}
void ProjectExplorer::SelectAll()
{
CurrentView()->selectAll();
}
void ProjectExplorer::DeselectAll()
{
CurrentView()->selectionModel()->clearSelection();
}
+5 -1
View File
@@ -1,4 +1,4 @@
/***
/***
Olive - Non-Linear Video Editor
Copyright (C) 2019 Olive Team
@@ -73,6 +73,10 @@ public:
*/
ProjectViewModel* model();
void SelectAll();
void DeselectAll();
public slots:
void set_view_type(ProjectToolbar::ViewType type);