qscintilla: add example

This commit is contained in:
mappu 2024-10-20 18:00:04 +13:00
parent 37cb716ccf
commit 1ef63a1673
3 changed files with 20 additions and 0 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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()
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB