blob: ec341890f030ffa8299858db292b9cd62845ea7d (
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
|
#pragma once
#include <QMainWindow>
#include "mainwindow.h"
#include "ui_automation.h"
#include "ui_scroll_container.h"
class CDAddAutomationWidget;
class CDAutomationsTabWidget : public QWidget {
Q_OBJECT
private:
CDScrollContainerLayout* main_layout;
QVBoxLayout* automations;
CDAddAutomationWidget* new_automation_button;
map<cd_link_t, CDAutomationWidget*> automation_widgets;
public:
CDMainWindow *mainwindow = nullptr;
CDAutomationsTabWidget(CDMainWindow *main_window = nullptr);
virtual ~CDAutomationsTabWidget();
virtual void update();
};
|