blob: 1599dd541b44c73b0e051bd4011bc2e97596b842 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#pragma once
#include <QSplitter>
#include <QProgressBar>
#include "filter.h"
#include "render.h"
#include "shared/fetcher.h"
#include "shared/function.h"
class WarpCurrentFunctionWidget : public QWidget
{
Q_OBJECT
FunctionRef m_current;
QSplitter* m_splitter;
QProgressBar* m_spinner;
WarpFunctionTableWidget* m_tableWidget;
WarpFunctionInfoWidget* m_infoWidget;
LoggerRef m_logger;
std::shared_ptr<WarpFetcher> m_fetcher;
public:
explicit WarpCurrentFunctionWidget(QWidget* parent = nullptr);
~WarpCurrentFunctionWidget() override = default;
void SetFetcher(std::shared_ptr<WarpFetcher> fetcher);
void SetCurrentFunction(FunctionRef current);
FunctionRef GetCurrentFunction() { return m_current; };
void UpdateMatches();
};
|