Move Chiaki Session to StreamSession

This commit is contained in:
Florian Märkl 2019-06-29 17:29:18 +02:00
commit 49e7143de9
No known key found for this signature in database
GPG key ID: 125BC8A5A6A1E857
5 changed files with 157 additions and 123 deletions

View file

@ -21,19 +21,25 @@
#include <QMainWindow>
class QLabel;
class StreamSession;
class StreamWindow: public QMainWindow
{
Q_OBJECT
public:
explicit StreamWindow(QWidget *parent = nullptr);
explicit StreamWindow(StreamSession *session, QWidget *parent = nullptr);
~StreamWindow();
private:
StreamSession *session;
QLabel *imageLabel;
void SetImage(const QImage &image);
private:
QLabel *imageLabel;
private slots:
void FramesAvailable();
};
#endif // CHIAKI_GUI_STREAMWINDOW_H