leocad/qt/lc_setsdatabasedialog.h
2018-04-14 11:44:39 -07:00

46 lines
815 B
C++

#pragma once
#include <QDialog>
class lcHttpReply;
class lcHttpManager;
namespace Ui {
class lcSetsDatabaseDialog;
}
class lcSetsDatabaseDialog : public QDialog
{
Q_OBJECT
public:
explicit lcSetsDatabaseDialog(QWidget* Parent);
~lcSetsDatabaseDialog();
QString GetSetName() const;
QString GetSetDescription() const;
QByteArray GetSetInventory() const
{
return mInventory;
}
virtual bool eventFilter(QObject* Object, QEvent* Event) override;
public slots:
void DownloadFinished(lcHttpReply* Reply);
void on_SearchButton_clicked();
void accept() override;
void Finished(int Result);
protected:
lcHttpManager* mHttpManager;
lcHttpReply* mKeyListReply;
lcHttpReply* mSearchReply;
lcHttpReply* mInventoryReply;
QStringList mKeys;
QByteArray mInventory;
Ui::lcSetsDatabaseDialog* ui;
};