mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 21:57:57 +03:00
37 lines
691 B
C
37 lines
691 B
C
![]() |
#pragma once
|
||
|
|
||
|
#include <QDialog>
|
||
|
#include <QListWidgetItem>
|
||
|
#include "boost_filesystem_def.h"
|
||
|
#include "ContinuationChecker.h"
|
||
|
|
||
|
namespace Ui
|
||
|
{
|
||
|
class S3FileBrowser;
|
||
|
}
|
||
|
|
||
|
class S3FileBrowser : public QDialog
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit S3FileBrowser(QWidget* parent = 0);
|
||
|
~S3FileBrowser();
|
||
|
|
||
|
boost::filesystem::path GetSelectedPath() const;
|
||
|
|
||
|
private slots:
|
||
|
void refreshButton_clicked();
|
||
|
void objectList_itemSelectionChanged();
|
||
|
|
||
|
private:
|
||
|
void accept() Q_DECL_OVERRIDE;
|
||
|
void updateOkButtonState();
|
||
|
void launchUpdate();
|
||
|
|
||
|
Ui::S3FileBrowser* ui = nullptr;
|
||
|
CContinuationChecker* m_continuationChecker = nullptr;
|
||
|
QString m_lastUpdateBucketName;
|
||
|
boost::filesystem::path m_selectedPath;
|
||
|
};
|