mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 00:48:38 +00:00
qscintilla: add example
This commit is contained in:
parent
37cb716ccf
commit
1ef63a1673
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
19
examples/libraries/restricted-extras-qscintilla/main.go
Normal file
19
examples/libraries/restricted-extras-qscintilla/main.go
Normal 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()
|
||||
}
|
BIN
examples/libraries/restricted-extras-qscintilla/qscintilla.png
Normal file
BIN
examples/libraries/restricted-extras-qscintilla/qscintilla.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.7 KiB |
Loading…
Reference in New Issue
Block a user