mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-20 21:43:12 -07:00
Move Chiaki Session to StreamSession
This commit is contained in:
parent
c5bb81c015
commit
49e7143de9
5 changed files with 157 additions and 123 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue