mirror of
https://github.com/leozide/leocad
synced 2024-12-25 21:58:23 +01:00
46 lines
807 B
C++
46 lines
807 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;
|
|
}
|
|
|
|
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;
|
|
};
|