Exemple #1
0
 /// <remarks>
 ///       Does a natural comparing of the strings. A negative value is returned if \a a
 ///       is smaller than \a b. A positive value is returned if \a a is greater than \a b. 0
 ///       is returned if both values are equal.
 /// <param> name="a" first string to compare
 /// </param><param> name="b" second string to compare
 /// </param><param> name="caseSensitivity" whether to use case sensitive compare or not
 /// </param></remarks>        <short>         Does a natural comparing of the strings.</short>
 public static int NaturalCompare(string a, string b, Qt.CaseSensitivity caseSensitivity)
 {
     return (int) staticInterceptor.Invoke("naturalCompare$$$", "naturalCompare(const QString&, const QString&, Qt::CaseSensitivity)", typeof(int), typeof(string), a, typeof(string), b, typeof(Qt.CaseSensitivity), caseSensitivity);
 }
Exemple #2
0
 public virtual bool CollidesWithPath(QPainterPath path, Qt.ItemSelectionMode mode)
 {
     return (bool) interceptor.Invoke("collidesWithPath#$", "collidesWithPath(const QPainterPath&, Qt::ItemSelectionMode) const", typeof(bool), typeof(QPainterPath), path, typeof(Qt.ItemSelectionMode), mode);
 }
Exemple #3
0
 public void SetFocus(Qt.FocusReason focusReason)
 {
     interceptor.Invoke("setFocus$", "setFocus(Qt::FocusReason)", typeof(void), typeof(Qt.FocusReason), focusReason);
 }
Exemple #4
0
 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);
 }
Exemple #5
0
 protected new QVariant InputMethodQuery(Qt.InputMethodQuery query)
 {
     return (QVariant) interceptor.Invoke("inputMethodQuery$", "inputMethodQuery(Qt::InputMethodQuery) const", typeof(QVariant), typeof(Qt.InputMethodQuery), query);
 }
 public override QSizeF SizeHint(Qt.SizeHint which, QSizeF constraint)
 {
     return (QSizeF) interceptor.Invoke("sizeHint$#", "sizeHint(Qt::SizeHint, const QSizeF&) const", typeof(QSizeF), typeof(Qt.SizeHint), which, typeof(QSizeF), constraint);
 }
 public void AddCornerAnchors(IQGraphicsLayoutItem firstItem, Qt.Corner firstCorner, IQGraphicsLayoutItem secondItem, Qt.Corner secondCorner)
 {
     interceptor.Invoke("addCornerAnchors#$#$", "addCornerAnchors(QGraphicsLayoutItem*, Qt::Corner, QGraphicsLayoutItem*, Qt::Corner)", typeof(void), typeof(IQGraphicsLayoutItem), firstItem, typeof(Qt.Corner), firstCorner, typeof(IQGraphicsLayoutItem), secondItem, typeof(Qt.Corner), secondCorner);
 }
Exemple #8
0
 public List<IQGraphicsItem> Items(QPainterPath path, Qt.ItemSelectionMode mode, Qt.SortOrder order, QTransform deviceTransform)
 {
     return (List<IQGraphicsItem>) interceptor.Invoke("items#$$#", "items(const QPainterPath&, Qt::ItemSelectionMode, Qt::SortOrder, const QTransform&) const", typeof(List<IQGraphicsItem>), typeof(QPainterPath), path, typeof(Qt.ItemSelectionMode), mode, typeof(Qt.SortOrder), order, typeof(QTransform), deviceTransform);
 }
Exemple #9
0
 public List<IQGraphicsItem> Items(QRectF rect, Qt.ItemSelectionMode mode)
 {
     return (List<IQGraphicsItem>) interceptor.Invoke("items#$", "items(const QRectF&, Qt::ItemSelectionMode) const", typeof(List<IQGraphicsItem>), typeof(QRectF), rect, typeof(Qt.ItemSelectionMode), mode);
 }
Exemple #10
0
 public List<IQGraphicsItem> Items(Qt.SortOrder order)
 {
     return (List<IQGraphicsItem>) interceptor.Invoke("items$", "items(Qt::SortOrder) const", typeof(List<IQGraphicsItem>), typeof(Qt.SortOrder), order);
 }
Exemple #11
0
 public List<IQGraphicsItem> Items(QPointF pos, Qt.ItemSelectionMode mode, Qt.SortOrder order)
 {
     return (List<IQGraphicsItem>) interceptor.Invoke("items#$$", "items(const QPointF&, Qt::ItemSelectionMode, Qt::SortOrder) const", typeof(List<IQGraphicsItem>), typeof(QPointF), pos, typeof(Qt.ItemSelectionMode), mode, typeof(Qt.SortOrder), order);
 }
Exemple #12
0
 public new virtual QVariant InputMethodQuery(Qt.InputMethodQuery query)
 {
     return (QVariant) interceptor.Invoke("inputMethodQuery$", "inputMethodQuery(Qt::InputMethodQuery) const", typeof(QVariant), typeof(Qt.InputMethodQuery), query);
 }
Exemple #13
0
 protected virtual QSizeF SizeHint(Qt.SizeHint which)
 {
     return new QSizeF();
 }
Exemple #14
0
 /// <remarks>
 ///  Reimplemented from QGraphicsLayoutItem
 ///          </remarks>        <short>    Reimplemented from QGraphicsLayoutItem          </short>
 public virtual QSizeF SizeHint(Qt.SizeHint which, QSizeF constraint)
 {
     return new QSizeF();
 }
Exemple #15
0
 /// <remarks>
 ///  LTR or RTL
 ///      </remarks>        <short>    LTR or RTL      </short>
 public void SetLayoutDirection(Qt.LayoutDirection direction)
 {
     interceptor.Invoke("setLayoutDirection$", "setLayoutDirection(Qt::LayoutDirection)", typeof(void), typeof(Qt.LayoutDirection), direction);
 }
Exemple #16
0
 public List<IQGraphicsItem> Items(QPolygonF polygon, Qt.ItemSelectionMode mode)
 {
     return (List<IQGraphicsItem>) interceptor.Invoke("items#$", "items(const QPolygonF&, Qt::ItemSelectionMode) const", typeof(List<IQGraphicsItem>), typeof(QPolygonF), polygon, typeof(Qt.ItemSelectionMode), mode);
 }
Exemple #17
0
 /// <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);
 }
Exemple #18
0
 public List<IQGraphicsItem> Items(QPainterPath path, Qt.ItemSelectionMode mode)
 {
     return (List<IQGraphicsItem>) interceptor.Invoke("items#$", "items(const QPainterPath&, Qt::ItemSelectionMode) const", typeof(List<IQGraphicsItem>), typeof(QPainterPath), path, typeof(Qt.ItemSelectionMode), mode);
 }
 protected virtual QSizeF SizeHint(Qt.SizeHint which)
 {
     return (QSizeF) interceptor.Invoke("sizeHint$", "sizeHint(Qt::SizeHint) const", typeof(QSizeF), typeof(Qt.SizeHint), which);
 }
Exemple #20
0
 public List<IQGraphicsItem> Items(double x, double y, double w, double h, Qt.ItemSelectionMode mode, Qt.SortOrder order)
 {
     return (List<IQGraphicsItem>) interceptor.Invoke("items$$$$$$", "items(qreal, qreal, qreal, qreal, Qt::ItemSelectionMode, Qt::SortOrder) const", typeof(List<IQGraphicsItem>), typeof(double), x, typeof(double), y, typeof(double), w, typeof(double), h, typeof(Qt.ItemSelectionMode), mode, typeof(Qt.SortOrder), order);
 }
 public QGraphicsAnchor Anchor(IQGraphicsLayoutItem firstItem, Qt.AnchorPoint firstEdge, IQGraphicsLayoutItem secondItem, Qt.AnchorPoint secondEdge)
 {
     return (QGraphicsAnchor) interceptor.Invoke("anchor#$#$", "anchor(QGraphicsLayoutItem*, Qt::AnchorPoint, QGraphicsLayoutItem*, Qt::AnchorPoint)", typeof(QGraphicsAnchor), typeof(IQGraphicsLayoutItem), firstItem, typeof(Qt.AnchorPoint), firstEdge, typeof(IQGraphicsLayoutItem), secondItem, typeof(Qt.AnchorPoint), secondEdge);
 }
Exemple #22
0
 public void Render(QPainter painter, QRectF target, QRectF source, Qt.AspectRatioMode aspectRatioMode)
 {
     interceptor.Invoke("render###$", "render(QPainter*, const QRectF&, const QRectF&, Qt::AspectRatioMode)", typeof(void), typeof(QPainter), painter, typeof(QRectF), target, typeof(QRectF), source, typeof(Qt.AspectRatioMode), aspectRatioMode);
 }
Exemple #23
0
Fichier : Qt.cs Projet : KDE/qyoto
 public static string ConvertFromPlainText(string plain, Qt.WhiteSpaceMode mode)
 {
     return (string) staticInterceptor.Invoke("convertFromPlainText$$", "convertFromPlainText(const QString&, Qt::WhiteSpaceMode)", typeof(string), typeof(string), plain, typeof(Qt.WhiteSpaceMode), mode);
 }
Exemple #24
0
 public void SetFocusItem(IQGraphicsItem item, Qt.FocusReason focusReason)
 {
     interceptor.Invoke("setFocusItem#$", "setFocusItem(QGraphicsItem*, Qt::FocusReason)", typeof(void), typeof(IQGraphicsItem), item, typeof(Qt.FocusReason), focusReason);
 }
Exemple #25
0
 public virtual bool CollidesWithItem(IQGraphicsItem other, Qt.ItemSelectionMode mode)
 {
     return (bool) interceptor.Invoke("collidesWithItem#$", "collidesWithItem(const QGraphicsItem*, Qt::ItemSelectionMode) const", typeof(bool), typeof(IQGraphicsItem), other, typeof(Qt.ItemSelectionMode), mode);
 }
Exemple #26
0
 public void SetSelectionArea(QPainterPath path, Qt.ItemSelectionMode mode)
 {
     interceptor.Invoke("setSelectionArea#$", "setSelectionArea(const QPainterPath&, Qt::ItemSelectionMode)", typeof(void), typeof(QPainterPath), path, typeof(Qt.ItemSelectionMode), mode);
 }
Exemple #27
0
 public List<IQGraphicsItem> CollidingItems(Qt.ItemSelectionMode mode)
 {
     return (List<IQGraphicsItem>) interceptor.Invoke("collidingItems$", "collidingItems(Qt::ItemSelectionMode) const", typeof(List<IQGraphicsItem>), typeof(Qt.ItemSelectionMode), mode);
 }
Exemple #28
0
 public void SetSelectionArea(QPainterPath path, Qt.ItemSelectionMode mode, QTransform deviceTransform)
 {
     interceptor.Invoke("setSelectionArea#$#", "setSelectionArea(const QPainterPath&, Qt::ItemSelectionMode, const QTransform&)", typeof(void), typeof(QPainterPath), path, typeof(Qt.ItemSelectionMode), mode, typeof(QTransform), deviceTransform);
 }
Exemple #29
0
 public new QVariant InputMethodQuery(Qt.InputMethodQuery property)
 {
     return (QVariant) interceptor.Invoke("inputMethodQuery$", "inputMethodQuery(Qt::InputMethodQuery) const", typeof(QVariant), typeof(Qt.InputMethodQuery), property);
 }
Exemple #30
0
 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);
 }