QUserPanel 0 0 682 559 User panel Drag && drop textLabel4 false Info Edit Draw 120 20 QSizePolicy::Expanding Qt::Horizontal textLabel3 false textLabel2 false textLabel5 false This is example of using drag & drop mechanism of Go4 in user gui.<br> Any object from browser can be draged in this widget.<br> Widget can react on two events:<br> 1. Drag enter action. In that case user can accept or <br> discard draged object in IsAcceptDrag() function.<br> 2. Drop action. In that case object can be linked to widget. <br> After that widget will be informed when object is updated or deleted. Qt::AlignVCenter true 20 40 QSizePolicy::Expanding Qt::Vertical Object print This example shows how Print() method of any object from browser can be called.<br> First select method which is used in obj->Print() to produce output <br> and then just drag & drop object to this label (not to output window). false PrintLbl false true stdout (printf) is used in obj->Print() true cout is used in obj->Print() Drawing 2 2 This is example of using QtRoot canvas inside user widget. <br> Just drag & drop items like histograms or graphs from browser to canvas to draw them. false 7 7 0 1 100 100 This is an example of Go4 User GUI. <br>This panel uses functionality, provided by QGo4Widget class. <br>Tab widgets shows drag and drop facility, easy print method and monitoring example false 789c534e494dcbcc4b554829cdcdad8c2fcf4c29c95030e0524611cd48cd4ccf28010a1797249664262b2467241641a592324b8aa363156c15aab914146aadb90067111b1f QGo4Widget.h QRootCanvas.h InfoBtn clicked() QUserPanel InfoBtn_clicked() EditBtn clicked() QUserPanel EditBtn_clicked() DrawBtn clicked() QUserPanel DrawBtn_clicked() coutButton clicked() stdoutButton toggle() stdoutButton clicked() coutButton toggle() fxDrawCanvas CanvasDropEvent(QDropEvent*,TPad*) QUserPanel CanvasDropEventSlot(QDropEvent*,TPad*)