mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-21 07:13:53 +08:00
* open stream
* use std::atomic::exchange
* emit streamStarted immediately
old-commit-hash: a26e6d1633
21 lines
420 B
C++
21 lines
420 B
C++
#pragma once
|
|
|
|
#include <QDialog>
|
|
#include <QLineEdit>
|
|
#include <QTabWidget>
|
|
|
|
#include "tools/cabana/streams/abstractstream.h"
|
|
|
|
class StreamSelector : public QDialog {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
StreamSelector(AbstractStream **stream, QWidget *parent = nullptr);
|
|
void addStreamWidget(AbstractOpenStreamWidget *w);
|
|
QString dbcFile() const { return dbc_file->text(); }
|
|
|
|
private:
|
|
QLineEdit *dbc_file;
|
|
QTabWidget *tab;
|
|
};
|