3 Star 27 Fork 3

rocket049 / secret-diary

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
gridlayout_before513.go 785 Bytes
一键复制 编辑 原始数据 按行查看 历史
//+build before513
//兼容 Qt5.12 之前的版本
package main
import (
"github.com/therecipe/qt/core"
"github.com/therecipe/qt/gui"
"github.com/therecipe/qt/widgets"
)
type gridLayout struct {
AddWidget2 func(widgets.QWidget_ITF, int, int, core.Qt__AlignmentFlag)
widgets.QGridLayout
}
func newGridLayout(parent widgets.QWidget_ITF) *gridLayout {
res := &gridLayout{AddWidget2: nil, QGridLayout: *widgets.NewQGridLayout(parent)}
res.AddWidget2 = res.AddWidget
return res
}
func newGridLayout2() *gridLayout {
res := &gridLayout{AddWidget2: nil, QGridLayout: *widgets.NewQGridLayout2()}
res.AddWidget2 = res.AddWidget
return res
}
func newQPixMap(fn string, format string, flag core.Qt__ImageConversionFlag) *gui.QPixmap {
return gui.NewQPixmap5(fn, format, flag)
}
Go
1
https://gitee.com/rocket049/secret-diary.git
git@gitee.com:rocket049/secret-diary.git
rocket049
secret-diary
secret-diary
master

搜索帮助