18#ifndef NEWPROJECTFOLDER_H
19#define NEWPROJECTFOLDER_H
23#include <QStandardItemModel>
28class NewProjectFolder;
34class NewProjectFolder :
public QWidget
39 explicit NewProjectFolder(QWidget *parent = 0);
43 void showEvent(QShowEvent *);
44 void hideEvent(QHideEvent *);
45 bool event(QEvent *event);
48 void updateRecentProjects();
51 void deletedProject(
const QString &);
54 void on_projectsFolderButton_clicked();
56 void on_videoModeButton_clicked();
58 void onProfileTriggered(QAction *action);
60 void on_actionAddCustomProfile_triggered();
62 void on_actionProfileRemove_triggered();
64 void on_startButton_clicked();
66 void on_projectNameLineEdit_textChanged(
const QString &arg1);
68 void on_recentListView_clicked(
const QModelIndex &index);
70 void on_recentListView_doubleClicked(
const QModelIndex &index);
72 void on_recentListView_customContextMenuRequested(
const QPoint &pos);
74 void on_actionRecentRemove_triggered();
78 void setProjectFolderButtonText(
const QString &text);
80 Ui::NewProjectFolder *ui;
81 QActionGroup *m_profileGroup;
82 QMenu m_videoModeMenu;
83 QMenu *m_customProfileMenu;
85 QStandardItemModel m_model;
86 QString m_projectName;