[Kde-bindings] [Bug 189495] New: [Qyoto] set gradient stops don't work

yan mongaulois at gmail.com
Sun Apr 12 22:28:56 UTC 2009


https://bugs.kde.org/show_bug.cgi?id=189495

           Summary: [Qyoto] set gradient stops don't work
           Product: bindings
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kde-bindings at kde.org
        ReportedBy: mongaulois at gmail.com


Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

i try to use QGradient::SetStops to initialize a gradient.
Unfortunatly the QPair type are inversed. When you look qyoto QGradient source,
you can find this invertion :

public void SetStops(List<QPair<QColor, double>> stops) {
            interceptor.Invoke("setStops?", "setStops(const
QVector<QPair<qreal,QColor> >&)", typeof(void), typeof(List<QPair<QColor,
double>>), stops);
        }

        public List<QPair<QColor, double>> Stops() {
            return (List<QPair<QColor, double>>) interceptor.Invoke("stops",
"stops() const", typeof(List<QPair<QColor, double>>));
        }

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kde-bindings mailing list