72 lines
2.1 KiB
Go
72 lines
2.1 KiB
Go
// Generated by miqt-uic. To update this file, edit the .ui file in
|
|
// Qt Designer, and then run 'go generate'.
|
|
//
|
|
//go:generate miqt-uic -InFile itemwindow.ui -OutFile itemwindow_ui.go
|
|
|
|
package main
|
|
|
|
import (
|
|
"github.com/mappu/miqt/qt"
|
|
)
|
|
|
|
type ItemWindowUi struct {
|
|
ItemWindow *qt.QDialog
|
|
gridLayout_2 *qt.QGridLayout
|
|
contentArea *qt.QPlainTextEdit
|
|
frame *qt.QFrame
|
|
gridLayout *qt.QGridLayout
|
|
buttonBox *qt.QDialogButtonBox
|
|
}
|
|
|
|
// NewItemWindowUi creates all Qt widget classes for ItemWindow.
|
|
func NewItemWindowUi() *ItemWindowUi {
|
|
ui := &ItemWindowUi{}
|
|
|
|
ui.ItemWindow = qt.NewQDialog2(nil)
|
|
ui.ItemWindow.SetObjectName("ItemWindow")
|
|
ui.ItemWindow.Resize(370, 353)
|
|
ui.ItemWindow.SetWindowTitle("")
|
|
icon0 := qt.NewQIcon()
|
|
icon0.AddFile4(":/rsrc/database_lightning.png", qt.NewQSize(), qt.QIcon__Normal, qt.QIcon__Off)
|
|
ui.ItemWindow.SetWindowIcon(icon0)
|
|
|
|
ui.gridLayout_2 = qt.NewQGridLayout(ui.ItemWindow.QWidget)
|
|
ui.gridLayout_2.SetObjectName("gridLayout_2")
|
|
ui.gridLayout_2.SetVerticalSpacing(0)
|
|
ui.gridLayout_2.SetContentsMargins(0, 0, 0, 0)
|
|
ui.gridLayout_2.SetSpacing(6)
|
|
|
|
ui.contentArea = qt.NewQPlainTextEdit3(ui.ItemWindow.QWidget)
|
|
ui.contentArea.SetObjectName("contentArea")
|
|
ui.contentArea.SetFrameShape(qt.QFrame__NoFrame)
|
|
|
|
ui.gridLayout_2.AddWidget2(ui.contentArea.QWidget, 0, 0)
|
|
|
|
ui.frame = qt.NewQFrame2(ui.ItemWindow.QWidget)
|
|
ui.frame.SetObjectName("frame")
|
|
|
|
ui.gridLayout = qt.NewQGridLayout(ui.frame.QWidget)
|
|
ui.gridLayout.SetObjectName("gridLayout")
|
|
ui.gridLayout.SetContentsMargins(11, 11, 11, 11)
|
|
ui.gridLayout.SetSpacing(6)
|
|
|
|
ui.buttonBox = qt.NewQDialogButtonBox5(ui.frame.QWidget)
|
|
ui.buttonBox.SetObjectName("buttonBox")
|
|
ui.buttonBox.SetStandardButtons(qt.QDialogButtonBox__Cancel | qt.QDialogButtonBox__Save)
|
|
ui.buttonBox.OnAccepted(ui.ItemWindow.Accept)
|
|
ui.buttonBox.OnRejected(ui.ItemWindow.Reject)
|
|
|
|
ui.gridLayout.AddWidget2(ui.buttonBox.QWidget, 0, 0)
|
|
|
|
ui.gridLayout_2.AddWidget2(ui.frame.QWidget, 1, 0)
|
|
|
|
ui.Retranslate()
|
|
|
|
return ui
|
|
}
|
|
|
|
// Retranslate reapplies all text translations.
|
|
func (ui *ItemWindowUi) Retranslate() {
|
|
|
|
}
|