Пример #1
0
//export callbackQGraphicsOpacityEffectOpacityMaskChanged
func callbackQGraphicsOpacityEffectOpacityMaskChanged(ptrName *C.char, mask unsafe.Pointer) {
	qt.GetSignal(C.GoString(ptrName), "opacityMaskChanged").(func(*gui.QBrush))(gui.NewQBrushFromPointer(mask))
}
Пример #2
0
func (ptr *QTreeWidgetItem) Foreground(column int) *gui.QBrush {
	if ptr.Pointer() != nil {
		return gui.NewQBrushFromPointer(C.QTreeWidgetItem_Foreground(ptr.Pointer(), C.int(column)))
	}
	return nil
}
Пример #3
0
func (ptr *QAbstractGraphicsShapeItem) Brush() *gui.QBrush {
	if ptr.Pointer() != nil {
		return gui.NewQBrushFromPointer(C.QAbstractGraphicsShapeItem_Brush(ptr.Pointer()))
	}
	return nil
}
Пример #4
0
func (ptr *QGraphicsOpacityEffect) OpacityMask() *gui.QBrush {
	if ptr.Pointer() != nil {
		return gui.NewQBrushFromPointer(C.QGraphicsOpacityEffect_OpacityMask(ptr.Pointer()))
	}
	return nil
}
Пример #5
0
func (ptr *QListWidgetItem) Background() *gui.QBrush {
	if ptr.Pointer() != nil {
		return gui.NewQBrushFromPointer(C.QListWidgetItem_Background(ptr.Pointer()))
	}
	return nil
}
Пример #6
0
func (ptr *QTableWidgetItem) Foreground() *gui.QBrush {
	if ptr.Pointer() != nil {
		return gui.NewQBrushFromPointer(C.QTableWidgetItem_Foreground(ptr.Pointer()))
	}
	return nil
}
Пример #7
0
func (ptr *QMdiArea) Background() *gui.QBrush {
	if ptr.Pointer() != nil {
		return gui.NewQBrushFromPointer(C.QMdiArea_Background(ptr.Pointer()))
	}
	return nil
}
Пример #8
0
func (ptr *QGraphicsView) BackgroundBrush() *gui.QBrush {
	if ptr.Pointer() != nil {
		return gui.NewQBrushFromPointer(C.QGraphicsView_BackgroundBrush(ptr.Pointer()))
	}
	return nil
}
Пример #9
0
func (ptr *QGraphicsScene) ForegroundBrush() *gui.QBrush {
	if ptr.Pointer() != nil {
		return gui.NewQBrushFromPointer(C.QGraphicsScene_ForegroundBrush(ptr.Pointer()))
	}
	return nil
}