pub unsafe fn q_make_pair_double_q_color(
    x: *const c_double,
    y: impl CastInto<Ref<QColor>>
) -> CppBox<QPairOfDoubleQColor>
Expand description

Returns a QPair<T1, T2> that contains value1 and value2. Example:

Calls C++ function: QPair<double, QColor> qMakePair(const double& x, const QColor& y).

C++ documentation:

Returns a QPair<T1, T2> that contains value1 and value2. Example:


  QList<QPair<int, double> > list;
  list.append(qMakePair(66, 3.14159));

This is equivalent to QPair<T1, T2>(value1, value2), but usually requires less typing.