paceholder / nodeeditor

Qt Node Editor. Dataflow programming framework
BSD 3-Clause "New" or "Revised" License
3.03k stars 813 forks source link

Add node widget embeddable option #374

Open zmoth opened 1 year ago

zmoth commented 1 year ago

close #373

examples/resizable_images

image

kundezui commented 1 year ago

关闭 #373

examples/resizable_images

图像

Hello, after I successfully installed QtNodes, none of the projects are fully operational in the build/bin folder! Where ". /resizable_images" runs, it cannot load or even compress the images, accompanied by the following error. Do you know what is the reason for this, please? image

zmoth commented 1 year ago

@kundezui Hi,I have no problem with Windows 10, ubuntu20.04 and Qt>6. Can you share your environment? If the main branch doesn't work either, you may need to open an issue.

kundezui commented 1 year ago

@zmoth My environment is Ubuntu 18.04 and Qt5.14.2. When I run . /resizable_images, the following window pops up when I use the right mouse button, and nothing happens when I click on either ImageLoaderModel or ImageShowModeld with the left mouse button. I have also run other projects inside the examples folder, such as calculatord, etc., and again there is no response. I don't know if I'm doing it wrong. You run . /resizable_imagesg project how does it work? image

nolankramer commented 1 month ago

To be clear - it looks like this PR adds a boolean toggle to whether a node's widget is displayed in the node or pops-out to a separate window? @zmoth

If so, it may make sense to add a pop-out indicator in the latter case - to let the user know that interactive controls will pop-out if the node is clicked.

zmoth commented 1 month ago

To be clear - it looks like this PR adds a boolean toggle to whether a node's widget is displayed in the node or pops-out to a separate window? @zmoth

If so, it may make sense to add a pop-out indicator in the latter case - to let the user know that interactive controls will pop-out if the node is clicked.

I'm all for it. Users can use DataFlowGraphicsScene: : nodeHovered themselves to achieve a custom prompt dialog box.

I took a quick look at the DataFlowGraphModel and it doesn't seem to have a setToolTip method to unify this behavior. So I think this tip is still in the future PR to do.