3 Star 27 Fork 3

rocket049 / secret-diary

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
gridlayout_after513.go 566 Bytes
一键复制 编辑 原始数据 按行查看 历史
//+build !before513
//兼容 Qt5.13 以后的版本
package main
import (
"github.com/therecipe/qt/core"
"github.com/therecipe/qt/gui"
"github.com/therecipe/qt/widgets"
)
type gridLayout struct {
widgets.QGridLayout
}
func newGridLayout(parent widgets.QWidget_ITF) *gridLayout {
return &gridLayout{*widgets.NewQGridLayout(parent)}
}
func newGridLayout2() *gridLayout {
return &gridLayout{*widgets.NewQGridLayout2()}
}
func newQPixMap(fn string, format string, flag core.Qt__ImageConversionFlag) *gui.QPixmap {
return gui.NewQPixmap3(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

搜索帮助