diff options
author | Ken Moore <ken@pcbsd.org> | 2016-09-15 07:44:58 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2016-09-15 07:44:58 -0400 |
commit | 188efd21b0255be16813438ad593d098526a6745 (patch) | |
tree | 776a55dc95241ee7d91018789806d22d1a4b8c3e /src-qt5/desktop-utils/lumina-fm/gitWizard.h | |
parent | Add the new Git cloning wizard to the source tree. This has not been tied int... (diff) | |
download | lumina-188efd21b0255be16813438ad593d098526a6745.tar.gz lumina-188efd21b0255be16813438ad593d098526a6745.tar.bz2 lumina-188efd21b0255be16813438ad593d098526a6745.zip |
Add in the new Git Cloning Wizard. Now fully finished yet, but almost there.
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fm/gitWizard.h')
-rw-r--r-- | src-qt5/desktop-utils/lumina-fm/gitWizard.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-fm/gitWizard.h b/src-qt5/desktop-utils/lumina-fm/gitWizard.h new file mode 100644 index 00000000..a95ecb2b --- /dev/null +++ b/src-qt5/desktop-utils/lumina-fm/gitWizard.h @@ -0,0 +1,43 @@ +//=========================================== +// Lumina-DE source code +// Copyright (c) 2016, Ken Moore +// Available under the 3-clause BSD license +// See the LICENSE file for full details +//=========================================== +// This is the dialog for cloning a git repository +//=========================================== +#ifndef _LUMINA_FM_GIT_DIALOG_H +#define _LUMINA_FM_GIT_DIALOG_H + +#include <QWizard> +#include <QString> +#include <QProcess> + +namespace Ui{ + class GitWizard; +}; + +class GitWizard : public QWizard{ + Q_OBJECT +public: + GitWizard(QWidget *parent = 0); + ~GitWizard(); + + //Input values; + void setWorkingDir(QString path); + +private: + Ui::GitWizard *ui; + QString inDir; + + QString assembleURL(); + void showDownload(QProcess *P); + +private slots: + //Page Change slots + void pageChanged(int newpage); //called when the "next" button is clicked + void finished(int); //called when the "finish" button is clicked + +}; + +#endif |