18 #ifndef NEWPROJECTFOLDER_H 19 #define NEWPROJECTFOLDER_H 22 #include <QModelIndex> 23 #include <QStandardItemModel> 27 class NewProjectFolder;
33 class NewProjectFolder :
public QWidget
38 explicit NewProjectFolder(QWidget* parent = 0);
42 void showEvent(QShowEvent*);
43 void hideEvent(QHideEvent*);
46 void on_projectsFolderButton_clicked();
48 void on_videoModeButton_clicked();
50 void onProfileTriggered(QAction* action);
52 void on_actionAddCustomProfile_triggered();
54 void on_actionProfileRemove_triggered();
56 void on_startButton_clicked();
58 void on_projectNameLineEdit_textChanged(
const QString& arg1);
60 void on_recentListView_clicked(
const QModelIndex& index);
63 Ui::NewProjectFolder *ui;
64 QActionGroup* m_profileGroup;
65 QMenu m_videoModeMenu;
66 QMenu* m_customProfileMenu;
68 QStandardItemModel m_model;
69 QString m_projectName;
72 #endif // NEWPROJECTFOLDER_H