RedPanda-CPP/RedPandaIDE/vcs/gitremotedialog.h

44 lines
815 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();
QString chooseRemote();
2022-02-24 07:22:44 +08:00
private slots:
void onUpdateIcons();
2022-02-24 07:22:44 +08:00
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);
void on_btnClose_clicked();
2022-02-24 07:22:44 +08:00
private:
Ui::GitRemoteDialog *ui;
QString mFolder;
2022-02-24 11:07:37 +08:00
QStringList mRemotes;
bool mChooseMode;
2022-02-24 07:22:44 +08:00
};
#endif // GITREMOTEDIALOG_H