public void SetParent(QWidget parent) { interceptor.Invoke("setParent#", "setParent(QWidget*)", typeof(void), typeof(QWidget), parent); }
public void ShowLightbox(QWidget widget) { if (m_LightboxChild != null) throw new InvalidOperationException("Lightbox is already visible"); var layout = (QBoxLayout)m_LightboxWidget.Layout(); m_LightboxChild = widget; widget.SetParent(m_LightboxWidget); layout.AddWidget(widget); widget.Show(); base.Widget(1).Enabled = false; m_LightboxWidget.Show(); base.CurrentIndex = 0; }