18 #ifndef NEWPROJECTFOLDER_H 19 #define NEWPROJECTFOLDER_H 22 #include <QModelIndex> 23 #include <QStandardItemModel> 28 class NewProjectFolder;
34 class NewProjectFolder :
public QWidget
39 explicit NewProjectFolder(QWidget* parent = 0);
43 void showEvent(QShowEvent*);
44 void hideEvent(QHideEvent*);
45 bool event(QEvent* event);
48 void on_projectsFolderButton_clicked();
50 void on_videoModeButton_clicked();
52 void onProfileTriggered(QAction* action);
54 void on_actionAddCustomProfile_triggered();
56 void on_actionProfileRemove_triggered();
58 void on_startButton_clicked();
60 void on_projectNameLineEdit_textChanged(
const QString& arg1);
62 void on_recentListView_clicked(
const QModelIndex& index);
64 void on_recentListView_doubleClicked(
const QModelIndex& index);
68 void setProjectFolderButtonText(
const QString& text);
70 Ui::NewProjectFolder *ui;
71 QActionGroup* m_profileGroup;
72 QMenu m_videoModeMenu;
73 QMenu* m_customProfileMenu;
75 QStandardItemModel m_model;
76 QString m_projectName;
80 #endif // NEWPROJECTFOLDER_H