| 1 | // SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. | 
|---|---|
| 2 | // | 
| 3 | // SPDX-License-Identifier: GPL-3.0-or-later | 
| 4 | |
| 5 | #ifndef CHECKOUTDIALOG_H | 
| 6 | #define CHECKOUTDIALOG_H | 
| 7 | |
| 8 | #include <QDialog> | 
| 9 | |
| 10 | |
| 11 | class QLabel; | 
| 12 | class QLineEdit; | 
| 13 | class QGridLayout; | 
| 14 | class QVBoxLayout; | 
| 15 | class CheckoutDialog : public QDialog | 
| 16 | { | 
| 17 | Q_OBJECT | 
| 18 | public: | 
| 19 | explicit CheckoutDialog(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); | 
| 20 | |
| 21 | signals: | 
| 22 | void checkoutRepos(const QString &remote, const QString &local, | 
| 23 | const QString &user, const QString &passwd); | 
| 24 | |
| 25 | private: | 
| 26 | QLabel *labelRepos{nullptr}; | 
| 27 | QLabel *labelLocal{nullptr}; | 
| 28 | QLabel *labelUser{nullptr}; | 
| 29 | QLabel *labelPasswd{nullptr}; | 
| 30 | QLineEdit *editRepos{nullptr}; | 
| 31 | QLineEdit *editLocal{nullptr}; | 
| 32 | QLineEdit *editUser{nullptr}; | 
| 33 | QLineEdit *editPasswd{nullptr}; | 
| 34 | QPushButton *pbtSelLocal{nullptr}; | 
| 35 | QPushButton *pbtOk{nullptr}; | 
| 36 | QVBoxLayout *vLayoutPbt{nullptr}; | 
| 37 | QGridLayout *gLayout{nullptr}; | 
| 38 | }; | 
| 39 | |
| 40 | #endif // CHECKOUTDIALOG_H | 
| 41 | 
