상속: Object, IDisposable
예제 #1
0
        public static QFont GetFont(ref bool ok, QFont initial, QWidget parent, string title, uint options)
        {
            StackItem[] stack = new StackItem[6];
            stack[1].s_bool = ok;
#if DEBUG
            stack[2].s_class = (IntPtr)DebugGCHandle.Alloc(initial);
#else
            stack[2].s_class = (IntPtr)GCHandle.Alloc(initial);
#endif
#if DEBUG
            stack[3].s_class = (IntPtr)DebugGCHandle.Alloc(parent);
#else
            stack[3].s_class = (IntPtr)GCHandle.Alloc(parent);
#endif
#if DEBUG
            stack[4].s_class = (IntPtr)DebugGCHandle.Alloc(title);
#else
            stack[4].s_class = (IntPtr)GCHandle.Alloc(title);
#endif
            stack[5].s_uint = options;
            staticInterceptor.Invoke("getFont$##$$", "getFont(bool*, const QFont&, QWidget*, const QString&, QFontDialog::FontDialogOptions)", stack);
            ok = stack[1].s_bool;
#if DEBUG
            DebugGCHandle.Free((GCHandle)stack[2].s_class);
#else
            ((GCHandle)stack[2].s_class).SynchronizedFree();
#endif
#if DEBUG
            DebugGCHandle.Free((GCHandle)stack[3].s_class);
#else
            ((GCHandle)stack[3].s_class).SynchronizedFree();
#endif
#if DEBUG
            DebugGCHandle.Free((GCHandle)stack[4].s_class);
#else
            ((GCHandle)stack[4].s_class).SynchronizedFree();
#endif
            object returnValue = ((GCHandle)stack[0].s_class).Target;
#if DEBUG
            DebugGCHandle.Free((GCHandle)stack[0].s_class);
#else
            ((GCHandle)stack[0].s_class).SynchronizedFree();
#endif
            return((QFont)returnValue);
        }
예제 #2
0
        public static QFont GetFont(ref bool ok, QFont initial)
        {
            StackItem[] stack = new StackItem[3];
            stack[1].s_bool = ok;
#if DEBUG
            stack[2].s_class = (IntPtr)DebugGCHandle.Alloc(initial);
#else
            stack[2].s_class = (IntPtr)GCHandle.Alloc(initial);
#endif
            staticInterceptor.Invoke("getFont$#", "getFont(bool*, const QFont&)", stack);
            ok = stack[1].s_bool;
#if DEBUG
            DebugGCHandle.Free((GCHandle)stack[2].s_class);
#else
            ((GCHandle)stack[2].s_class).SynchronizedFree();
#endif
            object returnValue = ((GCHandle)stack[0].s_class).Target;
#if DEBUG
            DebugGCHandle.Free((GCHandle)stack[0].s_class);
#else
            ((GCHandle)stack[0].s_class).SynchronizedFree();
#endif
            return((QFont)returnValue);
        }
예제 #3
0
파일: QWidget.cs 프로젝트: 0xd34df00d/Qross
 protected virtual void FontChange(QFont arg1)
 {
     interceptor.Invoke("fontChange#", "fontChange(const QFont&)", typeof(void), typeof(QFont), arg1);
 }
예제 #4
0
 /// <remarks>
 ///  Set text label font for the meter
 /// <param> name="index" label index
 /// </param><param> name="font" the font to apply to the label
 ///      </param></remarks>        <short>    Set text label font for the meter </short>
 public void SetLabelFont(int index, QFont font)
 {
     interceptor.Invoke("setLabelFont$#", "setLabelFont(int, const QFont&)", typeof(void), typeof(int), index, typeof(QFont), font);
 }
예제 #5
0
파일: QFontDialog.cs 프로젝트: KDE/qyoto
 public QFontDialog(QFont initial, QWidget parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QFontDialog##", "QFontDialog(const QFont&, QWidget*)", typeof(void), typeof(QFont), initial, typeof(QWidget), parent);
 }
예제 #6
0
파일: Qt.cs 프로젝트: KDE/qyoto
 public static QDataStream Write(QDataStream arg1, QFont arg2)
 {
     return (QDataStream) staticInterceptor.Invoke("operator<<##", "operator<<(QDataStream&, const QFont&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QFont), arg2);
 }
예제 #7
0
 public static void SetFont(QFont arg1)
 {
     staticInterceptor.Invoke("setFont#", "setFont(const QFont&)", typeof(void), typeof(QFont), arg1);
 }
예제 #8
0
 public QFontMetrics(QFont arg1, IQPaintDevice pd)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QFontMetrics##", "QFontMetrics(const QFont&, QPaintDevice*)", typeof(void), typeof(QFont), arg1, typeof(IQPaintDevice), pd);
 }
예제 #9
0
파일: QFont.cs 프로젝트: micro-chen/qyoto
 public QFont(QFont arg1) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QFont#", "QFont(const QFont&)", typeof(void), typeof(QFont), arg1);
 }
예제 #10
0
 public QGraphicsSimpleTextItem AddSimpleText(string text, QFont font)
 {
     return((QGraphicsSimpleTextItem)interceptor.Invoke("addSimpleText$#", "addSimpleText(const QString&, const QFont&)", typeof(QGraphicsSimpleTextItem), typeof(string), text, typeof(QFont), font));
 }
예제 #11
0
 public QTextLayout(string text, QFont font) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QTextLayout$#", "QTextLayout(const QString&, const QFont&)", typeof(void), typeof(string), text, typeof(QFont), font);
 }
예제 #12
0
 public QTextLayout(string text, QFont font, IQPaintDevice paintdevice) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QTextLayout$##", "QTextLayout(const QString&, const QFont&, QPaintDevice*)", typeof(void), typeof(string), text, typeof(QFont), font, typeof(IQPaintDevice), paintdevice);
 }
예제 #13
0
 public QFontDialog(QFont initial) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QFontDialog#", "QFontDialog(const QFont&)", typeof(void), typeof(QFont), initial);
 }
예제 #14
0
 public QFontDialog(QFont initial, QWidget parent) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QFontDialog##", "QFontDialog(const QFont&, QWidget*)", typeof(void), typeof(QFont), initial, typeof(QWidget), parent);
 }
예제 #15
0
 public void RenderText(double x, double y, double z, string str, QFont fnt)
 {
     interceptor.Invoke("renderText$$$$#", "renderText(double, double, double, const QString&, const QFont&)", typeof(void), typeof(double), x, typeof(double), y, typeof(double), z, typeof(string), str, typeof(QFont), fnt);
 }
예제 #16
0
파일: QTextLayout.cs 프로젝트: KDE/qyoto
 public QTextLayout(string text, QFont font)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QTextLayout$#", "QTextLayout(const QString&, const QFont&)", typeof(void), typeof(string), text, typeof(QFont), font);
 }
예제 #17
0
    public void SetupUi(QDialog AboutDialog)
    {
    if (AboutDialog.ObjectName == "")
        AboutDialog.ObjectName = "AboutDialog";
    QSize Size = new QSize(660, 460);
    Size = Size.ExpandedTo(AboutDialog.MinimumSizeHint());
    AboutDialog.Size = Size;
    AboutDialog.MinimumSize = new QSize(660, 460);
    AboutDialog.WindowIcon = new QIcon(":/main/resources/monosim_128.png");
    AboutDialog.Modal = true;
    gridLayout = new QGridLayout(AboutDialog);
    gridLayout.ObjectName = "gridLayout";
    vboxLayout = new QVBoxLayout();
    vboxLayout.ObjectName = "vboxLayout";
    FrameTop = new QFrame(AboutDialog);
    FrameTop.ObjectName = "FrameTop";
    FrameTop.MinimumSize = new QSize(0, 64);
    FrameTop.AutoFillBackground = false;
    FrameTop.FrameShape = QFrame.Shape.StyledPanel;
    FrameTop.FrameShadow = QFrame.Shadow.Raised;
    gridLayout1 = new QGridLayout(FrameTop);
    gridLayout1.ObjectName = "gridLayout1";
    Logo = new QWidget(FrameTop);
    Logo.ObjectName = "Logo";
    Logo.MinimumSize = new QSize(48, 48);
    Logo.MaximumSize = new QSize(48, 48);
    Logo.StyleSheet = "background-image: url(:/main/resources/monosim_48.png);";

    gridLayout1.AddWidget(Logo, 0, 0, 1, 1);

    vboxLayout1 = new QVBoxLayout();
    vboxLayout1.ObjectName = "vboxLayout1";
    LblName = new QLabel(FrameTop);
    LblName.ObjectName = "LblName";
    QFont font = new QFont();
    font.SetBold(true);
    font.SetWeight(75);
    LblName.Font = font;
    LblName.Margin = 1;

    vboxLayout1.AddWidget(LblName);

    LblDesc = new QLabel(FrameTop);
    LblDesc.ObjectName = "LblDesc";
    LblDesc.Margin = 1;

    vboxLayout1.AddWidget(LblDesc);


    gridLayout1.AddLayout(vboxLayout1, 0, 1, 1, 1);


    vboxLayout.AddWidget(FrameTop);

    tabInfo = new QTabWidget(AboutDialog);
    tabInfo.ObjectName = "tabInfo";
    tabInfo.AutoFillBackground = false;
    Informations = new QWidget();
    Informations.ObjectName = "Informations";
    gridLayout2 = new QGridLayout(Informations);
    gridLayout2.ObjectName = "gridLayout2";
    TxtInfo = new QTextEdit(Informations);
    TxtInfo.ObjectName = "TxtInfo";
    TxtInfo.lineWrapMode = QTextEdit.LineWrapMode.NoWrap;
    TxtInfo.ReadOnly = true;

    gridLayout2.AddWidget(TxtInfo, 0, 0, 1, 1);

    tabInfo.AddTab(Informations, QApplication.Translate("AboutDialog", "Informazioni su", null, QApplication.Encoding.UnicodeUTF8));
    Components = new QWidget();
    Components.ObjectName = "Components";
    gridLayout3 = new QGridLayout(Components);
    gridLayout3.ObjectName = "gridLayout3";
    TxtThanks = new QTextEdit(Components);
    TxtThanks.ObjectName = "TxtThanks";
    TxtThanks.ReadOnly = true;

    gridLayout3.AddWidget(TxtThanks, 0, 0, 1, 1);

    tabInfo.AddTab(Components, QApplication.Translate("AboutDialog", "Componenti", null, QApplication.Encoding.UnicodeUTF8));

    vboxLayout.AddWidget(tabInfo);

    buttonBox = new QDialogButtonBox(AboutDialog);
    buttonBox.ObjectName = "buttonBox";
    buttonBox.StandardButtons = Qyoto.Qyoto.GetCPPEnumValue("QDialogButtonBox", "Ok");

    vboxLayout.AddWidget(buttonBox);


    gridLayout.AddLayout(vboxLayout, 0, 0, 1, 1);


    RetranslateUi(AboutDialog);

    tabInfo.CurrentIndex = 0;


    QMetaObject.ConnectSlotsByName(AboutDialog);
    } // SetupUi
예제 #18
0
 /// <remarks>
 ///  Sets the default font to be used with themed items. Defaults to
 ///  the application wide default font.
 ///  @arg font the new font
 ///  @arg role which role (usage pattern) to set the font for
 ///          </remarks>        <short>    Sets the default font to be used with themed items.</short>
 public void SetFont(QFont font, Plasma.Theme.FontRole role)
 {
     interceptor.Invoke("setFont#$", "setFont(const QFont&, Plasma::Theme::FontRole)", typeof(void), typeof(QFont), font, typeof(Plasma.Theme.FontRole), role);
 }
예제 #19
0
파일: QFont.cs 프로젝트: micro-chen/qyoto
 public QFont Resolve(QFont arg1)
 {
     return((QFont)interceptor.Invoke("resolve#", "resolve(const QFont&) const", typeof(QFont), typeof(QFont), arg1));
 }
예제 #20
0
 public void SetFont(int column, QFont font)
 {
     interceptor.Invoke("setFont$#", "setFont(int, const QFont&)", typeof(void), typeof(int), column, typeof(QFont), font);
 }
예제 #21
0
 public void SetCurrentFont(QFont f)
 {
     interceptor.Invoke("setCurrentFont#", "setCurrentFont(const QFont&)", typeof(void), typeof(QFont), f);
 }
예제 #22
0
파일: QFontDatabase.cs 프로젝트: KDE/qyoto
 public string StyleString(QFont font)
 {
     return (string) interceptor.Invoke("styleString#", "styleString(const QFont&)", typeof(string), typeof(QFont), font);
 }
예제 #23
0
 protected void SetFormat(int start, int count, QFont font)
 {
     interceptor.Invoke("setFormat$$#", "setFormat(int, int, const QFont&)", typeof(void), typeof(int), start, typeof(int), count, typeof(QFont), font);
 }
예제 #24
0
파일: KFontDialog.cs 프로젝트: KDE/kimono
 public static int GetFont(QFont theFont, uint flags)
 {
     return (int) staticInterceptor.Invoke("getFont#$", "getFont(QFont&, const KFontChooser::DisplayFlags&)", typeof(int), typeof(QFont), theFont, typeof(uint), flags);
 }
예제 #25
0
파일: QFontDialog.cs 프로젝트: KDE/qyoto
 public static QFont GetFont(ref bool ok, QFont initial, QWidget parent, string title, uint options)
 {
     StackItem[] stack = new StackItem[6];
     stack[1].s_bool = ok;
     #if DEBUG
     stack[2].s_class = (IntPtr) DebugGCHandle.Alloc(initial);
     #else
     stack[2].s_class = (IntPtr) GCHandle.Alloc(initial);
     #endif
     #if DEBUG
     stack[3].s_class = (IntPtr) DebugGCHandle.Alloc(parent);
     #else
     stack[3].s_class = (IntPtr) GCHandle.Alloc(parent);
     #endif
     #if DEBUG
     stack[4].s_class = (IntPtr) DebugGCHandle.Alloc(title);
     #else
     stack[4].s_class = (IntPtr) GCHandle.Alloc(title);
     #endif
     stack[5].s_uint = options;
     staticInterceptor.Invoke("getFont$##$$", "getFont(bool*, const QFont&, QWidget*, const QString&, QFontDialog::FontDialogOptions)", stack);
     ok = stack[1].s_bool;
     #if DEBUG
     DebugGCHandle.Free((GCHandle) stack[2].s_class);
     #else
     ((GCHandle) stack[2].s_class).SynchronizedFree();
     #endif
     #if DEBUG
     DebugGCHandle.Free((GCHandle) stack[3].s_class);
     #else
     ((GCHandle) stack[3].s_class).SynchronizedFree();
     #endif
     #if DEBUG
     DebugGCHandle.Free((GCHandle) stack[4].s_class);
     #else
     ((GCHandle) stack[4].s_class).SynchronizedFree();
     #endif
     object returnValue = ((GCHandle) stack[0].s_class).Target;
     #if DEBUG
     DebugGCHandle.Free((GCHandle) stack[0].s_class);
     #else
     ((GCHandle) stack[0].s_class).SynchronizedFree();
     #endif
     return (QFont) returnValue;
 }
예제 #26
0
파일: KFontDialog.cs 프로젝트: KDE/kimono
 public static int GetFont(QFont theFont)
 {
     return (int) staticInterceptor.Invoke("getFont#", "getFont(QFont&)", typeof(int), typeof(QFont), theFont);
 }
예제 #27
0
 protected void GenerateFontDisplayLists(QFont fnt, int listBase)
 {
     interceptor.Invoke("generateFontDisplayLists#$", "generateFontDisplayLists(const QFont&, int)", typeof(void), typeof(QFont), fnt, typeof(int), listBase);
 }
예제 #28
0
파일: KFontDialog.cs 프로젝트: KDE/kimono
 /// <remarks>
 ///  When you are not only interested in the font selected, but also
 ///  in the example string typed in, you can call this method.
 /// <param> name="theFont" a reference to the font to write the chosen font
 ///         into.
 /// </param><param> name="theString" a reference to the example text that was typed.
 /// </param><param> name="flags" Defines how the font chooser is displayed.
 /// </param><param> name="parent" Parent widget of the dialog. Specifying a widget different
 ///         from 0 (Null) improves centering (looks better).
 /// </param><param> name="sizeIsRelativeState" If not zero the widget will show a
 ///         checkbox where the user may choose whether the font size
 ///         is to be interpreted as relative size.
 ///         Initial state of this checkbox will be set according to
 ///         sizeIsRelativeState and user choice will be returned
 ///         therein.
 /// </param></remarks>        <return> The result of the dialog.
 ///    </return>
 ///         <short>    When you are not only interested in the font selected, but also  in the example string typed in, you can call this method.</short>
 ///         <see> KFontChooser.DisplayFlags</see>
 public static int GetFontAndText(QFont theFont, StringBuilder theString, uint flags, QWidget parent, Qt.CheckState sizeIsRelativeState)
 {
     return (int) staticInterceptor.Invoke("getFontAndText#$$#$", "getFontAndText(QFont&, QString&, const KFontChooser::DisplayFlags&, QWidget*, Qt::CheckState*)", typeof(int), typeof(QFont), theFont, typeof(StringBuilder), theString, typeof(uint), flags, typeof(QWidget), parent, typeof(Qt.CheckState), sizeIsRelativeState);
 }
예제 #29
0
 protected void SetFormat(int start, int count, QFont font)
 {
     interceptor.Invoke("setFormat$$#", "setFormat(int, int, const QFont&)", typeof(void), typeof(int), start, typeof(int), count, typeof(QFont), font);
 }
예제 #30
0
파일: KFontDialog.cs 프로젝트: KDE/kimono
 public static int GetFontAndText(QFont theFont, StringBuilder theString, uint flags)
 {
     return (int) staticInterceptor.Invoke("getFontAndText#$$", "getFontAndText(QFont&, QString&, const KFontChooser::DisplayFlags&)", typeof(int), typeof(QFont), theFont, typeof(StringBuilder), theString, typeof(uint), flags);
 }
예제 #31
0
 public void RenderText(int x, int y, string str, QFont fnt)
 {
     interceptor.Invoke("renderText$$$#", "renderText(int, int, const QString&, const QFont&)", typeof(void), typeof(int), x, typeof(int), y, typeof(string), str, typeof(QFont), fnt);
 }
예제 #32
0
파일: KFontDialog.cs 프로젝트: KDE/kimono
 public static int GetFontAndText(QFont theFont, StringBuilder theString)
 {
     return (int) staticInterceptor.Invoke("getFontAndText#$", "getFontAndText(QFont&, QString&)", typeof(int), typeof(QFont), theFont, typeof(StringBuilder), theString);
 }
예제 #33
0
 protected int FontDisplayListBase(QFont fnt)
 {
     return((int)interceptor.Invoke("fontDisplayListBase#", "fontDisplayListBase(const QFont&)", typeof(int), typeof(QFont), fnt));
 }
예제 #34
0
파일: KFontDialog.cs 프로젝트: KDE/kimono
 /// <remarks>
 ///  Creates a modal font difference dialog, lets the user choose a selection
 ///  of changes that should be made to a set of fonts, and returns when the
 ///  dialog is closed. Useful for choosing slight adjustments to the font set
 ///  when the user would otherwise have to manually edit a number of fonts.
 /// <param> name="theFont" a reference to the font to write the chosen font
 ///         into.
 /// </param><param> name="flags" Defines how the font chooser is displayed.
 /// </param><param> name="diffFlags" a reference to the int into which the chosen
 ///         difference selection bitmask should be written.
 ///         Check the returned bitmask like:
 ///         <pre>
 ///         if ( diffFlags & KFontChooser.FontDiffFamily )
 ///             [...]
 ///         if ( diffFlags & KFontChooser.FontDiffStyle )
 ///             [...]
 ///         if ( diffFlags & KFontChooser.FontDiffSize )
 ///             [...]
 ///         </pre>
 /// </param><param> name="parent" Parent widget of the dialog. Specifying a widget different
 ///         from 0 (Null) improves centering (looks better).
 /// </param><param> name="sizeIsRelativeState" If not zero the widget will show a
 ///         checkbox where the user may choose whether the font size
 ///         is to be interpreted as relative size.
 ///         Initial state of this checkbox will be set according to
 ///         sizeIsRelativeState and user choice will be returned
 ///         therein.
 /// </param></remarks>        <return> QDialog.Result().
 ///    </return>
 ///         <short>    Creates a modal font difference dialog, lets the user choose a selection  of changes that should be made to a set of fonts, and returns when the  dialog is closed.</short>
 ///         <see> KFontChooser.DisplayFlags</see>
 public static int GetFontDiff(QFont theFont, uint diffFlags, uint flags, QWidget parent, Qt.CheckState sizeIsRelativeState)
 {
     return (int) staticInterceptor.Invoke("getFontDiff#$$#$", "getFontDiff(QFont&, KFontChooser::FontDiffFlags&, const KFontChooser::DisplayFlags&, QWidget*, Qt::CheckState*)", typeof(int), typeof(QFont), theFont, typeof(uint), diffFlags, typeof(uint), flags, typeof(QWidget), parent, typeof(Qt.CheckState), sizeIsRelativeState);
 }
예제 #35
0
파일: QFont.cs 프로젝트: micro-chen/qyoto
 public QFont(QFont arg1, IQPaintDevice pd) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QFont##", "QFont(const QFont&, QPaintDevice*)", typeof(void), typeof(QFont), arg1, typeof(IQPaintDevice), pd);
 }
예제 #36
0
파일: KFontDialog.cs 프로젝트: KDE/kimono
 public static int GetFontDiff(QFont theFont, uint diffFlags, uint flags, QWidget parent)
 {
     return (int) staticInterceptor.Invoke("getFontDiff#$$#", "getFontDiff(QFont&, KFontChooser::FontDiffFlags&, const KFontChooser::DisplayFlags&, QWidget*)", typeof(int), typeof(QFont), theFont, typeof(uint), diffFlags, typeof(uint), flags, typeof(QWidget), parent);
 }
예제 #37
0
파일: QFont.cs 프로젝트: micro-chen/qyoto
 public bool IsCopyOf(QFont arg1)
 {
     return((bool)interceptor.Invoke("isCopyOf#", "isCopyOf(const QFont&) const", typeof(bool), typeof(QFont), arg1));
 }
예제 #38
0
파일: KFontDialog.cs 프로젝트: KDE/kimono
 public static int GetFontDiff(QFont theFont, uint diffFlags)
 {
     return (int) staticInterceptor.Invoke("getFontDiff#$", "getFontDiff(QFont&, KFontChooser::FontDiffFlags&)", typeof(int), typeof(QFont), theFont, typeof(uint), diffFlags);
 }
예제 #39
0
 public QFontMetrics(QFont arg1)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QFontMetrics#", "QFontMetrics(const QFont&)", typeof(void), typeof(QFont), arg1);
 }
예제 #40
0
파일: QGLContext.cs 프로젝트: KDE/qyoto
 protected void GenerateFontDisplayLists(QFont fnt, int listBase)
 {
     interceptor.Invoke("generateFontDisplayLists#$", "generateFontDisplayLists(const QFont&, int)", typeof(void), typeof(QFont), fnt, typeof(int), listBase);
 }
예제 #41
0
파일: QsciScintilla.cs 프로젝트: KDE/qyoto
 public virtual void SetMarginsFont(QFont f)
 {
     interceptor.Invoke("setMarginsFont#", "setMarginsFont(const QFont&)", typeof(void), typeof(QFont), f);
 }
예제 #42
0
 public void AddText(QPointF point, QFont f, string text)
 {
     interceptor.Invoke("addText##$", "addText(const QPointF&, const QFont&, const QString&)", typeof(void), typeof(QPointF), point, typeof(QFont), f, typeof(string), text);
 }
예제 #43
0
 public static void SetFont(QFont arg1, string className)
 {
     staticInterceptor.Invoke("setFont#$", "setFont(const QFont&, const char*)", typeof(void), typeof(QFont), arg1, typeof(string), className);
 }
예제 #44
0
 public void AddText(double x, double y, QFont f, string text)
 {
     interceptor.Invoke("addText$$#$", "addText(qreal, qreal, const QFont&, const QString&)", typeof(void), typeof(double), x, typeof(double), y, typeof(QFont), f, typeof(string), text);
 }
예제 #45
0
 public QGraphicsTextItem AddText(string text, QFont font)
 {
     return (QGraphicsTextItem) interceptor.Invoke("addText$#", "addText(const QString&, const QFont&)", typeof(QGraphicsTextItem), typeof(string), text, typeof(QFont), font);
 }
예제 #46
0
파일: KFontChooser.cs 프로젝트: KDE/kimono
 /// <remarks>
 ///  Sets the currently selected font in the chooser.
 /// <param> name="font" The font to select.
 /// </param><param> name="onlyFixed" Readjust the font list to display only fixed
 ///         width fonts if <code>true</code>, or vice-versa.
 ///    </param></remarks>        <short>    Sets the currently selected font in the chooser.</short>
 public void SetFont(QFont font, bool onlyFixed)
 {
     interceptor.Invoke("setFont#$", "setFont(const QFont&, bool)", typeof(void), typeof(QFont), font, typeof(bool), onlyFixed);
 }
예제 #47
0
파일: Qt.cs 프로젝트: KDE/qyoto
 public static QDataStream Read(QDataStream arg1, QFont arg2)
 {
     return (QDataStream) staticInterceptor.Invoke("operator>>##", "operator>>(QDataStream&, QFont&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QFont), arg2);
 }
예제 #48
0
파일: QApplication.cs 프로젝트: KDE/qyoto
 public static void SetFont(QFont arg1, string className)
 {
     staticInterceptor.Invoke("setFont#$", "setFont(const QFont&, const char*)", typeof(void), typeof(QFont), arg1, typeof(string), className);
 }
예제 #49
0
 public void SetFont(QFont font)
 {
     interceptor.Invoke("setFont#", "setFont(const QFont&)", typeof(void), typeof(QFont), font);
 }
예제 #50
0
파일: QApplication.cs 프로젝트: KDE/qyoto
 public static void SetFont(QFont arg1)
 {
     staticInterceptor.Invoke("setFont#", "setFont(const QFont&)", typeof(void), typeof(QFont), arg1);
 }
예제 #51
0
파일: QFontDialog.cs 프로젝트: KDE/qyoto
 public static QFont GetFont(ref bool ok, QFont initial)
 {
     StackItem[] stack = new StackItem[3];
     stack[1].s_bool = ok;
     #if DEBUG
     stack[2].s_class = (IntPtr) DebugGCHandle.Alloc(initial);
     #else
     stack[2].s_class = (IntPtr) GCHandle.Alloc(initial);
     #endif
     staticInterceptor.Invoke("getFont$#", "getFont(bool*, const QFont&)", stack);
     ok = stack[1].s_bool;
     #if DEBUG
     DebugGCHandle.Free((GCHandle) stack[2].s_class);
     #else
     ((GCHandle) stack[2].s_class).SynchronizedFree();
     #endif
     object returnValue = ((GCHandle) stack[0].s_class).Target;
     #if DEBUG
     DebugGCHandle.Free((GCHandle) stack[0].s_class);
     #else
     ((GCHandle) stack[0].s_class).SynchronizedFree();
     #endif
     return (QFont) returnValue;
 }
예제 #52
0
 protected QRect TextRectangle(QPainter painter, QRect rect, QFont font, string text)
 {
     return((QRect)interceptor.Invoke("textRectangle###$", "textRectangle(QPainter*, const QRect&, const QFont&, const QString&) const", typeof(QRect), typeof(QPainter), painter, typeof(QRect), rect, typeof(QFont), font, typeof(string), text));
 }
예제 #53
0
파일: QFontDialog.cs 프로젝트: KDE/qyoto
 public QFontDialog(QFont initial)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QFontDialog#", "QFontDialog(const QFont&)", typeof(void), typeof(QFont), initial);
 }
예제 #54
0
 public string StyleString(QFont font)
 {
     return((string)interceptor.Invoke("styleString#", "styleString(const QFont&)", typeof(string), typeof(QFont), font));
 }