src/widgets/patterneditor.h

branch
experimental
changeset 1363
b725b7fb63a5
equal deleted inserted replaced
1353:48374309f3d1 1363:b725b7fb63a5
1 #pragma once
2 #include <QMainWindow>
3 #include "../main.h"
4 #include "../types/pattern.h"
5
6 class PatternEditor : public QMainWindow
7 {
8 Q_OBJECT
9
10 public:
11 PatternEditor(Pattern& pattern, QWidget *parent = nullptr);
12 ~PatternEditor();
13
14 signals:
15
16 public slots:
17
18 private:
19 friend class PatternViewer;
20
21 class Ui_PatternEditor& ui;
22 class PatternViewer* viewer;
23 Pattern& pattern;
24 LDColor currentColor = MainColor;
25 };

mercurial