Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Trying to make a Gradient Picker!
Forum Updated to NodeBB v4.3 + New Features

Trying to make a Gradient Picker!

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 134 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kris Revi
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved