1 | // SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. |
2 | // |
3 | // SPDX-License-Identifier: GPL-3.0-or-later |
4 | |
5 | #ifndef PIP3DIALOG_H |
6 | #define PIP3DIALOG_H |
7 | |
8 | #include "processdialog.h" |
9 | |
10 | class Pip3Dialog : public ProcessDialog |
11 | { |
12 | Q_OBJECT |
13 | public: |
14 | Pip3Dialog(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); |
15 | void install(const QString &packageName); |
16 | void uninstall(const QString &packageName); |
17 | protected: |
18 | virtual void doShowStdErr(const QByteArray &array); |
19 | }; |
20 | |
21 | #endif // PIP3DIALOG_H |
22 | |