mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-22 09:54:54 -05:00
21 lines
478 B
C++
21 lines
478 B
C++
#pragma once
|
|
#include "resizing-text-edit.hpp"
|
|
#include "variable-string.hpp"
|
|
|
|
namespace advss {
|
|
|
|
class VariableTextEdit : public ResizingPlainTextEdit {
|
|
Q_OBJECT
|
|
public:
|
|
EXPORT VariableTextEdit(QWidget *parent, const int scrollAt = 10,
|
|
const int minLines = 3,
|
|
const int paddingLines = 2);
|
|
EXPORT void setPlainText(const QString &);
|
|
EXPORT void setPlainText(const StringVariable &);
|
|
EXPORT void setToolTip(const QString &string);
|
|
|
|
private:
|
|
};
|
|
|
|
} // namespace advss
|