QPanel or Picture AddControlToMove and Drop it to a Dropzone . looking for a revert option

Login or register to post comments
10 replies [Last post]
Offline
Joined: 02/21/2010

Hello,

if i drop a QPanel or Picture to a Drop Zone.

So the object will be Moveable like

$this->pnlPanel->AddControlToMove($this->pnlPanel);

i looking for the option that when i move the QPanel to a Drop Zone

that the Panel will move to the Drop Zone but will not leave

his original position so like a Shopping Cart.

thanx

Offline
Joined: 03/31/2008

Since this involves some pretty complicated javascript, we may not be able to fix it for version 1.x. Version 2.0 is switching to jQuery however, so it may already work in 2.0. Please give it a try and let us know. :)

Offline
Joined: 02/21/2010

where can i get version 2.0 ?

LaCeja's picture
Offline
Joined: 11/04/2009

If I'm not mistaken, you can just create and SVN project (like with Tortoise) and import everything from QCubed. You'll get all versions with that, including 2.0.

alex94040's picture
Offline
Joined: 11/06/2008

Note that version 2.0 is currently in pre-alpha. There has not been a public release yet. It's unstable. No official support is provided. I strongly advocate that you do NOT build your business on top of it yet. It's not yet ready.

We're working really hard to make it ready soon, though.

Offline
Joined: 01/09/2008

Drag and drop is fully supported in V2.0
However, the use case as described in the original post is not there out of the box.

Offline
Joined: 02/21/2010

hi,

i will have a try.

what the big different in v.2.0 ? using Jquery for AJAX ?

like i can see in v1.1.1 Jquery is used as well.

regards

Offline
Joined: 03/31/2008

The big change for v2.0 is that all JS is being re-written to use jQuery instead of any old hand-coded JS from QCodo.

v1.1 includes jQuery, but makes no use of it in core, rather just providing it as a resource for plugins to make use of.

Offline
Joined: 02/21/2010

can i use some options with Draggable from JQuery like Opacity or Revert ?

Offline
Joined: 03/31/2008

Nothing should stop you from fully utilizing features of jQuery, and/or any other javascript framework...? Are there specific problems you are experiencing?

Offline
Joined: 02/21/2010

i know i can do that . if i used jquery style.

i was just wondering if i can used it directly

like this

$this->pnlPanel->AddControlToMove($this->pnlPanel);