2015-09-28 17:05:05 +02:00
|
|
|
#ifndef MAINWINDOW_H
|
|
|
|
#define MAINWINDOW_H
|
|
|
|
|
2015-09-30 15:26:28 +02:00
|
|
|
#include <QWidget>
|
2015-09-28 17:05:05 +02:00
|
|
|
|
2015-09-30 15:26:28 +02:00
|
|
|
namespace Ui {
|
|
|
|
class MainWindow;
|
|
|
|
}
|
2015-09-28 17:05:05 +02:00
|
|
|
|
2015-09-30 15:26:28 +02:00
|
|
|
class MainWindow : public QWidget
|
2015-09-28 17:05:05 +02:00
|
|
|
{
|
2015-09-30 15:26:28 +02:00
|
|
|
Q_OBJECT
|
2015-09-29 02:13:48 +02:00
|
|
|
|
2015-09-30 15:26:28 +02:00
|
|
|
public:
|
|
|
|
explicit MainWindow(QWidget *parent = 0);
|
|
|
|
~MainWindow();
|
2015-09-28 17:05:05 +02:00
|
|
|
|
2015-09-30 15:26:28 +02:00
|
|
|
void setQRCode(const std::string &token);
|
2015-09-28 17:05:05 +02:00
|
|
|
|
|
|
|
private:
|
2015-09-30 15:26:28 +02:00
|
|
|
Ui::MainWindow *ui;
|
2015-09-28 17:05:05 +02:00
|
|
|
};
|
|
|
|
|
2015-09-30 15:26:28 +02:00
|
|
|
#endif // MAINWINDOW_H
|