Inheritance: QObject, IQLayoutItem
Exemplo n.º 1
0
        public void GetLayoutPosition(QLayout layout, ref int rowPtr, QFormLayout.ItemRole rolePtr)
        {
            StackItem[] stack = new StackItem[4];
#if DEBUG
            stack[1].s_class = (IntPtr)DebugGCHandle.Alloc(layout);
#else
            stack[1].s_class = (IntPtr)GCHandle.Alloc(layout);
#endif
            stack[2].s_int = rowPtr;
            stack[3].s_int = (int)rolePtr;
            interceptor.Invoke("getLayoutPosition#$$", "getLayoutPosition(QLayout*, int*, QFormLayout::ItemRole*) const", stack);
#if DEBUG
            DebugGCHandle.Free((GCHandle)stack[1].s_class);
#else
            ((GCHandle)stack[1].s_class).Free();
#endif
            rowPtr = stack[2].s_int;
            return;
        }
Exemplo n.º 2
0
 public void InsertRow(int row, string labelText, QLayout field)
 {
     interceptor.Invoke("insertRow$$#", "insertRow(int, const QString&, QLayout*)", typeof(void), typeof(int), row, typeof(string), labelText, typeof(QLayout), field);
 }
Exemplo n.º 3
0
 public void GetLayoutPosition(QLayout layout, ref int rowPtr, QFormLayout.ItemRole rolePtr)
 {
     StackItem[] stack = new StackItem[4];
     #if DEBUG
     stack[1].s_class = (IntPtr) DebugGCHandle.Alloc(layout);
     #else
     stack[1].s_class = (IntPtr) GCHandle.Alloc(layout);
     #endif
     stack[2].s_int = rowPtr;
     stack[3].s_int = (int) rolePtr;
     interceptor.Invoke("getLayoutPosition#$$", "getLayoutPosition(QLayout*, int*, QFormLayout::ItemRole*) const", stack);
     #if DEBUG
     DebugGCHandle.Free((GCHandle) stack[1].s_class);
     #else
     ((GCHandle) stack[1].s_class).SynchronizedFree();
     #endif
     rowPtr = stack[2].s_int;
     return;
 }
Exemplo n.º 4
0
 public void AddRow(string labelText, QLayout field)
 {
     interceptor.Invoke("addRow$#", "addRow(const QString&, QLayout*)", typeof(void), typeof(string), labelText, typeof(QLayout), field);
 }
Exemplo n.º 5
0
 public QStackedLayout(QLayout parentLayout)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QStackedLayout#", "QStackedLayout(QLayout*)", typeof(void), typeof(QLayout), parentLayout);
 }
Exemplo n.º 6
0
Arquivo: QLayout.cs Projeto: KDE/qyoto
 public bool SetAlignment(QLayout l, uint alignment)
 {
     return (bool) interceptor.Invoke("setAlignment#$", "setAlignment(QLayout*, Qt::Alignment)", typeof(bool), typeof(QLayout), l, typeof(uint), alignment);
 }
Exemplo n.º 7
0
 public void AddLayout(QLayout arg1, int row, int column, int rowSpan, int columnSpan)
 {
     interceptor.Invoke("addLayout#$$$$", "addLayout(QLayout*, int, int, int, int)", typeof(void), typeof(QLayout), arg1, typeof(int), row, typeof(int), column, typeof(int), rowSpan, typeof(int), columnSpan);
 }
Exemplo n.º 8
0
 public void AddLayout(QLayout arg1, int row, int column, int rowSpan, int columnSpan)
 {
     interceptor.Invoke("addLayout#$$$$", "addLayout(QLayout*, int, int, int, int)", typeof(void), typeof(QLayout), arg1, typeof(int), row, typeof(int), column, typeof(int), rowSpan, typeof(int), columnSpan);
 }
Exemplo n.º 9
0
 public void AddRow(QWidget label, QLayout field)
 {
     interceptor.Invoke("addRow##", "addRow(QWidget*, QLayout*)", typeof(void), typeof(QWidget), label, typeof(QLayout), field);
 }
Exemplo n.º 10
0
 public QWidget LabelForField(QLayout field)
 {
     return((QWidget)interceptor.Invoke("labelForField#", "labelForField(QLayout*) const", typeof(QWidget), typeof(QLayout), field));
 }
Exemplo n.º 11
0
 public void SetLayout(int row, QFormLayout.ItemRole role, QLayout layout)
 {
     interceptor.Invoke("setLayout$$#", "setLayout(int, QFormLayout::ItemRole, QLayout*)", typeof(void), typeof(int), row, typeof(QFormLayout.ItemRole), role, typeof(QLayout), layout);
 }
Exemplo n.º 12
0
 public void InsertRow(int row, QLayout layout)
 {
     interceptor.Invoke("insertRow$#", "insertRow(int, QLayout*)", typeof(void), typeof(int), row, typeof(QLayout), layout);
 }
Exemplo n.º 13
0
 public void InsertRow(int row, string labelText, QLayout field)
 {
     interceptor.Invoke("insertRow$$#", "insertRow(int, const QString&, QLayout*)", typeof(void), typeof(int), row, typeof(string), labelText, typeof(QLayout), field);
 }
Exemplo n.º 14
0
 public void InsertRow(int row, QWidget label, QLayout field)
 {
     interceptor.Invoke("insertRow$##", "insertRow(int, QWidget*, QLayout*)", typeof(void), typeof(int), row, typeof(QWidget), label, typeof(QLayout), field);
 }
Exemplo n.º 15
0
 public QWidget LabelForField(QLayout field)
 {
     return (QWidget) interceptor.Invoke("labelForField#", "labelForField(QLayout*) const", typeof(QWidget), typeof(QLayout), field);
 }
Exemplo n.º 16
0
 protected void AddChildLayout(QLayout l)
 {
     interceptor.Invoke("addChildLayout#", "addChildLayout(QLayout*)", typeof(void), typeof(QLayout), l);
 }
Exemplo n.º 17
0
 public void AddRow(string labelText, QLayout field)
 {
     interceptor.Invoke("addRow$#", "addRow(const QString&, QLayout*)", typeof(void), typeof(string), labelText, typeof(QLayout), field);
 }
Exemplo n.º 18
0
 public bool SetAlignment(QLayout l, uint alignment)
 {
     return((bool)interceptor.Invoke("setAlignment#$", "setAlignment(QLayout*, Qt::Alignment)", typeof(bool), typeof(QLayout), l, typeof(uint), alignment));
 }
Exemplo n.º 19
0
 public void AddLayout(QLayout arg1, int row, int column, uint arg4)
 {
     interceptor.Invoke("addLayout#$$$", "addLayout(QLayout*, int, int, Qt::Alignment)", typeof(void), typeof(QLayout), arg1, typeof(int), row, typeof(int), column, typeof(uint), arg4);
 }
Exemplo n.º 20
0
 public QStackedLayout(QLayout parentLayout) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QStackedLayout#", "QStackedLayout(QLayout*)", typeof(void), typeof(QLayout), parentLayout);
 }
Exemplo n.º 21
0
 public void SetLayout(QLayout arg1)
 {
     interceptor.Invoke("setLayout#", "setLayout(QLayout*)", typeof(void), typeof(QLayout), arg1);
 }
Exemplo n.º 22
0
 public void InsertLayout(int index, QLayout layout, int stretch)
 {
     interceptor.Invoke("insertLayout$#$", "insertLayout(int, QLayout*, int)", typeof(void), typeof(int), index, typeof(QLayout), layout, typeof(int), stretch);
 }
Exemplo n.º 23
0
Arquivo: QLayout.cs Projeto: KDE/qyoto
 protected void AddChildLayout(QLayout l)
 {
     interceptor.Invoke("addChildLayout#", "addChildLayout(QLayout*)", typeof(void), typeof(QLayout), l);
 }
Exemplo n.º 24
0
 public void InsertLayout(int index, QLayout layout)
 {
     interceptor.Invoke("insertLayout$#", "insertLayout(int, QLayout*)", typeof(void), typeof(int), index, typeof(QLayout), layout);
 }
Exemplo n.º 25
0
 public void AddRow(QWidget label, QLayout field)
 {
     interceptor.Invoke("addRow##", "addRow(QWidget*, QLayout*)", typeof(void), typeof(QWidget), label, typeof(QLayout), field);
 }
Exemplo n.º 26
0
 public bool SetStretchFactor(QLayout l, int stretch)
 {
     return((bool)interceptor.Invoke("setStretchFactor#$", "setStretchFactor(QLayout*, int)", typeof(bool), typeof(QLayout), l, typeof(int), stretch));
 }
Exemplo n.º 27
0
 public void AddRow(QLayout layout)
 {
     interceptor.Invoke("addRow#", "addRow(QLayout*)", typeof(void), typeof(QLayout), layout);
 }
Exemplo n.º 28
0
 public void AddLayout(QLayout layout, int stretch)
 {
     interceptor.Invoke("addLayout#$", "addLayout(QLayout*, int)", typeof(void), typeof(QLayout), layout, typeof(int), stretch);
 }
Exemplo n.º 29
0
 public void InsertRow(int row, QWidget label, QLayout field)
 {
     interceptor.Invoke("insertRow$##", "insertRow(int, QWidget*, QLayout*)", typeof(void), typeof(int), row, typeof(QWidget), label, typeof(QLayout), field);
 }
Exemplo n.º 30
0
 public void AddLayout(QLayout layout)
 {
     interceptor.Invoke("addLayout#", "addLayout(QLayout*)", typeof(void), typeof(QLayout), layout);
 }
Exemplo n.º 31
0
 public void InsertRow(int row, QLayout layout)
 {
     interceptor.Invoke("insertRow$#", "insertRow(int, QLayout*)", typeof(void), typeof(int), row, typeof(QLayout), layout);
 }
Exemplo n.º 32
0
 public void AddLayout(QLayout arg1, int row, int column, uint arg4)
 {
     interceptor.Invoke("addLayout#$$$", "addLayout(QLayout*, int, int, Qt::Alignment)", typeof(void), typeof(QLayout), arg1, typeof(int), row, typeof(int), column, typeof(uint), arg4);
 }
Exemplo n.º 33
0
 public void SetLayout(int row, QFormLayout.ItemRole role, QLayout layout)
 {
     interceptor.Invoke("setLayout$$#", "setLayout(int, QFormLayout::ItemRole, QLayout*)", typeof(void), typeof(int), row, typeof(QFormLayout.ItemRole), role, typeof(QLayout), layout);
 }
Exemplo n.º 34
0
 /// <remarks>
 ///  Resize every layout associated with <code>lay</code> and its children.
 /// <param> name="lay" layout to be resized
 /// </param><param> name="margin" The new layout margin
 /// </param><param> name="spacing" The new layout spacing
 ///      </param></remarks>        <short>    Resize every layout associated with <code>lay</code> and its children.</short>
 public static void ResizeLayout(QLayout lay, int margin, int spacing)
 {
     staticInterceptor.Invoke("resizeLayout#$$", "resizeLayout(QLayout*, int, int)", typeof(void), typeof(QLayout), lay, typeof(int), margin, typeof(int), spacing);
 }