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