From 095972c0572bd54db3e37b687d3239db1f301c4f Mon Sep 17 00:00:00 2001 From: mappu Date: Sun, 20 Oct 2024 18:02:27 +1300 Subject: [PATCH] scintillaedit: add example --- .gitignore | 1 + .../libraries/extras-scintillaedit/main.go | 21 ++++++++++++++++++ .../extras-scintillaedit/scintillaedit.png | Bin 0 -> 8405 bytes 3 files changed, 22 insertions(+) create mode 100644 examples/libraries/extras-scintillaedit/main.go create mode 100644 examples/libraries/extras-scintillaedit/scintillaedit.png diff --git a/.gitignore b/.gitignore index 0202edfa..d6254204 100644 --- a/.gitignore +++ b/.gitignore @@ -27,6 +27,7 @@ examples/uidesigner/uidesigner examples/uidesigner/uidesigner.exe examples/libraries/qt-qprintsupport/qt-qprintsupport examples/libraries/restricted-extras-qscintilla/restricted-extras-qscintilla +examples/libraries/extras-scintillaedit/extras-scintillaedit # android temporary build files android-build diff --git a/examples/libraries/extras-scintillaedit/main.go b/examples/libraries/extras-scintillaedit/main.go new file mode 100644 index 00000000..f99fffdb --- /dev/null +++ b/examples/libraries/extras-scintillaedit/main.go @@ -0,0 +1,21 @@ +package main + +import ( + "os" + + "github.com/mappu/miqt/qt" + "github.com/mappu/miqt/qt-extras/scintillaedit" +) + +// n.b. May need LD_LIBRARY_PATH= env var set to find the necessary .so file + +func main() { + + qt.NewQApplication(os.Args) + + area := scintillaedit.NewScintillaEdit() + area.SetFixedSize2(640, 480) + area.Show() + + qt.QApplication_Exec() +} diff --git a/examples/libraries/extras-scintillaedit/scintillaedit.png b/examples/libraries/extras-scintillaedit/scintillaedit.png new file mode 100644 index 0000000000000000000000000000000000000000..c91ce3ec27caf7cb9079a677d1cc6bd6de2d7ed3 GIT binary patch literal 8405 zcmeHNd011|wg*K~yntu{1p!-IsUU+g$`q|KC?F0cgaiy~H9){LWhRgySOpQVRiTVg z5m1sqkWr?95@-#C0w%~9Bn@*20YXTC*5_EC#TXP`^rBs zRMD1`+k5NeiDO?!_H&1#?q3LtZ9@kT3K#~S2f%~<50Ae6^z-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