public CannonField(QWidget parent) : base(parent) { currentAngle = 45; Palette = new QPalette(new QColor(250, 250, 200)); AutoFillBackground = true; }
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; Palette = new QPalette(new QColor(250, 250, 200)); AutoFillBackground = true; }
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 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 static void QDrawShadeLine(QPainter p, int x1, int y1, int x2, int y2, QPalette pal, bool sunken, int lineWidth) { staticInterceptor.Invoke("qDrawShadeLine#$$$$#$$", "qDrawShadeLine(QPainter*, int, int, int, int, const QPalette&, bool, int)", typeof(void), typeof(QPainter), p, typeof(int), x1, typeof(int), y1, typeof(int), x2, typeof(int), y2, typeof(QPalette), pal, typeof(bool), sunken, typeof(int), lineWidth); }
public static void SetPalette(QPalette arg1, string className) { staticInterceptor.Invoke("setPalette#$", "setPalette(const QPalette&, const char*)", typeof(void), typeof(QPalette), arg1, typeof(string), className); }
protected virtual void PaletteChange(QPalette arg1) { interceptor.Invoke("paletteChange#", "paletteChange(const QPalette&)", typeof(void), typeof(QPalette), arg1); }
public static QDataStream Read(QDataStream ds, QPalette p) { return (QDataStream) staticInterceptor.Invoke("operator>>##", "operator>>(QDataStream&, QPalette&)", typeof(QDataStream), typeof(QDataStream), ds, typeof(QPalette), p); }
public static void QDrawWinPanel(QPainter p, int x, int y, int w, int h, QPalette pal, bool sunken, QBrush fill) { staticInterceptor.Invoke("qDrawWinPanel#$$$$#$#", "qDrawWinPanel(QPainter*, int, int, int, int, const QPalette&, bool, const QBrush*)", typeof(void), typeof(QPainter), p, typeof(int), x, typeof(int), y, typeof(int), w, typeof(int), h, typeof(QPalette), pal, typeof(bool), sunken, typeof(QBrush), fill); }
public override void Polish(QPalette pal) { interceptor.Invoke("polish#", "polish(QPalette&)", typeof(void), typeof(QPalette), pal); }
public QPalette(QPalette palette) : this((Type)null) { CreateProxy(); interceptor.Invoke("QPalette#", "QPalette(const QPalette&)", typeof(void), typeof(QPalette), palette); }
public QPalette Resolve(QPalette arg1) { return((QPalette)interceptor.Invoke("resolve#", "resolve(const QPalette&) const", typeof(QPalette), typeof(QPalette), arg1)); }
public bool IsCopyOf(QPalette p) { return((bool)interceptor.Invoke("isCopyOf#", "isCopyOf(const QPalette&) const", typeof(bool), typeof(QPalette), p)); }
public static void QDrawShadeRect(QPainter p, QRect r, QPalette pal, bool sunken, int lineWidth, int midLineWidth, QBrush fill) { staticInterceptor.Invoke("qDrawShadeRect###$$$#", "qDrawShadeRect(QPainter*, const QRect&, const QPalette&, bool, int, int, const QBrush*)", typeof(void), typeof(QPainter), p, typeof(QRect), r, typeof(QPalette), pal, typeof(bool), sunken, typeof(int), lineWidth, typeof(int), midLineWidth, typeof(QBrush), fill); }
public bool IsEqual(QPalette.ColorGroup cr1, QPalette.ColorGroup cr2) { return (bool) interceptor.Invoke("isEqual$$", "isEqual(QPalette::ColorGroup, QPalette::ColorGroup) const", typeof(bool), typeof(QPalette.ColorGroup), cr1, typeof(QPalette.ColorGroup), cr2); }
public static void QDrawWinButton(QPainter p, int x, int y, int w, int h, QPalette pal, bool sunken) { staticInterceptor.Invoke("qDrawWinButton#$$$$#$", "qDrawWinButton(QPainter*, int, int, int, int, const QPalette&, bool)", typeof(void), typeof(QPainter), p, typeof(int), x, typeof(int), y, typeof(int), w, typeof(int), h, typeof(QPalette), pal, typeof(bool), sunken); }
public QPalette Resolve(QPalette arg1) { return (QPalette) interceptor.Invoke("resolve#", "resolve(const QPalette&) const", typeof(QPalette), typeof(QPalette), arg1); }
public static void QDrawWinPanel(QPainter p, QRect r, QPalette pal, bool sunken) { staticInterceptor.Invoke("qDrawWinPanel###$", "qDrawWinPanel(QPainter*, const QRect&, const QPalette&, bool)", typeof(void), typeof(QPainter), p, typeof(QRect), r, typeof(QPalette), pal, typeof(bool), sunken); }
public void SetBrush(QPalette.ColorGroup cg, QPalette.ColorRole cr, QBrush brush) { interceptor.Invoke("setBrush$$#", "setBrush(QPalette::ColorGroup, QPalette::ColorRole, const QBrush&)", typeof(void), typeof(QPalette.ColorGroup), cg, typeof(QPalette.ColorRole), cr, typeof(QBrush), brush); }
public void DrawItemText(QRect r, int flags, QPalette pal, bool enabled, string text) { interceptor.Invoke("drawItemText#$#$$", "drawItemText(const QRect&, int, const QPalette&, bool, const QString&)", typeof(void), typeof(QRect), r, typeof(int), flags, typeof(QPalette), pal, typeof(bool), enabled, typeof(string), text); }
public void SetColor(QPalette.ColorRole cr, QColor color) { interceptor.Invoke("setColor$#", "setColor(QPalette::ColorRole, const QColor&)", typeof(void), typeof(QPalette.ColorRole), cr, typeof(QColor), color); }
public void SetBackgroundRole(QPalette.ColorRole arg1) { interceptor.Invoke("setBackgroundRole$", "setBackgroundRole(QPalette::ColorRole)", typeof(void), typeof(QPalette.ColorRole), arg1); }
public void SetColorGroup(QPalette.ColorGroup cr, QBrush windowText, QBrush button, QBrush light, QBrush dark, QBrush mid, QBrush text, QBrush bright_text, QBrush arg9, QBrush window) { interceptor.Invoke("setColorGroup$#########", "setColorGroup(QPalette::ColorGroup, const QBrush&, const QBrush&, const QBrush&, const QBrush&, const QBrush&, const QBrush&, const QBrush&, const QBrush&, const QBrush&)", typeof(void), typeof(QPalette.ColorGroup), cr, typeof(QBrush), windowText, typeof(QBrush), button, typeof(QBrush), light, typeof(QBrush), dark, typeof(QBrush), mid, typeof(QBrush), text, typeof(QBrush), bright_text, typeof(QBrush), arg9, typeof(QBrush), window); }
public static void SetPalette(QPalette arg1) { staticInterceptor.Invoke("setPalette#", "setPalette(const QPalette&)", typeof(void), typeof(QPalette), arg1); }
public void SetCurrentColorGroup(QPalette.ColorGroup cg) { interceptor.Invoke("setCurrentColorGroup$", "setCurrentColorGroup(QPalette::ColorGroup)", typeof(void), typeof(QPalette.ColorGroup), cg); }
public static void QDrawShadeLine(QPainter p, int x1, int y1, int x2, int y2, QPalette pal) { staticInterceptor.Invoke("qDrawShadeLine#$$$$#", "qDrawShadeLine(QPainter*, int, int, int, int, const QPalette&)", typeof(void), typeof(QPainter), p, typeof(int), x1, typeof(int), y1, typeof(int), x2, typeof(int), y2, typeof(QPalette), pal); }
public QPalette(QPalette palette) : this((Type) null) { CreateProxy(); interceptor.Invoke("QPalette#", "QPalette(const QPalette&)", typeof(void), typeof(QPalette), palette); }
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 static void QDrawShadeRect(QPainter p, int x, int y, int w, int h, QPalette pal, bool sunken, int lineWidth) { staticInterceptor.Invoke("qDrawShadeRect#$$$$#$$", "qDrawShadeRect(QPainter*, int, int, int, int, const QPalette&, bool, int)", typeof(void), typeof(QPainter), p, typeof(int), x, typeof(int), y, typeof(int), w, typeof(int), h, typeof(QPalette), pal, typeof(bool), sunken, typeof(int), lineWidth); }
public static void QDrawShadeRect(QPainter p, QRect r, QPalette pal, bool sunken, int lineWidth) { staticInterceptor.Invoke("qDrawShadeRect###$$", "qDrawShadeRect(QPainter*, const QRect&, const QPalette&, bool, int)", typeof(void), typeof(QPainter), p, typeof(QRect), r, typeof(QPalette), pal, typeof(bool), sunken, typeof(int), lineWidth); }
protected QPixmap Selected(QPixmap pixmap, QPalette palette, bool enabled) { return((QPixmap)interceptor.Invoke("selected##$", "selected(const QPixmap&, const QPalette&, bool) const", typeof(QPixmap), typeof(QPixmap), pixmap, typeof(QPalette), palette, typeof(bool), enabled)); }
public static void QDrawWinButton(QPainter p, QRect r, QPalette pal, bool sunken, QBrush fill) { staticInterceptor.Invoke("qDrawWinButton###$#", "qDrawWinButton(QPainter*, const QRect&, const QPalette&, bool, const QBrush*)", typeof(void), typeof(QPainter), p, typeof(QRect), r, typeof(QPalette), pal, typeof(bool), sunken, typeof(QBrush), fill); }
public virtual void Polish(QPalette arg1) { interceptor.Invoke("polish#", "polish(QPalette&)", typeof(void), typeof(QPalette), arg1); }
public static void QDrawWinPanel(QPainter p, int x, int y, int w, int h, QPalette pal) { staticInterceptor.Invoke("qDrawWinPanel#$$$$#", "qDrawWinPanel(QPainter*, int, int, int, int, const QPalette&)", typeof(void), typeof(QPainter), p, typeof(int), x, typeof(int), y, typeof(int), w, typeof(int), h, typeof(QPalette), pal); }
public virtual void DrawItemText(QPainter painter, QRect rect, int flags, QPalette pal, bool enabled, string text) { interceptor.Invoke("drawItemText##$#$$", "drawItemText(QPainter*, const QRect&, int, const QPalette&, bool, const QString&) const", typeof(void), typeof(QPainter), painter, typeof(QRect), rect, typeof(int), flags, typeof(QPalette), pal, typeof(bool), enabled, typeof(string), text); }
public static void QDrawWinPanel(QPainter p, QRect r, QPalette pal) { staticInterceptor.Invoke("qDrawWinPanel###", "qDrawWinPanel(QPainter*, const QRect&, const QPalette&)", typeof(void), typeof(QPainter), p, typeof(QRect), r, typeof(QPalette), pal); }
public void SetPalette(QPalette palette) { interceptor.Invoke("setPalette#", "setPalette(const QPalette&)", typeof(void), typeof(QPalette), palette); }
public static QDataStream Write(QDataStream ds, QPalette p) { return (QDataStream) staticInterceptor.Invoke("operator<<##", "operator<<(QDataStream&, const QPalette&)", typeof(QDataStream), typeof(QDataStream), ds, typeof(QPalette), p); }
public override void DrawItemText(QPainter painter, QRect rect, int flags, QPalette pal, bool enabled, string text, QPalette.ColorRole textRole) { interceptor.Invoke("drawItemText##$#$$$", "drawItemText(QPainter*, const QRect&, int, const QPalette&, bool, const QString&, QPalette::ColorRole) const", typeof(void), typeof(QPainter), painter, typeof(QRect), rect, typeof(int), flags, typeof(QPalette), pal, typeof(bool), enabled, typeof(string), text, typeof(QPalette.ColorRole), textRole); }