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); }
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); }
protected virtual void FontChange(QFont arg1) { interceptor.Invoke("fontChange#", "fontChange(const QFont&)", typeof(void), typeof(QFont), arg1); }
/// <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); }
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); }
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); }
public static void SetFont(QFont arg1) { staticInterceptor.Invoke("setFont#", "setFont(const QFont&)", typeof(void), typeof(QFont), arg1); }
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); }
public QFont(QFont arg1) : this((Type)null) { CreateProxy(); interceptor.Invoke("QFont#", "QFont(const QFont&)", typeof(void), typeof(QFont), arg1); }
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)); }
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); }
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); }
public QFontDialog(QFont initial) : this((Type)null) { CreateProxy(); interceptor.Invoke("QFontDialog#", "QFontDialog(const QFont&)", typeof(void), typeof(QFont), initial); }
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); }
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); }
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); }
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
/// <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); }
public QFont Resolve(QFont arg1) { return((QFont)interceptor.Invoke("resolve#", "resolve(const QFont&) const", typeof(QFont), typeof(QFont), arg1)); }
public void SetFont(int column, QFont font) { interceptor.Invoke("setFont$#", "setFont(int, const QFont&)", typeof(void), typeof(int), column, typeof(QFont), font); }
public void SetCurrentFont(QFont f) { interceptor.Invoke("setCurrentFont#", "setCurrentFont(const QFont&)", typeof(void), typeof(QFont), f); }
public string StyleString(QFont font) { return (string) interceptor.Invoke("styleString#", "styleString(const QFont&)", typeof(string), typeof(QFont), font); }
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); }
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); }
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; }
public static int GetFont(QFont theFont) { return (int) staticInterceptor.Invoke("getFont#", "getFont(QFont&)", typeof(int), typeof(QFont), theFont); }
protected void GenerateFontDisplayLists(QFont fnt, int listBase) { interceptor.Invoke("generateFontDisplayLists#$", "generateFontDisplayLists(const QFont&, int)", typeof(void), typeof(QFont), fnt, typeof(int), listBase); }
/// <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); }
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); }
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); }
public static int GetFontAndText(QFont theFont, StringBuilder theString) { return (int) staticInterceptor.Invoke("getFontAndText#$", "getFontAndText(QFont&, QString&)", typeof(int), typeof(QFont), theFont, typeof(StringBuilder), theString); }
protected int FontDisplayListBase(QFont fnt) { return((int)interceptor.Invoke("fontDisplayListBase#", "fontDisplayListBase(const QFont&)", typeof(int), typeof(QFont), fnt)); }
/// <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); }
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); }
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); }
public bool IsCopyOf(QFont arg1) { return((bool)interceptor.Invoke("isCopyOf#", "isCopyOf(const QFont&) const", typeof(bool), typeof(QFont), arg1)); }
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); }
public QFontMetrics(QFont arg1) : this((Type) null) { CreateProxy(); interceptor.Invoke("QFontMetrics#", "QFontMetrics(const QFont&)", typeof(void), typeof(QFont), arg1); }
public virtual void SetMarginsFont(QFont f) { interceptor.Invoke("setMarginsFont#", "setMarginsFont(const QFont&)", typeof(void), typeof(QFont), f); }
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); }
public static void SetFont(QFont arg1, string className) { staticInterceptor.Invoke("setFont#$", "setFont(const QFont&, const char*)", typeof(void), typeof(QFont), arg1, typeof(string), className); }
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); }
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); }
/// <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); }
public static QDataStream Read(QDataStream arg1, QFont arg2) { return (QDataStream) staticInterceptor.Invoke("operator>>##", "operator>>(QDataStream&, QFont&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QFont), arg2); }
public void SetFont(QFont font) { interceptor.Invoke("setFont#", "setFont(const QFont&)", typeof(void), typeof(QFont), font); }
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; }
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)); }
public QFontDialog(QFont initial) : this((Type) null) { CreateProxy(); interceptor.Invoke("QFontDialog#", "QFontDialog(const QFont&)", typeof(void), typeof(QFont), initial); }
public string StyleString(QFont font) { return((string)interceptor.Invoke("styleString#", "styleString(const QFont&)", typeof(string), typeof(QFont), font)); }