public override QModelIndex IndexAt(QPoint point) { GCHandle ret = (GCHandle) QAbstractItemViewIndexAt((IntPtr) GCHandle.Alloc(this), (IntPtr) GCHandle.Alloc(point)); QModelIndex i = (QModelIndex) ret.Target; ret.Free(); return i; }
public override QModelIndex IndexAt(QPoint point) { GCHandle ret = (GCHandle)QAbstractItemViewIndexAt((IntPtr)GCHandle.Alloc(this), (IntPtr)GCHandle.Alloc(point)); QModelIndex i = (QModelIndex)ret.Target; ret.SynchronizedFree(); return(i); }
public CannonField(QWidget parent) : base(parent) { currentAngle = 45; currentForce = 0; timerCount = 0; autoShootTimer = new QTimer(this); Connect(autoShootTimer, SIGNAL("timeout()"), this, SLOT("moveShot()")); shootAngle = 0; shootForce = 0; target = new QPoint(0, 0); Palette = new QPalette(new QColor(250, 250, 200)); AutoFillBackground = true; newTarget(); }
public void SetP1(QPoint p1) { interceptor.Invoke("setP1#", "setP1(const QPoint&)", typeof(void), typeof(QPoint), p1); }
public static void SetPos(QPoint p) { staticInterceptor.Invoke("setPos#", "setPos(const QPoint&)", typeof(void), typeof(QPoint), p); }
public static void QDrawShadeLine(QPainter p, QPoint p1, QPoint p2, QPalette pal) { staticInterceptor.Invoke("qDrawShadeLine####", "qDrawShadeLine(QPainter*, const QPoint&, const QPoint&, const QPalette&)", typeof(void), typeof(QPainter), p, typeof(QPoint), p1, typeof(QPoint), p2, typeof(QPalette), pal); }
public static QDBusArgument Write(QDBusArgument a, QPoint pt) { return (QDBusArgument) staticInterceptor.Invoke("operator<<##", "operator<<(QDBusArgument&, const QPoint&)", typeof(QDBusArgument), typeof(QDBusArgument), a, typeof(QPoint), pt); }
public void newTarget() { if (firstTime) { firstTime = false; QTime midnight = new QTime(0, 0, 0); RandomClass = new Random(); } target = new QPoint(200 + RandomClass.Next(190), 10 + RandomClass.Next(255)); Update(); }
public QPoint Map(QPoint point) { return (QPoint) interceptor.Invoke("map#", "map(const QPoint&) const", typeof(QPoint), typeof(QPoint), point); }
public void SetHotSpot(QPoint hotspot) { interceptor.Invoke("setHotSpot#", "setHotSpot(const QPoint&)", typeof(void), typeof(QPoint), hotspot); }
public QTextCursor CursorForPosition(QPoint pos) { return((QTextCursor)interceptor.Invoke("cursorForPosition#", "cursorForPosition(const QPoint&) const", typeof(QTextCursor), typeof(QPoint), pos)); }
public static void ShowText(QPoint pos, string text, QWidget w) { staticInterceptor.Invoke("showText#$#", "showText(const QPoint&, const QString&, QWidget*)", typeof(void), typeof(QPoint), pos, typeof(string), text, typeof(QWidget), w); }
public static void ShowText(QPoint pos, string text) { staticInterceptor.Invoke("showText#$", "showText(const QPoint&, const QString&)", typeof(void), typeof(QPoint), pos, typeof(string), text); }
public QLine Translated(QPoint p) { return((QLine)interceptor.Invoke("translated#", "translated(const QPoint&) const", typeof(QLine), typeof(QPoint), p)); }
public void Translate(QPoint p) { interceptor.Invoke("translate#", "translate(const QPoint&)", typeof(void), typeof(QPoint), p); }
public QLine(QPoint pt1, QPoint pt2) : this((Type)null) { CreateProxy(); interceptor.Invoke("QLine##", "QLine(const QPoint&, const QPoint&)", typeof(void), typeof(QPoint), pt1, typeof(QPoint), pt2); }
public QMouseEvent(QEvent.TypeOf type, QPoint pos, QPoint globalPos, Qt.MouseButton button, uint buttons, uint modifiers) : this((Type) null) { CreateProxy(); interceptor.Invoke("QMouseEvent$##$$$", "QMouseEvent(QEvent::Type, const QPoint&, const QPoint&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers)", typeof(void), typeof(QEvent.TypeOf), type, typeof(QPoint), pos, typeof(QPoint), globalPos, typeof(Qt.MouseButton), button, typeof(uint), buttons, typeof(uint), modifiers); }
public QWebHitTestResult HitTestContent(QPoint pos) { return((QWebHitTestResult)interceptor.Invoke("hitTestContent#", "hitTestContent(const QPoint&) const", typeof(QWebHitTestResult), typeof(QPoint), pos)); }
public QTextCursor CursorForPosition(QPoint pos) { return (QTextCursor) interceptor.Invoke("cursorForPosition#", "cursorForPosition(const QPoint&) const", typeof(QTextCursor), typeof(QPoint), pos); }
public int TabAt(QPoint pos) { return((int)interceptor.Invoke("tabAt#", "tabAt(const QPoint&) const", typeof(int), typeof(QPoint), pos)); }
protected override bool HitButton(QPoint pos) { return((bool)interceptor.Invoke("hitButton#", "hitButton(const QPoint&) const", typeof(bool), typeof(QPoint), pos)); }
public QTabletEvent(QEvent.TypeOf t, QPoint pos, QPoint globalPos, QPointF hiResGlobalPos, int device, int pointerType, double pressure, int xTilt, int yTilt, double tangentialPressure, double rotation, int z, uint keyState, long uniqueID) : this((Type)null) { CreateProxy(); interceptor.Invoke("QTabletEvent$###$$$$$$$$$$", "QTabletEvent(QEvent::Type, const QPoint&, const QPoint&, const QPointF&, int, int, qreal, int, int, qreal, qreal, int, Qt::KeyboardModifiers, qint64)", typeof(void), typeof(QEvent.TypeOf), t, typeof(QPoint), pos, typeof(QPoint), globalPos, typeof(QPointF), hiResGlobalPos, typeof(int), device, typeof(int), pointerType, typeof(double), pressure, typeof(int), xTilt, typeof(int), yTilt, typeof(double), tangentialPressure, typeof(double), rotation, typeof(int), z, typeof(uint), keyState, typeof(long), uniqueID); }
public void SetPoints(QPoint p1, QPoint p2) { interceptor.Invoke("setPoints##", "setPoints(const QPoint&, const QPoint&)", typeof(void), typeof(QPoint), p1, typeof(QPoint), p2); }
public QTestMouseEvent(QTest.MouseAction action, Qt.MouseButton button, uint modifiers, QPoint position, int delay) : this((Type)null) { CreateProxy(); interceptor.Invoke("QTestMouseEvent$$$#$", "QTestMouseEvent(QTest::MouseAction, Qt::MouseButton, Qt::KeyboardModifiers, QPoint, int)", typeof(void), typeof(QTest.MouseAction), action, typeof(Qt.MouseButton), button, typeof(uint), modifiers, typeof(QPoint), position, typeof(int), delay); }
public static void QDrawShadeLine(QPainter p, QPoint p1, QPoint p2, QPalette pal, bool sunken, int lineWidth, int midLineWidth) { staticInterceptor.Invoke("qDrawShadeLine####$$$", "qDrawShadeLine(QPainter*, const QPoint&, const QPoint&, const QPalette&, bool, int, int)", typeof(void), typeof(QPainter), p, typeof(QPoint), p1, typeof(QPoint), p2, typeof(QPalette), pal, typeof(bool), sunken, typeof(int), lineWidth, typeof(int), midLineWidth); }
public QRect AvailableGeometry(QPoint point) { return((QRect)interceptor.Invoke("availableGeometry#", "availableGeometry(const QPoint&) const", typeof(QRect), typeof(QPoint), point)); }
public static QDBusArgument Read(QDBusArgument a, QPoint pt) { return (QDBusArgument) staticInterceptor.Invoke("operator>>##", "operator>>(const QDBusArgument&, QPoint&)", typeof(QDBusArgument), typeof(QDBusArgument), a, typeof(QPoint), pt); }
public int ScreenNumber(QPoint arg1) { return((int)interceptor.Invoke("screenNumber#", "screenNumber(const QPoint&) const", typeof(int), typeof(QPoint), arg1)); }
public void UpdatePositionDependentActions(QPoint pos) { interceptor.Invoke("updatePositionDependentActions#", "updatePositionDependentActions(const QPoint&)", typeof(void), typeof(QPoint), pos); }
public QRect ScreenGeometry(QPoint point) { return((QRect)interceptor.Invoke("screenGeometry#", "screenGeometry(const QPoint&) const", typeof(QRect), typeof(QPoint), point)); }
protected QPixmap SourcePixmap(Qt.CoordinateSystem system, QPoint offset) { return (QPixmap) interceptor.Invoke("sourcePixmap$#", "sourcePixmap(Qt::CoordinateSystem, QPoint*) const", typeof(QPixmap), typeof(Qt.CoordinateSystem), system, typeof(QPoint), offset); }
public QTreeWidgetItem ItemAt(QPoint p) { return((QTreeWidgetItem)interceptor.Invoke("itemAt#", "itemAt(const QPoint&) const", typeof(QTreeWidgetItem), typeof(QPoint), p)); }
public void ActionSimContactsMenu(QPoint point) { menuSimActions[2].Enabled = false; menuSimActions[1].Enabled = false; if ((mainwindow_Ui.LstSimContacts.SelectedItems().Count > 0) && (mainwindow_Ui.LstFileContacts.Enabled)) { menuSimActions[2].Enabled = true; } if (mainwindow_Ui.LstSimContacts.SelectedItems().Count > 0) { menuSimActions[1].Enabled = true; } menuSimItem.Popup(mainwindow_Ui.LstSimContacts.MapToGlobal(point)); }
public QDropEvent(QPoint pos, uint actions, QMimeData data, uint buttons, uint modifiers) : this((Type)null) { CreateProxy(); interceptor.Invoke("QDropEvent#$#$$", "QDropEvent(const QPoint&, Qt::DropActions, const QMimeData*, Qt::MouseButtons, Qt::KeyboardModifiers)", typeof(void), typeof(QPoint), pos, typeof(uint), actions, typeof(QMimeData), data, typeof(uint), buttons, typeof(uint), modifiers); }
public static QMouseEvent CreateExtendedMouseEvent(QEvent.TypeOf type, QPointF pos, QPoint globalPos, Qt.MouseButton button, uint buttons, uint modifiers) { return (QMouseEvent) staticInterceptor.Invoke("createExtendedMouseEvent$##$$$", "createExtendedMouseEvent(QEvent::Type, const QPointF&, const QPoint&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers)", typeof(QMouseEvent), typeof(QEvent.TypeOf), type, typeof(QPointF), pos, typeof(QPoint), globalPos, typeof(Qt.MouseButton), button, typeof(uint), buttons, typeof(uint), modifiers); }
public QPointF(QPoint p) : this((Type)null) { CreateProxy(); interceptor.Invoke("QPointF#", "QPointF(const QPoint&)", typeof(void), typeof(QPoint), p); }
public QMenu CreateStandardContextMenu(QPoint position) { return((QMenu)interceptor.Invoke("createStandardContextMenu#", "createStandardContextMenu(const QPoint&)", typeof(QMenu), typeof(QPoint), position)); }
public abstract QStyle.SubControl HitTestComplexControl(QStyle.ComplexControl cc, QStyleOptionComplex opt, QPoint pt, QWidget widget);
public string AnchorAt(QPoint pos) { return((string)interceptor.Invoke("anchorAt#", "anchorAt(const QPoint&) const", typeof(string), typeof(QPoint), pos)); }
public int CursorPositionAt(QPoint pos) { return((int)interceptor.Invoke("cursorPositionAt#", "cursorPositionAt(const QPoint&)", typeof(int), typeof(QPoint), pos)); }
public static QWidget TopLevelAt(QPoint p) { return((QWidget)staticInterceptor.Invoke("topLevelAt#", "topLevelAt(const QPoint&)", typeof(QWidget), typeof(QPoint), p)); }
/// <remarks> /// Get the rating that would be selected if the user clicked position pos /// within rect if the rating has been drawn with paintRating() using the same /// rect and align values. /// \return The new rating or -1 if pos is outside of the rating area. /// </remarks> <short> Get the rating that would be selected if the user clicked position pos within rect if the rating has been drawn with paintRating() using the same rect and align values.</short> public static int GetRatingFromPosition(QRect rect, uint align, Qt.LayoutDirection direction, QPoint pos) { return (int) staticInterceptor.Invoke("getRatingFromPosition#$$#", "getRatingFromPosition(const QRect&, Qt::Alignment, Qt::LayoutDirection, const QPoint&)", typeof(int), typeof(QRect), rect, typeof(uint), align, typeof(Qt.LayoutDirection), direction, typeof(QPoint), pos); }
public static QPoint VisualPos(Qt.LayoutDirection direction, QRect boundingRect, QPoint logicalPos) { return((QPoint)staticInterceptor.Invoke("visualPos$##", "visualPos(Qt::LayoutDirection, const QRect&, const QPoint&)", typeof(QPoint), typeof(Qt.LayoutDirection), direction, typeof(QRect), boundingRect, typeof(QPoint), logicalPos)); }
public void SetP2(QPoint p2) { interceptor.Invoke("setP2#", "setP2(const QPoint&)", typeof(void), typeof(QPoint), p2); }
/// <remarks> /// Calculate the rating value from mouse position pos. /// \return The rating corresponding to pos or -1 if pos is /// outside of the configured rect. /// </remarks> <short> Calculate the rating value from mouse position pos.</short> public int RatingFromPosition(QRect rect, QPoint pos) { return (int) interceptor.Invoke("ratingFromPosition##", "ratingFromPosition(const QRect&, const QPoint&) const", typeof(int), typeof(QRect), rect, typeof(QPoint), pos); }
public QPoint MapToParent(QPoint arg1) { return (QPoint) interceptor.Invoke("mapToParent#", "mapToParent(const QPoint&) const", typeof(QPoint), typeof(QPoint), arg1); }
public void SetScreenPos(QPoint pos) { interceptor.Invoke("setScreenPos#", "setScreenPos(const QPoint&)", typeof(void), typeof(QPoint), pos); }
public void Render(IQPaintDevice target, QPoint targetOffset) { interceptor.Invoke("render##", "render(QPaintDevice*, const QPoint&)", typeof(void), typeof(IQPaintDevice), target, typeof(QPoint), targetOffset); }
public QTestMouseEvent(QTest.MouseAction action, Qt.MouseButton button, uint modifiers, QPoint position, int delay) : this((Type) null) { CreateProxy(); interceptor.Invoke("QTestMouseEvent$$$#$", "QTestMouseEvent(QTest::MouseAction, Qt::MouseButton, Qt::KeyboardModifiers, QPoint, int)", typeof(void), typeof(QTest.MouseAction), action, typeof(Qt.MouseButton), button, typeof(uint), modifiers, typeof(QPoint), position, typeof(int), delay); }
public void Render(QPainter painter, QPoint targetOffset, QRegion sourceRegion, uint renderFlags) { interceptor.Invoke("render###$", "render(QPainter*, const QPoint&, const QRegion&, QWidget::RenderFlags)", typeof(void), typeof(QPainter), painter, typeof(QPoint), targetOffset, typeof(QRegion), sourceRegion, typeof(uint), renderFlags); }
public static void QDrawShadeLine(QPainter p, QPoint p1, QPoint p2, QPalette pal, bool sunken) { staticInterceptor.Invoke("qDrawShadeLine####$", "qDrawShadeLine(QPainter*, const QPoint&, const QPoint&, const QPalette&, bool)", typeof(void), typeof(QPainter), p, typeof(QPoint), p1, typeof(QPoint), p2, typeof(QPalette), pal, typeof(bool), sunken); }
public void Render(QPainter painter, QPoint targetOffset, QRegion sourceRegion) { interceptor.Invoke("render###", "render(QPainter*, const QPoint&, const QRegion&)", typeof(void), typeof(QPainter), painter, typeof(QPoint), targetOffset, typeof(QRegion), sourceRegion); }
public static QDataStream Read(QDataStream arg1, QPoint arg2) { return (QDataStream) staticInterceptor.Invoke("operator>>##", "operator>>(QDataStream&, QPoint&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QPoint), arg2); }
public void Render(QPainter painter, QPoint targetOffset) { interceptor.Invoke("render##", "render(QPainter*, const QPoint&)", typeof(void), typeof(QPainter), painter, typeof(QPoint), targetOffset); }
public static QDataStream Write(QDataStream arg1, QPoint arg2) { return (QDataStream) staticInterceptor.Invoke("operator<<##", "operator<<(QDataStream&, const QPoint&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QPoint), arg2); }
/// <remarks> /// Starts a standard animation on a QGraphicsItem. /// @arg item the item to animate in some fashion /// @arg anim the type of animation to perform /// </remarks> <return> the id of the animation /// </return> /// <short> Starts a standard animation on a QGraphicsItem.</short> public int MoveItem(IQGraphicsItem item, Plasma.Animator.Movement movement, QPoint destination) { return (int) interceptor.Invoke("moveItem#$#", "moveItem(QGraphicsItem*, Plasma::Animator::Movement, const QPoint&)", typeof(int), typeof(IQGraphicsItem), item, typeof(Plasma.Animator.Movement), movement, typeof(QPoint), destination); }
public void Move(QPoint p) { interceptor.Invoke("move#", "move(const QPoint&)", typeof(void), typeof(QPoint), p); }
public int LineAt(QPoint pos) { return (int) interceptor.Invoke("lineAt#", "lineAt(const QPoint&) const", typeof(int), typeof(QPoint), pos); }
public QVector2D(QPoint point) : this((Type) null) { CreateProxy(); interceptor.Invoke("QVector2D#", "QVector2D(const QPoint&)", typeof(void), typeof(QPoint), point); }
protected QPixmap SourcePixmap(Qt.CoordinateSystem system, QPoint offset, QGraphicsEffect.PixmapPadMode mode) { return (QPixmap) interceptor.Invoke("sourcePixmap$#$", "sourcePixmap(Qt::CoordinateSystem, QPoint*, QGraphicsEffect::PixmapPadMode) const", typeof(QPixmap), typeof(Qt.CoordinateSystem), system, typeof(QPoint), offset, typeof(QGraphicsEffect.PixmapPadMode), mode); }