mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-22 01:44:49 -05:00
18 lines
376 B
C++
18 lines
376 B
C++
#include "variable-line-edit.hpp"
|
|
|
|
namespace advss {
|
|
|
|
VariableLineEdit::VariableLineEdit(QWidget *parent) : QLineEdit(parent) {}
|
|
|
|
void VariableLineEdit::setText(const QString &string)
|
|
{
|
|
QLineEdit::setText(string);
|
|
}
|
|
|
|
void VariableLineEdit::setText(const StringVariable &string)
|
|
{
|
|
QLineEdit::setText(QString::fromStdString(string.UnresolvedValue()));
|
|
}
|
|
|
|
} // namespace advss
|