public void SetupUi(QDialog NewContactDialog) { if (NewContactDialog.ObjectName == "") NewContactDialog.ObjectName = "NewContactDialog"; QSize Size = new QSize(360, 150); Size = Size.ExpandedTo(NewContactDialog.MinimumSizeHint()); NewContactDialog.Size = Size; NewContactDialog.MinimumSize = new QSize(360, 150); NewContactDialog.WindowIcon = new QIcon(":/main/resources/monosim_128.png"); gridLayout = new QGridLayout(NewContactDialog); gridLayout.ObjectName = "gridLayout"; LblTitle = new QLabel(NewContactDialog); LblTitle.ObjectName = "LblTitle"; LblTitle.Alignment = Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignCenter"); LblTitle.WordWrap = true; gridLayout.AddWidget(LblTitle, 0, 0, 1, 2); LblDesc = new QLabel(NewContactDialog); LblDesc.ObjectName = "LblDesc"; gridLayout.AddWidget(LblDesc, 2, 0, 1, 1); TxtDesc = new QLineEdit(NewContactDialog); TxtDesc.ObjectName = "TxtDesc"; gridLayout.AddWidget(TxtDesc, 2, 1, 1, 1); LblNumber = new QLabel(NewContactDialog); LblNumber.ObjectName = "LblNumber"; gridLayout.AddWidget(LblNumber, 3, 0, 1, 1); TxtNumber = new QLineEdit(NewContactDialog); TxtNumber.ObjectName = "TxtNumber"; gridLayout.AddWidget(TxtNumber, 3, 1, 1, 1); spacerItem = new QSpacerItem(282, 37, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding); gridLayout.AddItem(spacerItem, 4, 1, 1, 1); Buttons = new QDialogButtonBox(NewContactDialog); Buttons.ObjectName = "Buttons"; Buttons.Orientation = Qt.Orientation.Horizontal; Buttons.StandardButtons = Qyoto.Qyoto.GetCPPEnumValue("QDialogButtonBox", "Cancel") | Qyoto.Qyoto.GetCPPEnumValue("QDialogButtonBox", "Ok"); gridLayout.AddWidget(Buttons, 5, 0, 1, 2); spacerItem1 = new QSpacerItem(20, 8, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed); gridLayout.AddItem(spacerItem1, 1, 0, 1, 1); RetranslateUi(NewContactDialog); QObject.Connect(Buttons, Qt.SIGNAL("accepted()"), NewContactDialog, Qt.SLOT("accept()")); QObject.Connect(Buttons, Qt.SIGNAL("rejected()"), NewContactDialog, Qt.SLOT("reject()")); QMetaObject.ConnectSlotsByName(NewContactDialog); } // SetupUi
public void SetupUi(QDialog SelectWriteModeDialog) { if (SelectWriteModeDialog.ObjectName == "") SelectWriteModeDialog.ObjectName = "SelectWriteModeDialog"; QSize Size = new QSize(443, 125); Size = Size.ExpandedTo(SelectWriteModeDialog.MinimumSizeHint()); SelectWriteModeDialog.Size = Size; SelectWriteModeDialog.WindowIcon = new QIcon(":/main/resources/monosim_128.png"); gridLayout = new QGridLayout(SelectWriteModeDialog); gridLayout.ObjectName = "gridLayout"; LblTitle = new QLabel(SelectWriteModeDialog); LblTitle.ObjectName = "LblTitle"; LblTitle.Alignment = Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignLeading") | Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignLeft") | Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignTop"); gridLayout.AddWidget(LblTitle, 0, 0, 1, 4); BtnCancel = new QPushButton(SelectWriteModeDialog); BtnCancel.ObjectName = "BtnCancel"; gridLayout.AddWidget(BtnCancel, 1, 0, 1, 1); spacerItem = new QSpacerItem(152, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum); gridLayout.AddItem(spacerItem, 1, 1, 1, 1); BtnOverride = new QPushButton(SelectWriteModeDialog); BtnOverride.ObjectName = "BtnOverride"; BtnOverride.icon = new QIcon(":/toolbar/resources/qt/draw-eraser.png"); gridLayout.AddWidget(BtnOverride, 1, 2, 1, 1); BtnAppend = new QPushButton(SelectWriteModeDialog); BtnAppend.ObjectName = "BtnAppend"; BtnAppend.icon = new QIcon(":/toolbar/resources/qt/list-add.png"); gridLayout.AddWidget(BtnAppend, 1, 3, 1, 1); RetranslateUi(SelectWriteModeDialog); QMetaObject.ConnectSlotsByName(SelectWriteModeDialog); } // SetupUi
public static QBitmap FromData(QSize size, Pointer <byte> bits) { return((QBitmap)staticInterceptor.Invoke("fromData#$", "fromData(const QSize&, const unsigned char*)", typeof(QBitmap), typeof(QSize), size, typeof(Pointer <byte>), bits)); }
public void SetUniformValue(string name, QSize size) { interceptor.Invoke("setUniformValue$#", "setUniformValue(const char*, const QSize&)", typeof(void), typeof(string), name, typeof(QSize), size); }
/// <remarks> /// Reccomended position for a popup window like a menu or a tooltip /// given its size /// <param> name="s" size of the popup /// </param></remarks> <return> reccomended position /// </return> /// <short> Reccomended position for a popup window like a menu or a tooltip given its size </short> public QPoint PopupPosition(QSize s) { return applet.PopupPosition(s); }
public static QDataStream Write(QDataStream arg1, QSize arg2) { return (QDataStream) staticInterceptor.Invoke("operator<<##", "operator<<(QDataStream&, const QSize&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QSize), arg2); }
public static QBitmap FromData(QSize size, Pointer<byte> bits, QImage.Format monoFormat) { return (QBitmap) staticInterceptor.Invoke("fromData#$$", "fromData(const QSize&, const unsigned char*, QImage::Format)", typeof(QBitmap), typeof(QSize), size, typeof(Pointer<byte>), bits, typeof(QImage.Format), monoFormat); }
/// <remarks> /// Recommended position for a popup window like a menu or a tooltip /// given its size /// <param> name="item" the item that the popup should appear adjacent to (an applet, say) /// </param><param> name="size" size of the popup /// </param></remarks> <return> reccomended position /// </return> /// <short> Recommended position for a popup window like a menu or a tooltip given its size </short> public QPoint PopupPosition(IQGraphicsItem item, QSize size) { return (QPoint) interceptor.Invoke("popupPosition##", "popupPosition(const QGraphicsItem*, const QSize&)", typeof(QPoint), typeof(IQGraphicsItem), item, typeof(QSize), size); }
public void AddFile(string fileName, QSize size) { interceptor.Invoke("addFile$#", "addFile(const QString&, const QSize&)", typeof(void), typeof(string), fileName, typeof(QSize), size); }
public QGLFramebufferObject(QSize size, QGLFramebufferObject.Attachment attachment, int target, int internal_format) : this((Type) null) { CreateProxy(); interceptor.Invoke("QGLFramebufferObject#$$$", "QGLFramebufferObject(const QSize&, QGLFramebufferObject::Attachment, GLenum, GLenum)", typeof(void), typeof(QSize), size, typeof(QGLFramebufferObject.Attachment), attachment, typeof(int), target, typeof(int), internal_format); }
public QSize ActualSize(QSize size) { return((QSize)interceptor.Invoke("actualSize#", "actualSize(const QSize&) const", typeof(QSize), typeof(QSize), size)); }
public void AddFile(string fileName, QSize size, QIcon.Mode mode) { interceptor.Invoke("addFile$#$", "addFile(const QString&, const QSize&, QIcon::Mode)", typeof(void), typeof(string), fileName, typeof(QSize), size, typeof(QIcon.Mode), mode); }
public QSize ActualSize(QSize size, QIcon.Mode mode) { return((QSize)interceptor.Invoke("actualSize#$", "actualSize(const QSize&, QIcon::Mode) const", typeof(QSize), typeof(QSize), size, typeof(QIcon.Mode), mode)); }
public void SetScaledSize(QSize size) { interceptor.Invoke("setScaledSize#", "setScaledSize(const QSize&)", typeof(void), typeof(QSize), size); }
public override QSize SizeFromContents(QStyle.ContentsType type, QStyleOption option, QSize size, QWidget widget) { return((QSize)interceptor.Invoke("sizeFromContents$###", "sizeFromContents(QStyle::ContentsType, const QStyleOption*, const QSize&, const QWidget*) const", typeof(QSize), typeof(QStyle.ContentsType), type, typeof(QStyleOption), option, typeof(QSize), size, typeof(QWidget), widget)); }
public void SetupGUI(QSize defaultSize, uint options) { interceptor.Invoke("setupGUI#$", "setupGUI(const QSize&, KXmlGuiWindow::StandardWindowOptions)", typeof(void), typeof(QSize), defaultSize, typeof(uint), options); }
public QPixmap Pixmap(QSize size, QIcon.Mode mode) { return((QPixmap)interceptor.Invoke("pixmap#$", "pixmap(const QSize&, QIcon::Mode) const", typeof(QPixmap), typeof(QSize), size, typeof(QIcon.Mode), mode)); }
// void blitFramebuffer(QGLFramebufferObject* arg1,const QRect& arg2,QGLFramebufferObject* arg3,const QRect& arg4,GLbitfield arg5,GLenum arg6); >>>> NOT CONVERTED // void blitFramebuffer(QGLFramebufferObject* arg1,const QRect& arg2,QGLFramebufferObject* arg3,const QRect& arg4,GLbitfield arg5); >>>> NOT CONVERTED public QGLFramebufferObject(QSize size, int target) : this((Type) null) { CreateProxy(); interceptor.Invoke("QGLFramebufferObject#$", "QGLFramebufferObject(const QSize&, GLenum)", typeof(void), typeof(QSize), size, typeof(int), target); }
public QPixmap Pixmap(QSize size) { return((QPixmap)interceptor.Invoke("pixmap#", "pixmap(const QSize&) const", typeof(QPixmap), typeof(QSize), size)); }
public QGLFramebufferObject(QSize size, QGLFramebufferObjectFormat format) : this((Type) null) { CreateProxy(); interceptor.Invoke("QGLFramebufferObject##", "QGLFramebufferObject(const QSize&, const QGLFramebufferObjectFormat&)", typeof(void), typeof(QSize), size, typeof(QGLFramebufferObjectFormat), format); }
public void SetIconSize(QSize iconSize) { interceptor.Invoke("setIconSize#", "setIconSize(const QSize&)", typeof(void), typeof(QSize), iconSize); }
protected void Render(string sourceImagePath, QSize size, Plasma.Wallpaper.ResizeMethod resizeMethod) { interceptor.Invoke("render$#$", "render(const QString&, const QSize&, Plasma::Wallpaper::ResizeMethod)", typeof(void), typeof(string), sourceImagePath, typeof(QSize), size, typeof(Plasma.Wallpaper.ResizeMethod), resizeMethod); }
public QVariant(QSize size) : this((Type)null) { CreateProxy(); interceptor.Invoke("QVariant#", "QVariant(const QSize&)", typeof(void), typeof(QSize), size); }
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
public QResizeEvent(QSize size, QSize oldSize) : this((Type)null) { CreateProxy(); interceptor.Invoke("QResizeEvent##", "QResizeEvent(const QSize&, const QSize&)", typeof(void), typeof(QSize), size, typeof(QSize), oldSize); }
public static QDataStream Read(QDataStream arg1, QSize arg2) { return (QDataStream) staticInterceptor.Invoke("operator>>##", "operator>>(QDataStream&, QSize&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QSize), arg2); }
public void Resize(QSize s) { interceptor.Invoke("resize#", "resize(const QSize&)", typeof(void), typeof(QSize), s); }
public static QBitmap FromData(QSize size, Pointer <byte> bits, QImage.Format monoFormat) { return((QBitmap)staticInterceptor.Invoke("fromData#$$", "fromData(const QSize&, const unsigned char*, QImage::Format)", typeof(QBitmap), typeof(QSize), size, typeof(Pointer <byte>), bits, typeof(QImage.Format), monoFormat)); }
public void SetSizeHint(QSize sizeHint) { interceptor.Invoke("setSizeHint#", "setSizeHint(const QSize&)", typeof(void), typeof(QSize), sizeHint); }
public void SetUniformValue(int location, QSize size) { interceptor.Invoke("setUniformValue$#", "setUniformValue(int, const QSize&)", typeof(void), typeof(int), location, typeof(QSize), size); }
public static QSize ClosestAcceptableSize(QWidget w, QSize s) { return((QSize)staticInterceptor.Invoke("closestAcceptableSize##", "closestAcceptableSize(const QWidget*, const QSize&)", typeof(QSize), typeof(QWidget), w, typeof(QSize), s)); }
/// <remarks> /// Configures the current windows and its actions in the typical KDE /// fashion. The options are all enabled by default but can be turned /// off if desired through the params or if the prereqs don't exists. /// <code>defaultSize</code> The default size of the window /// Typically this function replaces createGUI(). /// </remarks> <short> Configures the current windows and its actions in the typical KDE fashion.</short> /// <see> StandardWindowOptions</see> public void SetupGUI(QSize defaultSize, uint options, string xmlfile) { interceptor.Invoke("setupGUI#$$", "setupGUI(const QSize&, KXmlGuiWindow::StandardWindowOptions, const QString&)", typeof(void), typeof(QSize), defaultSize, typeof(uint), options, typeof(string), xmlfile); }
public void Scale(QSize s, Qt.AspectRatioMode mode) { interceptor.Invoke("scale#$", "scale(const QSize&, Qt::AspectRatioMode)", typeof(void), typeof(QSize), s, typeof(Qt.AspectRatioMode), mode); }
public void SetupGUI(QSize defaultSize) { interceptor.Invoke("setupGUI#", "setupGUI(const QSize&)", typeof(void), typeof(QSize), defaultSize); }
public QSize BoundedTo(QSize arg1) { return((QSize)interceptor.Invoke("boundedTo#", "boundedTo(const QSize&) const", typeof(QSize), typeof(QSize), arg1)); }
public QGLFramebufferObject(QSize size) : this((Type) null) { CreateProxy(); interceptor.Invoke("QGLFramebufferObject#", "QGLFramebufferObject(const QSize&)", typeof(void), typeof(QSize), size); }
public QPixmap Scaled(QSize s, Qt.AspectRatioMode aspectMode, Qt.TransformationMode mode) { return((QPixmap)interceptor.Invoke("scaled#$$", "scaled(const QSize&, Qt::AspectRatioMode, Qt::TransformationMode) const", typeof(QPixmap), typeof(QSize), s, typeof(Qt.AspectRatioMode), aspectMode, typeof(Qt.TransformationMode), mode)); }
public QGLFramebufferObject(QSize size, QGLFramebufferObject.Attachment attachment) : this((Type) null) { CreateProxy(); interceptor.Invoke("QGLFramebufferObject#$", "QGLFramebufferObject(const QSize&, QGLFramebufferObject::Attachment)", typeof(void), typeof(QSize), size, typeof(QGLFramebufferObject.Attachment), attachment); }
public QPixmap Scaled(QSize s) { return((QPixmap)interceptor.Invoke("scaled#", "scaled(const QSize&) const", typeof(QPixmap), typeof(QSize), s)); }
public QBitmap(QSize arg1) : this((Type) null) { CreateProxy(); interceptor.Invoke("QBitmap#", "QBitmap(const QSize&)", typeof(void), typeof(QSize), arg1); }
public QPixmap(QSize arg1) : this((Type)null) { CreateProxy(); interceptor.Invoke("QPixmap#", "QPixmap(const QSize&)", typeof(void), typeof(QSize), arg1); }
public static QBitmap FromData(QSize size, Pointer<byte> bits) { return (QBitmap) staticInterceptor.Invoke("fromData#$", "fromData(const QSize&, const unsigned char*)", typeof(QBitmap), typeof(QSize), size, typeof(Pointer<byte>), bits); }
public QImage Scaled(QSize s, Qt.AspectRatioMode aspectMode) { return((QImage)interceptor.Invoke("scaled#$", "scaled(const QSize&, Qt::AspectRatioMode) const", typeof(QImage), typeof(QSize), s, typeof(Qt.AspectRatioMode), aspectMode)); }
protected void Render(string sourceImagePath, QSize size) { interceptor.Invoke("render$#", "render(const QString&, const QSize&)", typeof(void), typeof(string), sourceImagePath, typeof(QSize), size); }
public QImage Scaled(QSize s) { return((QImage)interceptor.Invoke("scaled#", "scaled(const QSize&) const", typeof(QImage), typeof(QSize), s)); }
public void SetFixedSize(QSize arg1) { interceptor.Invoke("setFixedSize#", "setFixedSize(const QSize&)", typeof(void), typeof(QSize), arg1); }
public QImage(QSize size, QImage.Format format) : this((Type)null) { CreateProxy(); interceptor.Invoke("QImage#$", "QImage(const QSize&, QImage::Format)", typeof(void), typeof(QSize), size, typeof(QImage.Format), format); }
public void SetSizeHint(int column, QSize size) { interceptor.Invoke("setSizeHint$#", "setSizeHint(int, const QSize&)", typeof(void), typeof(int), column, typeof(QSize), size); }
public static QSize ClosestAcceptableSize(QWidget w, QSize s) { return (QSize) staticInterceptor.Invoke("closestAcceptableSize##", "closestAcceptableSize(const QWidget*, const QSize&)", typeof(QSize), typeof(QWidget), w, typeof(QSize), s); }
public override QSize SizeFromContents(QStyle.ContentsType ct, QStyleOption opt, QSize contentsSize) { return((QSize)interceptor.Invoke("sizeFromContents$##", "sizeFromContents(QStyle::ContentsType, const QStyleOption*, const QSize&) const", typeof(QSize), typeof(QStyle.ContentsType), ct, typeof(QStyleOption), opt, typeof(QSize), contentsSize)); }
public static QDBusArgument Read(QDBusArgument a, QSize size) { return (QDBusArgument) staticInterceptor.Invoke("operator>>##", "operator>>(const QDBusArgument&, QSize&)", typeof(QDBusArgument), typeof(QDBusArgument), a, typeof(QSize), size); }
public QGLPixelBuffer(QSize size, QGLFormat format) : this((Type)null) { CreateProxy(); interceptor.Invoke("QGLPixelBuffer##", "QGLPixelBuffer(const QSize&, const QGLFormat&)", typeof(void), typeof(QSize), size, typeof(QGLFormat), format); }
public static QDBusArgument Write(QDBusArgument a, QSize size) { return (QDBusArgument) staticInterceptor.Invoke("operator<<##", "operator<<(QDBusArgument&, const QSize&)", typeof(QDBusArgument), typeof(QDBusArgument), a, typeof(QSize), size); }
public QGLPixelBuffer(QSize size) : this((Type)null) { CreateProxy(); interceptor.Invoke("QGLPixelBuffer#", "QGLPixelBuffer(const QSize&)", typeof(void), typeof(QSize), size); }
public void SetCacheMode(QGraphicsItem.CacheMode mode, QSize cacheSize) { interceptor.Invoke("setCacheMode$#", "setCacheMode(QGraphicsItem::CacheMode, const QSize&)", typeof(void), typeof(QGraphicsItem.CacheMode), mode, typeof(QSize), cacheSize); }
public QSizeF(QSize sz) : this((Type)null) { CreateProxy(); interceptor.Invoke("QSizeF#", "QSizeF(const QSize&)", typeof(void), typeof(QSize), sz); }