diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-07 20:25:08 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-07 20:25:08 +0100 |
| commit | e6d4517817a1e59a63932109e39b888257fb72a1 (patch) | |
| tree | 46d290640fff74773a9d79191ff9221631324e77 /example/text_editor_example/example.cpp | |
| parent | b30b55c48fd9eb64f3555f19820279792f69703c (diff) | |
| parent | 5a7fe8a6eacd5f4caac4f3c3d625ba82e393f7e6 (diff) | |
Merge pull request #3 from ocl-foss-org/text-editor-example
[CHORE] Text Editor example (Part 1)
Diffstat (limited to 'example/text_editor_example/example.cpp')
| -rw-r--r-- | example/text_editor_example/example.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/example/text_editor_example/example.cpp b/example/text_editor_example/example.cpp new file mode 100644 index 0000000..d61f91f --- /dev/null +++ b/example/text_editor_example/example.cpp @@ -0,0 +1,18 @@ +/* + * File: example.cpp + * Purpose: Rope example. + * Author: Amlal El Mahrouss (amlal@nekernel.org) + * Copyright 2026, Amlal El Mahrouss, licensed under the Boost Software License. + */ + +#include "texteditor.hpp" + +int main(int argc, char** argv) +{ + QApplication app(argc, argv); + TTextEditor win; + + win.show(); + + return app.exec(); +} |
