more work on project management

This commit is contained in:
itsmattkc
2019-07-06 09:46:55 -05:00
parent bc631c495d
commit a6971b3fde
15 changed files with 290 additions and 114 deletions
@@ -22,6 +22,7 @@
#define PROJECTEXPLORER_H
#include <QStackedWidget>
#include <QTimer>
#include <QTreeView>
#include "project/project.h"
@@ -77,6 +78,8 @@ public:
public slots:
void set_view_type(olive::ProjectViewType type);
void Edit(Item* item);
signals:
/**
* @brief Emitted when an Item is double clicked
@@ -110,6 +113,11 @@ private:
*/
void BrowseToFolder(const QModelIndex& index);
/**
* @brief Get the currently active QAbstractItemView
*/
QAbstractItemView* CurrentView();
QStackedWidget* stacked_widget_;
ProjectExplorerNavigation* nav_bar_;
@@ -122,12 +130,20 @@ private:
ProjectViewModel model_;
QModelIndex clicked_index_;
QTimer rename_timer_;
private slots:
void ItemClickedSlot(const QModelIndex& index);
void DoubleClickViewSlot(const QModelIndex& index);
void SizeChangedSlot(int s);
void DirUpSlot();
void RenameTimerSlot();
};
#endif // PROJECTEXPLORER_H