Inheritance: Object, IDisposable
コード例 #1
0
ファイル: QFontDialog.cs プロジェクト: micro-chen/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);
        }
コード例 #2
0
ファイル: QFontDialog.cs プロジェクト: micro-chen/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);
        }
コード例 #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
ファイル: Plasma_Meter.cs プロジェクト: 0xd34df00d/Qross
 /// <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
ファイル: QFontMetrics.cs プロジェクト: 0xd34df00d/Qross
 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
ファイル: QGraphicsScene.cs プロジェクト: micro-chen/qyoto
 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
ファイル: QTextLayout.cs プロジェクト: micro-chen/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);
 }
コード例 #12
0
ファイル: QTextLayout.cs プロジェクト: micro-chen/qyoto
 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
ファイル: QFontDialog.cs プロジェクト: micro-chen/qyoto
 public QFontDialog(QFont initial) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QFontDialog#", "QFontDialog(const QFont&)", typeof(void), typeof(QFont), initial);
 }
コード例 #14
0
ファイル: QFontDialog.cs プロジェクト: micro-chen/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);
 }
コード例 #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
ファイル: AboutDialog.cs プロジェクト: cyberthrone/monosim
    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
ファイル: Plasma_Theme.cs プロジェクト: 0xd34df00d/Qross
 /// <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
ファイル: QTextEdit.cs プロジェクト: micro-chen/qyoto
 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
ファイル: QFontMetrics.cs プロジェクト: 0xd34df00d/Qross
 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
ファイル: QPainterPath.cs プロジェクト: micro-chen/qyoto
 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
ファイル: QPainterPath.cs プロジェクト: micro-chen/qyoto
 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
ファイル: QGraphicsScene.cs プロジェクト: 0xd34df00d/Qross
 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
ファイル: QGraphicsTextItem.cs プロジェクト: KDE/qyoto
 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
ファイル: QItemDelegate.cs プロジェクト: micro-chen/qyoto
 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));
 }