From 1ef63a16732dca7228d7e41edac82f8266efd71b Mon Sep 17 00:00:00 2001 From: mappu Date: Sun, 20 Oct 2024 18:00:04 +1300 Subject: [PATCH] qscintilla: add example --- .gitignore | 1 + .../restricted-extras-qscintilla/main.go | 19 ++++++++++++++++++ .../qscintilla.png | Bin 0 -> 8906 bytes 3 files changed, 20 insertions(+) create mode 100644 examples/libraries/restricted-extras-qscintilla/main.go create mode 100644 examples/libraries/restricted-extras-qscintilla/qscintilla.png diff --git a/.gitignore b/.gitignore index 2386f3a3..0202edfa 100644 --- a/.gitignore +++ b/.gitignore @@ -26,6 +26,7 @@ examples/windowsmanifest/windowsmanifest.exe examples/uidesigner/uidesigner examples/uidesigner/uidesigner.exe examples/libraries/qt-qprintsupport/qt-qprintsupport +examples/libraries/restricted-extras-qscintilla/restricted-extras-qscintilla # android temporary build files android-build diff --git a/examples/libraries/restricted-extras-qscintilla/main.go b/examples/libraries/restricted-extras-qscintilla/main.go new file mode 100644 index 00000000..6e06bfb8 --- /dev/null +++ b/examples/libraries/restricted-extras-qscintilla/main.go @@ -0,0 +1,19 @@ +package main + +import ( + "os" + + "github.com/mappu/miqt/qt" + "github.com/mappu/miqt/qt-restricted-extras/qscintilla" +) + +func main() { + + qt.NewQApplication(os.Args) + + area := qscintilla.NewQsciScintilla() + area.SetFixedSize2(640, 480) + area.Show() + + qt.QApplication_Exec() +} diff --git a/examples/libraries/restricted-extras-qscintilla/qscintilla.png b/examples/libraries/restricted-extras-qscintilla/qscintilla.png new file mode 100644 index 0000000000000000000000000000000000000000..5cdd5165aa44502f311c9a1ec421ea54c057c23b GIT binary patch literal 8906 zcmeHtd05ih*RN$|9na6)`QdOl?xr97<@!tJBJn-FX?X}ll`?L0U zt-ZK)($z`jr_DbpC@82LJ9^|d1%>5E*=N`4Rk9u^G3cD^Yfbo3&#MXwsx9)*vK&KI zfP%u7#A8Peo{6O}sR@PDDA;7gP*tuw;!HW{RIu{S6<>1inmlmXkw3Ef*j@MO+rME` z4&8e4+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