RedPanda-CPP/RedPandaIDE/vcs/gitremotedialog.h

40 lines
730 B
C
Raw Normal View History

2022-02-24 07:22:44 +08:00
#ifndef GITREMOTEDIALOG_H
#define GITREMOTEDIALOG_H
#include <QDialog>
namespace Ui {
class GitRemoteDialog;
}
class GitRemoteDialog : public QDialog
{
Q_OBJECT
public:
explicit GitRemoteDialog(const QString& folder, QWidget *parent = nullptr);
~GitRemoteDialog();
private slots:
void updateIcons();
void onRemotesSelectionChanged();
2022-02-24 11:07:37 +08:00
void checkDetails();
void refresh();
2022-02-24 07:22:44 +08:00
void on_btnAdd_clicked();
void on_btnRemove_clicked();
2022-02-24 11:07:37 +08:00
void on_btnProcess_clicked();
void on_txtName_textChanged(const QString &arg1);
void on_txtURL_textChanged(const QString &arg1);
2022-02-24 07:22:44 +08:00
private:
Ui::GitRemoteDialog *ui;
QString mFolder;
2022-02-24 11:07:37 +08:00
QStringList mRemotes;
2022-02-24 07:22:44 +08:00
};
#endif // GITREMOTEDIALOG_H