File: scene-notes-dock.hpp

package info (click to toggle)
obs-scene-notes-dock 0.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 596 kB
  • sloc: cpp: 499; sh: 259; makefile: 24
file content (25 lines) | stat: -rw-r--r-- 462 bytes parent folder | download | duplicates (2)
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 "obs.h"
#include <obs-frontend-api.h>
#include <QDockWidget>
#include <QTextEdit>
#include <QTimer>
#include "obs.hpp"

class SceneNotesDock : public QWidget {
	Q_OBJECT

private:
	bool show_preview = false;
	QTextEdit *textEdit;
private slots:
	void InsertTime();

public:
	SceneNotesDock(QWidget *parent = nullptr);
	~SceneNotesDock();
	void LoadNotes();
	obs_hotkey_id insertTime;
	obs_hotkey_pair_id toggleAutoScroll;
	QTimer timer;
};