Important: Please read the Qt Code of Conduct -

Trying to make a Gradient Picker!

  • Trying to recreate this in Qt
    alt text

    So this is as far as i got!
    alt text

    First we have the QLabel -> L_GradientDisplay underneath we have a QHBoxLayout -> HB_GradientPoints with **QPushButton -> B_TestGradientPoint ** and underneath that we QPushButton -> B_ColorPicker and QPushButton -> B_ColorPointDelete

    im stuck at this point where the QPoints come in! i need to be able to add points, move the points in X direction and delete them but how! Im so confused as to how todo this! how to be able to move that button, adding new by left mouse click on the L_GradientDisplay

Log in to reply