The Qt Gradient Editor extracted by me from Qt Designer
- Copy this project to your main project.
- Add this INCLUDEPATH += "$$PWD\qtgradienteditor" to the .pro file.
bool ok;
QGradient gradient = QtGradientDialog::getGradient(&ok, QLinearGradient(), this);
if (!ok)
return;