Panda3DS/include/panda_qt/text_editor.hpp
2023-12-16 15:51:45 +02:00

22 lines
No EOL
448 B
C++

#pragma once
#include <QApplication>
#include <QDialog>
#include <QWidget>
#include <string>
#include "zep.h"
#include "zep/mode_repl.h"
#include "zep/regress.h"
class TextEditorWindow : public QDialog {
Q_OBJECT
private:
Zep::ZepWidget_Qt zepWidget;
Zep::IZepReplProvider replProvider;
static constexpr float fontSize = 14.0f;
public:
TextEditorWindow(QWidget* parent, const std::string& filename, const std::string& initialText);
};