RedPanda-CPP/RedPandaIDE/vcs/gitmergedialog.h

38 lines
658 B
C
Raw Normal View History

2022-02-20 13:26:15 +08:00
#ifndef GITMERGEDIALOG_H
#define GITMERGEDIALOG_H
#include <QDialog>
namespace Ui {
class GitMergeDialog;
}
class GitManager;
class GitMergeDialog : public QDialog
{
Q_OBJECT
public:
explicit GitMergeDialog(const QString& folder, QWidget *parent = nullptr);
~GitMergeDialog();
2022-02-20 21:47:57 +08:00
private slots:
void on_btnCancel_clicked();
void on_btnOk_clicked();
void on_cbBranch_currentIndexChanged(int index);
2022-02-20 13:26:15 +08:00
private:
Ui::GitMergeDialog *ui;
GitManager *mManager;
QString mFolder;
2022-02-20 21:47:57 +08:00
int mCurrentBranchIndex;
// QWidget interface
protected:
void closeEvent(QCloseEvent *event) override;
2022-02-20 13:26:15 +08:00
};
#endif // GITMERGEDIALOG_H