1#ifndef GITBRANCHDIALOG_H
2#define GITBRANCHDIALOG_H
3
4#include <QDialog>
5
6namespace Ui {
7class GitBranchDialog;
8}
9
10class GitManager;
11class GitBranchDialog : public QDialog
12{
13 Q_OBJECT
14
15public:
16 explicit GitBranchDialog(const QString& folder, QWidget *parent = nullptr);
17 ~GitBranchDialog();
18
19private slots:
20 void on_btnCancel_clicked();
21
22 void on_btnOk_clicked();
23
24 void on_lstBranches_currentIndexChanged(int index);
25
26 void on_chkCreate_stateChanged(int arg1);
27
28private:
29 Ui::GitBranchDialog *ui;
30 GitManager *mManager;
31 QString mFolder;
32
33 // QWidget interface
34protected:
35 void closeEvent(QCloseEvent *event) override;
36};
37
38#endif // GITBRANCHDIALOG_H
39